33 instantiations of UnsupportedMetadataTypeSymbol
Microsoft.CodeAnalysis.CSharp (32)
BoundTree\UnboundLambda.cs (1)
183internal static readonly TypeSymbol NoReturnExpression = new UnsupportedMetadataTypeSymbol();
Symbols\ErrorTypeSymbol.cs (1)
20internal static readonly ErrorTypeSymbol UnknownResultType = new UnsupportedMetadataTypeSymbol();
Symbols\FunctionTypeSymbol.cs (1)
37private static readonly NamedTypeSymbol Uninitialized = new UnsupportedMetadataTypeSymbol();
Symbols\Metadata\PE\DynamicTypeDecoder.cs (1)
118return new UnsupportedMetadataTypeSymbol();
Symbols\Metadata\PE\MemberRefMetadataDecoder.cs (2)
79return new UnsupportedMetadataTypeSymbol(); // position of type parameter too large 83return new UnsupportedMetadataTypeSymbol(); // associated type does not have type parameters
Symbols\Metadata\PE\MetadataDecoder.cs (4)
73return new UnsupportedMetadataTypeSymbol(); // type parameter not associated with a method 80return new UnsupportedMetadataTypeSymbol(); // type parameter position too large 97return new UnsupportedMetadataTypeSymbol(); // position of type parameter too large 139return new UnsupportedMetadataTypeSymbol();
Symbols\Metadata\PE\NativeIntegerTypeDecoder.cs (2)
53return new UnsupportedMetadataTypeSymbol(); 58return new UnsupportedMetadataTypeSymbol();
Symbols\Metadata\PE\PEEventSymbol.cs (1)
86_eventTypeWithAnnotations = TypeWithAnnotations.Create(new UnsupportedMetadataTypeSymbol(mrEx));
Symbols\Metadata\PE\PENamedTypeSymbol.cs (6)
543return new UnsupportedMetadataTypeSymbol(mrEx); 571var namedTypeSymbol = typeSymbol as NamedTypeSymbol ?? new UnsupportedMetadataTypeSymbol(); // interface list contains a bad type 582return ImmutableArray.Create<NamedTypeSymbol>(new UnsupportedMetadataTypeSymbol(mrEx)); 1226underlyingType = new UnsupportedMetadataTypeSymbol(); // ambiguous underlying type 1234underlyingType = new UnsupportedMetadataTypeSymbol(); // undefined underlying type 1241underlyingType = new UnsupportedMetadataTypeSymbol(mrEx);
Symbols\Metadata\PE\PETypeParameterSymbol.cs (3)
271typeSymbol = new UnsupportedMetadataTypeSymbol(); 286typeSymbol = new UnsupportedMetadataTypeSymbol(); 299typeSymbol = new UnsupportedMetadataTypeSymbol();
Symbols\Metadata\PE\SymbolFactory.cs (3)
76return new UnsupportedMetadataTypeSymbol(exception); 96return new UnsupportedMetadataTypeSymbol(); 146return new UnsupportedMetadataTypeSymbol();
Symbols\Metadata\PE\TupleTypeDecoder.cs (3)
94return new UnsupportedMetadataTypeSymbol(); 114return TypeWithAnnotations.Create(new UnsupportedMetadataTypeSymbol()); 152return new UnsupportedMetadataTypeSymbol();
Symbols\Retargeting\RetargetingSymbolTranslator.cs (2)
292return (NamedTypeSymbol)this.SymbolMap.GetOrAdd(type, new UnsupportedMetadataTypeSymbol()); 391result = new UnsupportedMetadataTypeSymbol();
Symbols\Source\LambdaSymbol.cs (2)
32internal static readonly TypeSymbol ReturnTypeIsBeingInferred = new UnsupportedMetadataTypeSymbol(); 37internal static readonly TypeSymbol InferenceFailureReturnType = new UnsupportedMetadataTypeSymbol();
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\ErrorTypeSymbolTests.cs (1)
116var error = new MissingMetadataTypeSymbol.Nested(new UnsupportedMetadataTypeSymbol(), "Test", 0, false);
42 references to UnsupportedMetadataTypeSymbol
Microsoft.CodeAnalysis.CSharp (6)
SymbolDisplay\SymbolDisplayVisitor.Types.cs (1)
393if (underlyingTypeSymbol is UnsupportedMetadataTypeSymbol || underlyingTypeSymbol is MissingMetadataTypeSymbol || symbol.IsUnboundGenericType)
Symbols\Metadata\PE\SymbolFactory.cs (5)
21if (elementType is UnsupportedMetadataTypeSymbol) 41if (type is UnsupportedMetadataTypeSymbol) 66if (elementType is UnsupportedMetadataTypeSymbol) 85if (genericTypeDef is UnsupportedMetadataTypeSymbol) 94arg.Key is UnsupportedMetadataTypeSymbol)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (6)
CodeGen\CodeGenTupleTest.cs (6)
845Assert.IsType<UnsupportedMetadataTypeSymbol>(validFieldWithAttribute.Type); 849Assert.IsType<UnsupportedMetadataTypeSymbol>(tooFewNames.Type); 854Assert.IsType<UnsupportedMetadataTypeSymbol>(tooManyNames.Type); 858Assert.IsType<UnsupportedMetadataTypeSymbol>(tooFewNamesMethod.ReturnType); 862Assert.IsType<UnsupportedMetadataTypeSymbol>(tooManyNamesMethod.ReturnType); 938Assert.IsType<UnsupportedMetadataTypeSymbol>(validFieldWithAttribute.Type);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (29)
Symbols\GenericConstraintTests.cs (1)
3415Assert.IsType<UnsupportedMetadataTypeSymbol>(constraintType);
Symbols\Retargeting\NoPia.cs (28)
2053Assert.IsType<UnsupportedMetadataTypeSymbol>(test2.Parameters[1].Type); 2058Assert.IsType<UnsupportedMetadataTypeSymbol>(args[1].ValueInternal); 2068Assert.IsType<UnsupportedMetadataTypeSymbol>(test2.Parameters[1].Type); 2073Assert.IsType<UnsupportedMetadataTypeSymbol>(args[1].ValueInternal); 2083Assert.IsType<UnsupportedMetadataTypeSymbol>(test2.Parameters[1].Type); 2088Assert.IsType<UnsupportedMetadataTypeSymbol>(args[1].ValueInternal); 2098Assert.IsType<UnsupportedMetadataTypeSymbol>(test2.Parameters[1].Type); 2103Assert.IsType<UnsupportedMetadataTypeSymbol>(args[1].ValueInternal); 2178Assert.IsType<UnsupportedMetadataTypeSymbol>(test2.Parameters[1].Type); 2183Assert.IsType<UnsupportedMetadataTypeSymbol>(args[1].ValueInternal); 2193Assert.IsType<UnsupportedMetadataTypeSymbol>(test2.Parameters[1].Type); 2198Assert.IsType<UnsupportedMetadataTypeSymbol>(args[1].ValueInternal); 2208Assert.IsType<UnsupportedMetadataTypeSymbol>(test2.Parameters[1].Type); 2213Assert.IsType<UnsupportedMetadataTypeSymbol>(args[1].ValueInternal); 2223Assert.IsType<UnsupportedMetadataTypeSymbol>(test2.Parameters[1].Type); 2228Assert.IsType<UnsupportedMetadataTypeSymbol>(args[1].ValueInternal); 2415Assert.IsType<UnsupportedMetadataTypeSymbol>(test2.Parameters[1].Type); 2420Assert.IsType<UnsupportedMetadataTypeSymbol>(args[1].ValueInternal); 2430Assert.IsType<UnsupportedMetadataTypeSymbol>(test2.Parameters[1].Type); 2435Assert.IsType<UnsupportedMetadataTypeSymbol>(args[1].ValueInternal); 2511Assert.IsType<UnsupportedMetadataTypeSymbol>(test2.Parameters[1].Type); 2516Assert.IsType<UnsupportedMetadataTypeSymbol>(args[1].ValueInternal); 2526Assert.IsType<UnsupportedMetadataTypeSymbol>(test2.Parameters[1].Type); 2531Assert.IsType<UnsupportedMetadataTypeSymbol>(args[1].ValueInternal); 2541Assert.IsType<UnsupportedMetadataTypeSymbol>(test2.Parameters[1].Type); 2546Assert.IsType<UnsupportedMetadataTypeSymbol>(args[1].ValueInternal); 2556Assert.IsType<UnsupportedMetadataTypeSymbol>(test2.Parameters[1].Type); 2561Assert.IsType<UnsupportedMetadataTypeSymbol>(args[1].ValueInternal);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
FunctionPointerUtilities.cs (1)
346=> typeSymbol => Assert.True(typeSymbol is UnsupportedMetadataTypeSymbol);