12 instantiations of SystemTypeValue
ILLink.RoslynAnalyzer (12)
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\HandleCallAction.cs (5)
146
=> new
SystemTypeValue
(typeHandle.RepresentedType),
1093
AddReturnValue(new
SystemTypeValue
(foundType));
1158
AddReturnValue(new NullableSystemTypeValue(typeValue.RepresentedType, new
SystemTypeValue
(systemTypeValue.RepresentedType)));
1282
AddReturnValue(new
SystemTypeValue
(baseType.Value));
1585
AddReturnValue(new
SystemTypeValue
(foundType));
TrimAnalysis\HandleCallAction.cs (2)
183
AddReturnValue(new
SystemTypeValue
(new(staticType)));
252
yield return new
SystemTypeValue
(new TypeProxy(nestedType));
TrimAnalysis\SingleValueExtensions.cs (5)
25
TypeKind.Error => new
SystemTypeValue
(new TypeProxy(type)),
27
new NullableSystemTypeValue(new TypeProxy(type), new
SystemTypeValue
(new TypeProxy(underlyingType))),
34
SymbolKind.NamedType => new
SystemTypeValue
(new TypeProxy(type)),
36
SymbolKind.ArrayType => new
SystemTypeValue
(new TypeProxy(type.BaseType!)),
37
SymbolKind.FunctionPointerType => new
SystemTypeValue
(new TypeProxy(type)),
29 references to SystemTypeValue
ILLink.RoslynAnalyzer (29)
RequiresDynamicCodeAnalyzer.cs (3)
63
if (value is
SystemTypeValue
typeValue)
105
if (value is not
SystemTypeValue
)
148
if (singleValue is not
SystemTypeValue
and not GenericParameterValue and not NullableSystemTypeValue)
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\HandleCallAction.cs (19)
58
else if (uniqueValue is
SystemTypeValue
)
174
SystemTypeValue
typeHandle
197
if (value is
SystemTypeValue
systemType
507
if (value is
SystemTypeValue
systemTypeValue)
631
if (value is
SystemTypeValue
systemTypeValue)
719
if (value is
SystemTypeValue
systemTypeValue)
726
foreach (
var
nestedTypeValue in GetNestedTypesOnType(systemTypeValue.RepresentedType, stringValue.Contents, bindingFlags))
803
if (value is
SystemTypeValue
systemTypeValue)
865
if (value is
SystemTypeValue
systemTypeValue)
935
if (value is
SystemTypeValue
systemTypeValue)
986
if (value is
SystemTypeValue
systemTypeValue)
1040
SystemTypeValue
systemType =>
1131
if (value is
SystemTypeValue
typeValue)
1154
case
SystemTypeValue
maybeArrayValue when maybeArrayValue.RepresentedType.IsTypeOf("System", "Array"):
1157
case
SystemTypeValue
systemTypeValue:
1279
else if (value is
SystemTypeValue
systemTypeValue)
1334
if (value is
SystemTypeValue
systemTypeValue && !BindingFlagsAreUnsupported(bindingFlags))
1461
if (value is
SystemTypeValue
systemTypeValue)
1895
private partial IEnumerable<
SystemTypeValue
> GetNestedTypesOnType(TypeProxy type, string name, BindingFlags? bindingFlags);
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\NullableSystemTypeValue.cs (2)
19
public NullableSystemTypeValue(in TypeProxy nullableType, in
SystemTypeValue
underlyingTypeValue)
27
public readonly
SystemTypeValue
UnderlyingTypeValue;
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\RequireDynamicallyAccessedMembersAction.cs (1)
60
else if (uniqueValue is
SystemTypeValue
systemTypeValue)
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\RuntimeTypeHandleForNullableSystemTypeValue.cs (2)
19
public RuntimeTypeHandleForNullableSystemTypeValue(in TypeProxy nullableType, in
SystemTypeValue
underlyingTypeValue)
27
public readonly
SystemTypeValue
UnderlyingTypeValue;
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\RuntimeTypeHandleValue.cs (1)
13
/// This is the System.RuntimeTypeHandle equivalent to a <see cref="
SystemTypeValue
"/> node.
TrimAnalysis\HandleCallAction.cs (1)
249
private partial IEnumerable<
SystemTypeValue
> GetNestedTypesOnType(TypeProxy type, string name, BindingFlags? bindingFlags)