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

An ErrorSymbol is used when the compiler cannot determine a symbol object to return because of an error. For example, if a field is declared "Foo x;", and the type "Foo" cannot be found, an ErrorSymbol is returned when asking the field "x" what it's type is.
Наследование: NamedTypeSymbol, IErrorTypeSymbol
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
GetDeclaredInterfaces ImmutableArray
GetFieldsToEmit IEnumerable
GetInterfacesToEmit ImmutableArray
Substitute TypeWithModifiers

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

Метод Описание
GetMembers ( ) : ImmutableArray
GetMembers ( string name ) : ImmutableArray
GetTypeMembers ( ) : ImmutableArray
GetTypeMembers ( string name ) : ImmutableArray

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

Метод Описание
GetDeclaredInterfaces ( ConsList basesBeingResolved ) : ImmutableArray
GetFieldsToEmit ( ) : IEnumerable
GetInterfacesToEmit ( ) : ImmutableArray
Substitute ( AbstractTypeMap typeMap ) : TypeWithModifiers

Called by AbstractTypeMap.SubstituteType to perform substitution on types with TypeKind ErrorType. The general pattern is to use the type map to perform substitution on the wrapped type, if any, and then construct a new error type symbol from the result (if there was a change).

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

GetMembers() публичный Метод

public GetMembers ( ) : ImmutableArray
Результат ImmutableArray

GetMembers() публичный Метод

public GetMembers ( string name ) : ImmutableArray
name string
Результат ImmutableArray

GetTypeMembers() публичный Метод

public GetTypeMembers ( ) : ImmutableArray
Результат ImmutableArray

GetTypeMembers() публичный Метод

public GetTypeMembers ( string name ) : ImmutableArray
name string
Результат ImmutableArray