C# Класс Pchp.CodeAnalysis.TypeRefFactory

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Create ( ConstantValue c ) : ITypeRef
CreateMask ( TypeRefContext ctx, ITypeRef tref ) : TypeRefMask
CreateMask ( TypeRefContext ctx, TypeSymbol t ) : TypeRefMask
CreateTypeRef ( TypeRefContext ctx, TypeSymbol t ) : ITypeRef

Converts CLR type symbol to TypeRef used by flow analysis.

CreateTypeRefContext ( SourceTypeSymbol containingType ) : TypeRefContext

Creates type context for a method within given type, determines naming, type context.

Описание методов

Create() публичный статический Метод

public static Create ( ConstantValue c ) : ITypeRef
c ConstantValue
Результат ITypeRef

CreateMask() публичный статический Метод

public static CreateMask ( TypeRefContext ctx, ITypeRef tref ) : TypeRefMask
ctx Pchp.CodeAnalysis.FlowAnalysis.TypeRefContext
tref ITypeRef
Результат TypeRefMask

CreateMask() публичный статический Метод

public static CreateMask ( TypeRefContext ctx, TypeSymbol t ) : TypeRefMask
ctx Pchp.CodeAnalysis.FlowAnalysis.TypeRefContext
t TypeSymbol
Результат TypeRefMask

CreateTypeRef() публичный статический Метод

Converts CLR type symbol to TypeRef used by flow analysis.
public static CreateTypeRef ( TypeRefContext ctx, TypeSymbol t ) : ITypeRef
ctx Pchp.CodeAnalysis.FlowAnalysis.TypeRefContext
t TypeSymbol
Результат ITypeRef

CreateTypeRefContext() публичный статический Метод

Creates type context for a method within given type, determines naming, type context.
public static CreateTypeRefContext ( SourceTypeSymbol containingType ) : TypeRefContext
containingType Pchp.CodeAnalysis.Symbols.SourceTypeSymbol
Результат Pchp.CodeAnalysis.FlowAnalysis.TypeRefContext