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