10 instantiations of SystemTypeValue
ILLink.RoslynAnalyzer (10)
src\tools\illink\src\ILLink.Shared\TrimAnalysis\HandleCallAction.cs (4)
146
=> new
SystemTypeValue
(typeHandle.RepresentedType),
1069
AddReturnValue(new
SystemTypeValue
(foundType));
1134
AddReturnValue(new NullableSystemTypeValue(typeValue.RepresentedType, new
SystemTypeValue
(systemTypeValue.RepresentedType)));
1258
AddReturnValue(new
SystemTypeValue
(baseType.Value));
TrimAnalysis\HandleCallAction.cs (2)
178
AddReturnValue(new
SystemTypeValue
(new(staticType)));
247
yield return new
SystemTypeValue
(new TypeProxy(nestedType));
TrimAnalysis\SingleValueExtensions.cs (4)
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!)),
27 references to SystemTypeValue
ILLink.RoslynAnalyzer (27)
RequiresDynamicCodeAnalyzer.cs (2)
62
if (value is
SystemTypeValue
typeValue)
135
if (singleValue is not
SystemTypeValue
and not GenericParameterValue and not NullableSystemTypeValue)
src\tools\illink\src\ILLink.Shared\TrimAnalysis\HandleCallAction.cs (18)
58
else if (uniqueValue is
SystemTypeValue
)
174
SystemTypeValue
typeHandle
485
if (value is
SystemTypeValue
systemTypeValue)
608
if (value is
SystemTypeValue
systemTypeValue)
696
if (value is
SystemTypeValue
systemTypeValue)
703
foreach (
var
nestedTypeValue in GetNestedTypesOnType(systemTypeValue.RepresentedType, stringValue.Contents, bindingFlags))
780
if (value is
SystemTypeValue
systemTypeValue)
842
if (value is
SystemTypeValue
systemTypeValue)
912
if (value is
SystemTypeValue
systemTypeValue)
963
if (value is
SystemTypeValue
systemTypeValue)
1017
SystemTypeValue
systemType =>
1107
if (value is
SystemTypeValue
typeValue)
1130
case
SystemTypeValue
maybeArrayValue when maybeArrayValue.RepresentedType.IsTypeOf("System", "Array"):
1133
case
SystemTypeValue
systemTypeValue:
1255
else if (value is
SystemTypeValue
systemTypeValue)
1310
if (value is
SystemTypeValue
systemTypeValue && !BindingFlagsAreUnsupported(bindingFlags))
1437
if (value is
SystemTypeValue
systemTypeValue)
1808
private partial IEnumerable<
SystemTypeValue
> GetNestedTypesOnType(TypeProxy type, string name, BindingFlags? bindingFlags);
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\tools\illink\src\ILLink.Shared\TrimAnalysis\RequireDynamicallyAccessedMembersAction.cs (1)
53
else if (uniqueValue is
SystemTypeValue
systemTypeValue)
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\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)
244
private partial IEnumerable<
SystemTypeValue
> GetNestedTypesOnType(TypeProxy type, string name, BindingFlags? bindingFlags)