57 references to IsErrorType
Microsoft.CodeAnalysis.VisualBasic (57)
Symbols\ArrayTypeSymbol.vb (3)
84If iListOfT.IsErrorType() Then 85If Not iReadOnlyListOfT.IsErrorType() Then 88ElseIf iReadOnlyListOfT.IsErrorType() Then
Symbols\AssemblySymbol.vb (7)
569Debug.Assert(Not type.IsErrorType()) 581Debug.Assert(Not type.IsErrorType()) 595Debug.Assert(If(Not type?.IsErrorType(), True)) 614Debug.Assert(If(Not result?.IsErrorType(), True)) 638Debug.Assert(If(Not corLibCandidate?.IsErrorType(), True)) 658Debug.Assert(If(Not candidate?.IsErrorType(), True)) 687Debug.Assert(If(Not result?.IsErrorType(), True))
Symbols\Attributes\AttributeData.vb (1)
88Debug.Assert(Not attributeType.IsErrorType())
Symbols\Attributes\PEAttributeData.vb (1)
166If attributeClass.IsErrorType() OrElse attributeCtor Is Nothing Then
Symbols\Attributes\SourceAttributeData.vb (1)
299If attributeClass.IsErrorType() AndAlso Not TypeOf attributeClass Is MissingMetadataTypeSymbol Then
Symbols\ConstraintsHelper.vb (2)
655If typeArgument.IsErrorType() Then 923If constraintType.IsErrorType() Then
Symbols\InstanceTypeSymbol.vb (1)
187If base.IsErrorType() AndAlso TypeOf base Is NoPiaIllegalGenericInstantiationSymbol Then
Symbols\Metadata\PE\MetadataDecoder.vb (3)
118Debug.Assert(If(Not result?.IsErrorType(), True)) 153Debug.Assert(If(Not result?.IsErrorType(), True)) 326Debug.Assert(If(Not candidate?.IsErrorType(), True))
Symbols\Metadata\PE\PEFieldSymbol.vb (1)
257If selfOrUnderlyingType.IsErrorType OrElse
Symbols\Metadata\PE\PEModuleSymbol.vb (1)
345Debug.Assert(If(Not currentModuleResult?.IsErrorType(), True))
Symbols\MetadataOrSourceAssemblySymbol.vb (1)
53Debug.Assert(If(Not result?.IsErrorType(), True))
Symbols\NamedTypeSymbol.vb (1)
168Debug.Assert(Me.IsErrorType OrElse Not (TypeOf Me Is SourceNamedTypeSymbol) OrElse Not Name.Contains("."), "type name contains dots: " + Name)
Symbols\NonMissingAssemblySymbol.vb (3)
98If Not result.IsErrorType() AndAlso result.ContainingAssembly Is Me Then 107Debug.Assert(result Is Nothing OrElse (result.ContainingAssembly Is Me AndAlso Not result.IsErrorType())) 153Debug.Assert(result Is Nothing OrElse (result.ContainingAssembly Is Me AndAlso Not result.IsErrorType()))
Symbols\NonMissingModuleSymbol.vb (1)
166Debug.Assert(If(Not result?.IsErrorType(), True))
Symbols\NoPiaIllegalGenericInstantiationSymbol.vb (1)
48If _underlyingSymbol.IsErrorType() Then
Symbols\Retargeting\RetargetingNamedTypeSymbol.vb (1)
500Debug.Assert(Not underlying.IsErrorType())
Symbols\Retargeting\RetargetingNamespaceSymbol.vb (1)
179Debug.Assert(Not underlying.IsErrorType())
Symbols\Retargeting\RetargetingSymbolTranslator.vb (2)
372Debug.Assert(Not result1.IsErrorType()) 936If retargetedType.IsErrorType() Then
Symbols\Source\CustomEventAccessorSymbol.vb (5)
184Not eventType.IsErrorType Then 215If Not eventType.IsErrorType AndAlso Not TypeSymbol.Equals(eventType, parameterType, TypeCompareKind.ConsiderEverything) Then 228If Not registrationTokenType.IsErrorType AndAlso firstImplementedEvent.IsWindowsRuntimeEvent <> (TypeSymbol.Equals(parameterType, registrationTokenType, TypeCompareKind.ConsiderEverything)) Then 235If Not registrationTokenType.IsErrorType AndAlso Not TypeSymbol.Equals(parameterType, registrationTokenType, TypeCompareKind.ConsiderEverything) Then 239If Not eventType.IsErrorType AndAlso Not TypeSymbol.Equals(eventType, parameterType, TypeCompareKind.ConsiderEverything) Then
Symbols\Source\SourceAssemblySymbol.vb (2)
415If forwarded.IsErrorType() Then 939Return Not obj.IsErrorType() AndAlso obj.DeclaredAccessibility = Accessibility.Public
Symbols\Source\SourceEventSymbol.vb (1)
244If Not type.IsErrorType() Then
Symbols\Source\SourceMemberContainerTypeSymbol.vb (1)
470If Not implemented.IsErrorType() Then
Symbols\Source\SourceMemberFieldSymbol.vb (2)
117If Not varType.IsErrorType() Then 217If Not varType.IsErrorType() Then
Symbols\Source\SourceMethodSymbol.vb (1)
2341If Not retType.IsErrorType() Then
Symbols\Source\SourceNamedTypeSymbol.vb (3)
1464Dim diag = If(isInterface AndAlso Not t.IsErrorType(), GetDependenceDiagnosticForBase(Me, t), Nothing) 1472If Not t.IsErrorType() Then 2629If formClass.IsErrorType() OrElse Not Me.IsOrDerivedFrom(formClass, useSiteInfo:=CompoundUseSiteInfo(Of AssemblySymbol).Discarded) Then
Symbols\Source\SourceNamedTypeSymbol_GroupClass.vb (1)
143If Not attributeType.IsErrorType() Then
Symbols\Source\SourcePropertyAccessorSymbol.vb (1)
435If (Not propertyType.IsErrorType()) AndAlso (Not valueParameterType.IsErrorType()) Then
Symbols\Source\SynthesizedEventAccessorSymbol.vb (3)
148If fieldType.IsErrorType Then 350delegateType.IsErrorType).MakeCompilerGenerated 427delegateType.IsErrorType).MakeCompilerGenerated
Symbols\SpecialMembers.vb (1)
70If Not type.IsErrorType() Then
Symbols\Tuples\TupleTypeSymbol.vb (2)
173If Me._underlyingType.IsErrorType() Then 831Dim diagnosticInfo = If(container.IsErrorType(),
Symbols\TypeSymbolExtensions.vb (2)
663If typeArgument.IsErrorType Then 674If typeWithContainingAssembly.IsErrorType Then