2 instantiations of NoPiaIllegalGenericInstantiationSymbol
Microsoft.CodeAnalysis.VisualBasic (2)
Symbols\Metadata\PE\SymbolFactory.vb (1)
137
constructedType = New
NoPiaIllegalGenericInstantiationSymbol
(constructedType)
Symbols\Retargeting\RetargetingSymbolTranslator.vb (1)
501
constructedType = New
NoPiaIllegalGenericInstantiationSymbol
(constructedType)
47 references to NoPiaIllegalGenericInstantiationSymbol
Microsoft.CodeAnalysis.VisualBasic (2)
SymbolDisplay\SymbolDisplayVisitor.Types.vb (1)
226
Dim illegalGenericInstantiationSymbol = TryCast(symbol,
NoPiaIllegalGenericInstantiationSymbol
)
Symbols\InstanceTypeSymbol.vb (1)
187
If base.IsErrorType() AndAlso TypeOf base Is
NoPiaIllegalGenericInstantiationSymbol
Then
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (45)
SymbolsTests\Metadata\PE\NoPia.vb (22)
561
Dim illegal As
NoPiaIllegalGenericInstantiationSymbol
= DirectCast(localTypes3.GetMember(Of MethodSymbol)("Test3").ReturnType,
NoPiaIllegalGenericInstantiationSymbol
)
564
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(localTypes3.GetMember(Of MethodSymbol)("Test5").ReturnType)
569
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(localTypes3.GetMember(Of MethodSymbol)("Test3").ReturnType)
571
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(localTypes3.GetMember(Of MethodSymbol)("Test5").ReturnType)
572
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(localTypes3.GetMember(Of MethodSymbol)("Test6").ReturnType)
594
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(varI5_1.GetMember(Of MethodSymbol)("Foo").ReturnType)
608
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(varI7_3.GetMember(Of MethodSymbol)("Foo").ReturnType)
632
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(varI7_5.GetMember(Of MethodSymbol)("Foo").ReturnType)
633
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(varI7_5.GetMember(Of MethodSymbol)("Bar").ReturnType)
653
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(varI7_7.GetMember(Of MethodSymbol)("Foo").ReturnType)
778
Dim illegal As
NoPiaIllegalGenericInstantiationSymbol
= DirectCast(localTypes3.GetMember(Of MethodSymbol)("Test3").ReturnType,
NoPiaIllegalGenericInstantiationSymbol
)
782
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(localTypes3.GetMember(Of MethodSymbol)("Test5").ReturnType)
787
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(localTypes3.GetMember(Of MethodSymbol)("Test3").ReturnType)
789
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(localTypes3.GetMember(Of MethodSymbol)("Test5").ReturnType)
790
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(localTypes3.GetMember(Of MethodSymbol)("Test6").ReturnType)
870
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(varI5_1.GetMember(Of MethodSymbol)("Foo").ReturnType)
886
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(varI7_3.GetMember(Of MethodSymbol)("Foo").ReturnType)
911
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(varI7_5.GetMember(Of MethodSymbol)("Foo").ReturnType)
912
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(varI7_5.GetMember(Of MethodSymbol)("Bar").ReturnType)
932
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(varI7_7.GetMember(Of MethodSymbol)("Foo").ReturnType)
SymbolsTests\Metadata\PE\NoPiaInstantiationOfGenericClassAndStruct.vb (17)
35
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(localField.[Type].BaseType)
51
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(importedField.[Type])
67
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(importedField.[Type])
121
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(m.Parameters.[Where](Function(arg) arg.Name = "c1").[Select](Function(arg) arg).[Single]().[Type].BaseType)
125
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(m.ReturnType.BaseType)
158
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(importedProperty.Parameters.[Where](Function(arg) arg.Name = "x").[Select](Function(arg) arg).[Single]().[Type])
174
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(importedProperty.Type)
190
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(importedMethod.Parameters.[Where](Function(arg) arg.Name = "x").[Select](Function(arg) arg).[Single]().[Type])
206
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(importedMethod.Parameters.[Where](Function(arg) arg.Name = "x").[Select](Function(arg) arg).[Single]().[Type])
222
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(importedMethod.Parameters.[Where](Function(arg) arg.Name = "x").[Select](Function(arg) arg).[Single]().[Type])
238
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(importedMethod.ReturnType)
254
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(importedMethod.Parameters.[Where](Function(arg) arg.Name = "x").[Select](Function(arg) arg).[Single]().[Type])
270
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(importedMethod.Parameters.[Where](Function(arg) arg.Name = "x").[Select](Function(arg) arg).[Single]().[Type])
284
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(importedField.[Type])
326
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(localField.[Type].BaseType)
431
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(localMethod.ReturnType)
484
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(m.ReturnType)
SymbolsTests\Retargeting\NoPia.vb (6)
1047
Dim illegal As
NoPiaIllegalGenericInstantiationSymbol
= DirectCast(localTypes3.GetMember(Of MethodSymbol)("Test3").ReturnType,
NoPiaIllegalGenericInstantiationSymbol
)
1050
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(localTypes3.GetMember(Of MethodSymbol)("Test5").ReturnType)
1059
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(localTypes3.GetMember(Of MethodSymbol)("Test3").ReturnType)
1061
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(localTypes3.GetMember(Of MethodSymbol)("Test5").ReturnType)
1062
Assert.IsType(Of
NoPiaIllegalGenericInstantiationSymbol
)(localTypes3.GetMember(Of MethodSymbol)("Test6").ReturnType)