7 types derived from ErrorTypeSymbol
Microsoft.CodeAnalysis.VisualBasic (7)
Symbols\InstanceErrorTypeSymbol.vb (1)
16Inherits ErrorTypeSymbol
Symbols\NoPiaAmbiguousCanonicalTypeSymbol.vb (1)
18Inherits ErrorTypeSymbol
Symbols\NoPiaIllegalGenericInstantiationSymbol.vb (1)
17Inherits ErrorTypeSymbol
Symbols\NoPiaMissingCanonicalTypeSymbol.vb (1)
18Inherits ErrorTypeSymbol ' TODO: Should probably inherit from MissingMetadataType.TopLevel, but review TypeOf checks for MissingMetadataType.
Symbols\PointerTypeSymbol.vb (1)
15Inherits ErrorTypeSymbol
Symbols\SubstitutedErrorType.vb (1)
11Inherits ErrorTypeSymbol
Symbols\UnsupportedMetadataTypeSymbol.vb (1)
15Inherits ErrorTypeSymbol
10 instantiations of ErrorTypeSymbol
Microsoft.CodeAnalysis.VisualBasic (10)
Symbols\ErrorTypeSymbol.vb (1)
20Friend Shared ReadOnly UnknownResultType As ErrorTypeSymbol = New ErrorTypeSymbol()
Symbols\Source\LambdaSymbol.vb (5)
21Friend Shared ReadOnly ReturnTypeIsBeingInferred As TypeSymbol = New ErrorTypeSymbol() 27Friend Shared ReadOnly ReturnTypeIsUnknown As TypeSymbol = New ErrorTypeSymbol() 34Friend Shared ReadOnly ReturnTypePendingDelegate As TypeSymbol = New ErrorTypeSymbol() 39Friend Shared ReadOnly ReturnTypeVoidReplacement As TypeSymbol = New ErrorTypeSymbol() 44Friend Shared ReadOnly ErrorRecoveryInferenceError As TypeSymbol = New ErrorTypeSymbol()
Symbols\Source\LocalSymbol.vb (1)
21Friend Shared ReadOnly UseBeforeDeclarationResultType As ErrorTypeSymbol = New ErrorTypeSymbol()
Symbols\Source\SourceMemberFieldSymbol.vb (1)
360Return New ErrorTypeSymbol()
Symbols\SubstitutedErrorType.vb (1)
214MyBase.New()
Symbols\UnboundGenericType.vb (1)
23Friend Shared ReadOnly UnboundTypeArgument As New ErrorTypeSymbol()
49 references to ErrorTypeSymbol
Microsoft.CodeAnalysis.VisualBasic (49)
Emit\AttributeDataAdapter.vb (1)
146Return ErrorTypeSymbol.UnknownResultType
Symbols\AssemblySymbol.vb (2)
294Friend Function CreateCycleInTypeForwarderErrorTypeSymbol(ByRef emittedName As MetadataTypeName) As ErrorTypeSymbol 299Friend Function CreateMultipleForwardingErrorTypeSymbol(ByRef emittedName As MetadataTypeName, forwardingModule As ModuleSymbol, destination1 As AssemblySymbol, destination2 As AssemblySymbol) As ErrorTypeSymbol
Symbols\Attributes\PEAttributeData.vb (1)
157ErrorTypeSymbol.UnknownResultType,
Symbols\ErrorMethodSymbol.vb (2)
12Public Shared ReadOnly UnknownMethod As ErrorMethodSymbol = New ErrorMethodSymbol(ErrorTypeSymbol.UnknownResultType, ErrorTypeSymbol.UnknownResultType, String.Empty)
Symbols\ErrorTypeSymbol.vb (1)
20Friend Shared ReadOnly UnknownResultType As ErrorTypeSymbol = New ErrorTypeSymbol()
Symbols\Metadata\PE\MetadataDecoder.vb (2)
434ElseIf Not TypeOf typeSymbol Is ErrorTypeSymbol Then 447Debug.Assert(TypeOf typeSymbol Is PENamedTypeSymbol OrElse TypeOf typeSymbol Is ErrorTypeSymbol)
Symbols\Metadata\PE\PENamedTypeSymbol.vb (4)
66Private _lazyCoClassType As TypeSymbol = ErrorTypeSymbol.UnknownResultType 301Private Shared Function CyclicInheritanceError(diag As DiagnosticInfo) As ErrorTypeSymbol 1059If _lazyCoClassType Is ErrorTypeSymbol.UnknownResultType Then 1062DirectCast(ErrorTypeSymbol.UnknownResultType, TypeSymbol))
Symbols\MissingMetadataTypeSymbol.vb (1)
68Return If(TryCast(ContainingType, ErrorTypeSymbol)?.ErrorInfo,
Symbols\NamedTypeSymbol.vb (7)
719Private _lazyDeclaredBase As NamedTypeSymbol = ErrorTypeSymbol.UnknownResultType 748If _lazyDeclaredBase Is ErrorTypeSymbol.UnknownResultType Then 750AtomicStoreReferenceAndDiagnostics(_lazyDeclaredBase, MakeDeclaredBase(basesBeingResolved, diagnostics), diagnostics, ErrorTypeSymbol.UnknownResultType) 857Private _lazyBaseType As NamedTypeSymbol = ErrorTypeSymbol.UnknownResultType 866If Me._lazyBaseType Is ErrorTypeSymbol.UnknownResultType Then 876AtomicStoreReferenceAndDiagnostics(Me._lazyBaseType, acyclicBase, diagnostics, ErrorTypeSymbol.UnknownResultType) 915If base IsNot ErrorTypeSymbol.UnknownResultType Then
Symbols\NoPiaIllegalGenericInstantiationSymbol.vb (1)
49Dim underlyingInfo As DiagnosticInfo = DirectCast(_underlyingSymbol, ErrorTypeSymbol).ErrorInfo
Symbols\Retargeting\RetargetingNamedTypeSymbol.vb (4)
41Private _lazyCoClass As TypeSymbol = ErrorTypeSymbol.UnknownResultType 159If _lazyCoClass Is ErrorTypeSymbol.UnknownResultType Then 164Interlocked.CompareExchange(_lazyCoClass, coClass, DirectCast(ErrorTypeSymbol.UnknownResultType, TypeSymbol)) 377Private Shared Function CyclicInheritanceError(diag As DiagnosticInfo) As ErrorTypeSymbol
Symbols\Retargeting\RetargetingSymbolTranslator.vb (4)
175Return Retarget(DirectCast(type, ErrorTypeSymbol)) 812Public Function Retarget(type As ErrorTypeSymbol) As ErrorTypeSymbol 1154Public Overrides Function VisitErrorType(symbol As ErrorTypeSymbol, options As RetargetOptions) As Symbol
Symbols\Source\LocalSymbol.vb (1)
21Friend Shared ReadOnly UseBeforeDeclarationResultType As ErrorTypeSymbol = New ErrorTypeSymbol()
Symbols\Source\SourceAssemblySymbol.vb (1)
416Dim info As DiagnosticInfo = If(forwarded.GetUseSiteInfo().DiagnosticInfo, DirectCast(forwarded, ErrorTypeSymbol).ErrorInfo)
Symbols\Source\SourceLambdaSymbol.vb (4)
15Private _lazyAnonymousDelegateSymbol As NamedTypeSymbol = ErrorTypeSymbol.UnknownResultType 58If Me._lazyAnonymousDelegateSymbol Is ErrorTypeSymbol.UnknownResultType Then 60Dim oldValue As NamedTypeSymbol = Interlocked.CompareExchange(Me._lazyAnonymousDelegateSymbol, newValue, ErrorTypeSymbol.UnknownResultType) 61Debug.Assert(oldValue Is ErrorTypeSymbol.UnknownResultType OrElse oldValue Is newValue)
Symbols\Source\SourceMemberFieldSymbol.vb (1)
181varType = ErrorTypeSymbol.UnknownResultType
Symbols\Source\SourceNamedTypeSymbol.vb (7)
64Private _lazyCoClassType As TypeSymbol = ErrorTypeSymbol.UnknownResultType 1935If _lazyCoClassType Is ErrorTypeSymbol.UnknownResultType Then 1937Interlocked.CompareExchange(_lazyCoClassType, Nothing, DirectCast(ErrorTypeSymbol.UnknownResultType, TypeSymbol)) 1940If _lazyCoClassType Is ErrorTypeSymbol.UnknownResultType Then 1944DirectCast(ErrorTypeSymbol.UnknownResultType, TypeSymbol)) 1949Debug.Assert(_lazyCoClassType IsNot ErrorTypeSymbol.UnknownResultType) 2230DirectCast(ErrorTypeSymbol.UnknownResultType, TypeSymbol))
Symbols\Source\SourcePropertySymbol.vb (1)
359Return ErrorTypeSymbol.UnknownResultType
Symbols\SpecialMembers.vb (3)
55If _lazySpecialTypeMembers Is Nothing OrElse _lazySpecialTypeMembers(member) Is ErrorTypeSymbol.UnknownResultType Then 60specialTypeMembers(i) = ErrorTypeSymbol.UnknownResultType 74Interlocked.CompareExchange(_lazySpecialTypeMembers(member), result, DirectCast(ErrorTypeSymbol.UnknownResultType, Symbol))
Symbols\SubstitutedErrorType.vb (1)
279Dim other = DirectCast(obj, ErrorTypeSymbol)