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