C# Класс Pchp.CodeAnalysis.Symbols.AbstractTypeMap

Abstract base class for mutable and immutable type maps.
Показать файл Открыть проект Примеры использования класса

Защищенные методы

Метод Описание
SubstituteDynamicType ( ) : TypeSymbol
SubstituteTypeParameter ( TypeParameterSymbol typeParameter ) : TypeWithModifiers

Приватные методы

Метод Описание
IsPossiblyByRefTypeParameter ( TypeSymbol type ) : bool
SubstituteArrayType ( ArrayTypeSymbol t ) : ArrayTypeSymbol
SubstituteCustomModifiers ( ImmutableArray customModifiers ) : ImmutableArray
SubstituteCustomModifiers ( TypeSymbol type, ImmutableArray customModifiers ) : ImmutableArray
SubstituteMemberType ( NamedTypeSymbol previous ) : NamedTypeSymbol

Substitute for a type declaration. May use alpha renaming if the container is substituted.

SubstituteNamedType ( NamedTypeSymbol previous ) : NamedTypeSymbol

SubstType, but for NamedTypeSymbols only. This is used for concrete types, so no alpha substitution appears in the result.

SubstituteNamedTypes ( ImmutableArray original ) : ImmutableArray

Like SubstTypes, but for NamedTypeSymbols.

SubstituteType ( TypeSymbol previous ) : TypeWithModifiers

Perform the substitution on the given type. Each occurrence of the type parameter is replaced with its corresponding type argument from the map.

SubstituteTypeParameters ( ImmutableArray original ) : ImmutableArray
SubstituteTypes ( ImmutableArray original ) : ImmutableArray
SubstituteTypesDistinctWithoutModifiers ( ImmutableArray original, ArrayBuilder result ) : void

Substitute types, and return the results without duplicates, preserving the original order.

SubstituteTypesWithoutModifiers ( ImmutableArray original ) : ImmutableArray

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

SubstituteDynamicType() защищенный Метод

protected SubstituteDynamicType ( ) : TypeSymbol
Результат TypeSymbol

SubstituteTypeParameter() защищенный Метод

protected SubstituteTypeParameter ( TypeParameterSymbol typeParameter ) : TypeWithModifiers
typeParameter TypeParameterSymbol
Результат TypeWithModifiers