7 instantiations of SubstitutedErrorType
Microsoft.CodeAnalysis.VisualBasic (7)
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)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (2)
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)