7 instantiations of SubstitutedErrorType
Microsoft.CodeAnalysis.VisualBasic (7)
Symbols\InstanceErrorTypeSymbol.vb (3)
51Return New SubstitutedErrorType(Me.ContainingSymbol, Me, substitution) 86Return New SubstitutedErrorType(container, Me, substitution) 100Return New SubstitutedErrorType(newContainer, Me, substitution)
Symbols\SubstitutedErrorType.vb (4)
87Return New SubstitutedErrorType(Me.ContainingSymbol, _fullInstanceType, substitution) 175Return New SubstitutedErrorType(container, _fullInstanceType, substitution) 190Return New SubstitutedErrorType(newContainer, _fullInstanceType, newSubstitution) 209Return New SubstitutedErrorType(_container, _fullInstanceType, TypeSubstitution.Concat(_fullInstanceType, _substitution.Parent, substitution))
18 references to SubstitutedErrorType
Microsoft.CodeAnalysis.VisualBasic (2)
Symbols\InstanceErrorTypeSymbol.vb (1)
173Debug.Assert(TypeOf other Is SubstitutedErrorType)
Symbols\Tuples\TupleTypeSymbol.vb (1)
351TypeOf underlyingType Is SubstitutedErrorType) ' Required to ensure symmetrical equality
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (2)
Attributes\AttributeTests_WellKnownAttributes.vb (2)
3304Assert.IsType(Of SubstitutedErrorType)(constructedError) 3308Assert.IsType(Of SubstitutedErrorType)(nestedSubstitutedError)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (14)
SymbolsTests\Metadata\PE\MissingTypeReferences.vb (14)
54Dim genericBase = DirectCast(TC8.BaseType, SubstitutedErrorType) 71genericBase = DirectCast(TC7.BaseType, SubstitutedErrorType) 80Dim constructedFrom = DirectCast(genericBase.ConstructedFrom, SubstitutedErrorType) 87genericBase = DirectCast(genericBase.ContainingSymbol, SubstitutedErrorType) 91genericBase = DirectCast(genericBase.ContainingSymbol, SubstitutedErrorType) 170Dim genericBase = DirectCast(TC.BaseType, SubstitutedErrorType) 189genericBase = DirectCast(TC.BaseType, SubstitutedErrorType) 206genericBase = DirectCast(TC.BaseType, SubstitutedErrorType) 226genericBase = DirectCast(TC.BaseType, SubstitutedErrorType) 230Dim type1 = DirectCast(genericBase.ContainingSymbol, SubstitutedErrorType) 249genericBase = DirectCast(TC.BaseType, SubstitutedErrorType) 252Dim type2 = DirectCast(DirectCast(genericBase.ContainingSymbol.ContainingSymbol.OriginalDefinition, NamedTypeSymbol).Construct(type1.TypeArguments), SubstitutedErrorType) 305Assert.IsType(Of SubstitutedErrorType)(missing) 308Assert.Same(substitution, DirectCast(missing, SubstitutedErrorType).TypeSubstitution)