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