34 instantiations of UnsupportedMetadataTypeSymbol
Microsoft.CodeAnalysis.CSharp (34)
BoundTree\UnboundLambda.cs (1)
183internal static readonly TypeSymbol NoReturnExpression = new UnsupportedMetadataTypeSymbol();
FlowAnalysis\NullableWalker.cs (1)
210private static readonly TypeWithState _invalidType = TypeWithState.Create(new UnsupportedMetadataTypeSymbol(), NullableFlowState.NotNull);
Symbols\ErrorTypeSymbol.cs (2)
21internal static readonly ErrorTypeSymbol UnknownResultType = new UnsupportedMetadataTypeSymbol(); 22internal static readonly ErrorTypeSymbol EmptyParamsCollectionElementTypeSentinel = 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)
52return new UnsupportedMetadataTypeSymbol(); 57return new UnsupportedMetadataTypeSymbol();
Symbols\Metadata\PE\PEEventSymbol.cs (1)
86_eventTypeWithAnnotations = TypeWithAnnotations.Create(new UnsupportedMetadataTypeSymbol(mrEx));
Symbols\Metadata\PE\PENamedTypeSymbol.cs (6)
555return new UnsupportedMetadataTypeSymbol(mrEx); 583var namedTypeSymbol = typeSymbol as NamedTypeSymbol ?? new UnsupportedMetadataTypeSymbol(); // interface list contains a bad type 594return ImmutableArray.Create<NamedTypeSymbol>(new UnsupportedMetadataTypeSymbol(mrEx)); 1238underlyingType = new UnsupportedMetadataTypeSymbol(); // ambiguous underlying type 1246underlyingType = new UnsupportedMetadataTypeSymbol(); // undefined underlying type 1253underlyingType = 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)
34internal static readonly TypeSymbol ReturnTypeIsBeingInferred = new UnsupportedMetadataTypeSymbol(); 39internal static readonly TypeSymbol InferenceFailureReturnType = new UnsupportedMetadataTypeSymbol();
6 references to UnsupportedMetadataTypeSymbol
Microsoft.CodeAnalysis.CSharp (6)
SymbolDisplay\SymbolDisplayVisitor.Types.cs (1)
398if (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)