10 instantiations of SystemTypeValue
ILLink.RoslynAnalyzer (10)
src\tools\illink\src\ILLink.Shared\TrimAnalysis\HandleCallAction.cs (4)
146
=> new
SystemTypeValue
(typeHandle.RepresentedType),
1070
AddReturnValue(new
SystemTypeValue
(foundType));
1135
AddReturnValue(new NullableSystemTypeValue(typeValue.RepresentedType, new
SystemTypeValue
(systemTypeValue.RepresentedType)));
1259
AddReturnValue(new
SystemTypeValue
(baseType.Value));
TrimAnalysis\HandleCallAction.cs (2)
181
AddReturnValue(new
SystemTypeValue
(new(staticType)));
250
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)
63
if (value is
SystemTypeValue
typeValue)
136
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)
609
if (value is
SystemTypeValue
systemTypeValue)
697
if (value is
SystemTypeValue
systemTypeValue)
704
foreach (
var
nestedTypeValue in GetNestedTypesOnType(systemTypeValue.RepresentedType, stringValue.Contents, bindingFlags))
781
if (value is
SystemTypeValue
systemTypeValue)
843
if (value is
SystemTypeValue
systemTypeValue)
913
if (value is
SystemTypeValue
systemTypeValue)
964
if (value is
SystemTypeValue
systemTypeValue)
1018
SystemTypeValue
systemType =>
1108
if (value is
SystemTypeValue
typeValue)
1131
case
SystemTypeValue
maybeArrayValue when maybeArrayValue.RepresentedType.IsTypeOf("System", "Array"):
1134
case
SystemTypeValue
systemTypeValue:
1256
else if (value is
SystemTypeValue
systemTypeValue)
1311
if (value is
SystemTypeValue
systemTypeValue && !BindingFlagsAreUnsupported(bindingFlags))
1438
if (value is
SystemTypeValue
systemTypeValue)
1809
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)
247
private partial IEnumerable<
SystemTypeValue
> GetNestedTypesOnType(TypeProxy type, string name, BindingFlags? bindingFlags)