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