1 write to RepresentedType
ILLink.RoslynAnalyzer (1)
src\tools\illink\src\ILLink.Shared\TrimAnalysis\SystemTypeValue.cs (1)
19RepresentedType = representedType;
30 references to RepresentedType
ILLink.RoslynAnalyzer (30)
RequiresDynamicCodeAnalyzer.cs (1)
65&& !IsConstrainedToBeReferenceTypes(typeValue.RepresentedType.GetGenericParameters()))
src\tools\illink\src\ILLink.Shared\TrimAnalysis\HandleCallAction.cs (26)
175=> new RuntimeTypeHandleValue(typeHandle.RepresentedType), 494MarkEventsOnTypeHierarchy(systemTypeValue.RepresentedType, stringValue.Contents, bindingFlags); 497MarkFieldsOnTypeHierarchy(systemTypeValue.RepresentedType, stringValue.Contents, bindingFlags); 500MarkPropertiesOnTypeHierarchy(systemTypeValue.RepresentedType, stringValue.Contents, bindingFlags); 615foreach (var methodValue in ProcessGetMethodByName(systemTypeValue.RepresentedType, stringValue.Contents, bindingFlags)) 703foreach (var nestedTypeValue in GetNestedTypesOnType(systemTypeValue.RepresentedType, stringValue.Contents, bindingFlags)) 705MarkType(nestedTypeValue.RepresentedType); 789MarkEventsOnTypeHierarchy(systemTypeValue.RepresentedType, stringValue.Contents, bindingFlags); 792MarkFieldsOnTypeHierarchy(systemTypeValue.RepresentedType, stringValue.Contents, bindingFlags); 796foreach (var methodValue in ProcessGetMethodByName(systemTypeValue.RepresentedType, stringValue.Contents, bindingFlags)) 800MarkPropertiesOnTypeHierarchy(systemTypeValue.RepresentedType, stringValue.Contents, bindingFlags); 844MarkConstructorsOnType(systemTypeValue.RepresentedType, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, parameterCount: null); 921MarkPropertiesOnTypeHierarchy(systemTypeValue.RepresentedType, stringValue.Contents, bindingFlags); 925MarkFieldsOnTypeHierarchy(systemTypeValue.RepresentedType, stringValue.Contents, bindingFlags); 969foreach (var method in GetMethodsOnTypeHierarchy(systemTypeValue.RepresentedType, stringValue.Contents, bindingFlags)) 1018systemType.RepresentedType.IsTypeOf("System", "Nullable`1") 1111if (typeValue.RepresentedType.IsTypeOf("System", "Nullable`1")) 1130case SystemTypeValue maybeArrayValue when maybeArrayValue.RepresentedType.IsTypeOf("System", "Array"): 1134AddReturnValue(new NullableSystemTypeValue(typeValue.RepresentedType, new SystemTypeValue(systemTypeValue.RepresentedType))); 1138AddReturnValue(new NullableValueWithDynamicallyAccessedMembers(typeValue.RepresentedType, damValue)); 1162var genericParameterValues = GetGenericParameterValues(typeValue.RepresentedType.GetGenericParameters()); 1257if (TryGetBaseType(systemTypeValue.RepresentedType, out var baseType)) 1315MarkPublicParameterlessConstructorOnType(systemTypeValue.RepresentedType); 1319MarkConstructorsOnType(systemTypeValue.RepresentedType, bindingFlags, parameterCount: null); 1440MarkConstructorsOnType(systemTypeValue.RepresentedType, bindingFlags, ctorParameterCount);
src\tools\illink\src\ILLink.Shared\TrimAnalysis\RequireDynamicallyAccessedMembersAction.cs (2)
55MarkTypeForDynamicallyAccessedMembers(systemTypeValue.RepresentedType, targetValue.DynamicallyAccessedMemberTypes); 71MarkTypeForDynamicallyAccessedMembers(nullableSystemTypeValue.UnderlyingTypeValue.RepresentedType, targetValue.DynamicallyAccessedMemberTypes);
src\tools\illink\src\ILLink.Shared\TrimAnalysis\SystemTypeValue.cs (1)
26public override string ToString() => this.ValueToString(RepresentedType);