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