1 write to RepresentedType
ILLink.RoslynAnalyzer (1)
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\SystemTypeValue.cs (1)
19RepresentedType = representedType;
31 references to RepresentedType
ILLink.RoslynAnalyzer (31)
RequiresDynamicCodeAnalyzer.cs (1)
66&& !IsConstrainedToBeReferenceTypes(typeValue.RepresentedType.GetGenericParameters()))
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\HandleCallAction.cs (27)
175=> new RuntimeTypeHandleValue(typeHandle.RepresentedType), 198&& (assemblyName = GetAssemblyName(systemType.RepresentedType)) is not null) 516MarkEventsOnTypeHierarchy(systemTypeValue.RepresentedType, stringValue.Contents, bindingFlags); 519MarkFieldsOnTypeHierarchy(systemTypeValue.RepresentedType, stringValue.Contents, bindingFlags); 522MarkPropertiesOnTypeHierarchy(systemTypeValue.RepresentedType, stringValue.Contents, bindingFlags); 638foreach (var methodValue in ProcessGetMethodByName(systemTypeValue.RepresentedType, stringValue.Contents, bindingFlags)) 726foreach (var nestedTypeValue in GetNestedTypesOnType(systemTypeValue.RepresentedType, stringValue.Contents, bindingFlags)) 728MarkType(nestedTypeValue.RepresentedType); 812MarkEventsOnTypeHierarchy(systemTypeValue.RepresentedType, stringValue.Contents, bindingFlags); 815MarkFieldsOnTypeHierarchy(systemTypeValue.RepresentedType, stringValue.Contents, bindingFlags); 819foreach (var methodValue in ProcessGetMethodByName(systemTypeValue.RepresentedType, stringValue.Contents, bindingFlags)) 823MarkPropertiesOnTypeHierarchy(systemTypeValue.RepresentedType, stringValue.Contents, bindingFlags); 867MarkConstructorsOnType(systemTypeValue.RepresentedType, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, parameterCount: null); 944MarkPropertiesOnTypeHierarchy(systemTypeValue.RepresentedType, stringValue.Contents, bindingFlags); 948MarkFieldsOnTypeHierarchy(systemTypeValue.RepresentedType, stringValue.Contents, bindingFlags); 992foreach (var method in GetMethodsOnTypeHierarchy(systemTypeValue.RepresentedType, stringValue.Contents, bindingFlags)) 1041systemType.RepresentedType.IsTypeOf("System", "Nullable`1") 1135if (typeValue.RepresentedType.IsTypeOf("System", "Nullable`1")) 1154case SystemTypeValue maybeArrayValue when maybeArrayValue.RepresentedType.IsTypeOf("System", "Array"): 1158AddReturnValue(new NullableSystemTypeValue(typeValue.RepresentedType, new SystemTypeValue(systemTypeValue.RepresentedType))); 1162AddReturnValue(new NullableValueWithDynamicallyAccessedMembers(typeValue.RepresentedType, damValue)); 1186var genericParameterValues = GetGenericParameterValues(typeValue.RepresentedType.GetGenericParameters()); 1281if (TryGetBaseType(systemTypeValue.RepresentedType, out var baseType)) 1339MarkPublicParameterlessConstructorOnType(systemTypeValue.RepresentedType); 1343MarkConstructorsOnType(systemTypeValue.RepresentedType, bindingFlags, parameterCount: null); 1464MarkConstructorsOnType(systemTypeValue.RepresentedType, bindingFlags, ctorParameterCount);
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\RequireDynamicallyAccessedMembersAction.cs (2)
62MarkTypeForDynamicallyAccessedMembers(systemTypeValue.RepresentedType, targetValue.DynamicallyAccessedMemberTypes); 78MarkTypeForDynamicallyAccessedMembers(nullableSystemTypeValue.UnderlyingTypeValue.RepresentedType, targetValue.DynamicallyAccessedMemberTypes);
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\SystemTypeValue.cs (1)
26public override string ToString() => this.ValueToString(RepresentedType);