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)
66&& !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); 616foreach (var methodValue in ProcessGetMethodByName(systemTypeValue.RepresentedType, stringValue.Contents, bindingFlags)) 704foreach (var nestedTypeValue in GetNestedTypesOnType(systemTypeValue.RepresentedType, stringValue.Contents, bindingFlags)) 706MarkType(nestedTypeValue.RepresentedType); 790MarkEventsOnTypeHierarchy(systemTypeValue.RepresentedType, stringValue.Contents, bindingFlags); 793MarkFieldsOnTypeHierarchy(systemTypeValue.RepresentedType, stringValue.Contents, bindingFlags); 797foreach (var methodValue in ProcessGetMethodByName(systemTypeValue.RepresentedType, stringValue.Contents, bindingFlags)) 801MarkPropertiesOnTypeHierarchy(systemTypeValue.RepresentedType, stringValue.Contents, bindingFlags); 845MarkConstructorsOnType(systemTypeValue.RepresentedType, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, parameterCount: null); 922MarkPropertiesOnTypeHierarchy(systemTypeValue.RepresentedType, stringValue.Contents, bindingFlags); 926MarkFieldsOnTypeHierarchy(systemTypeValue.RepresentedType, stringValue.Contents, bindingFlags); 970foreach (var method in GetMethodsOnTypeHierarchy(systemTypeValue.RepresentedType, stringValue.Contents, bindingFlags)) 1019systemType.RepresentedType.IsTypeOf("System", "Nullable`1") 1112if (typeValue.RepresentedType.IsTypeOf("System", "Nullable`1")) 1131case SystemTypeValue maybeArrayValue when maybeArrayValue.RepresentedType.IsTypeOf("System", "Array"): 1135AddReturnValue(new NullableSystemTypeValue(typeValue.RepresentedType, new SystemTypeValue(systemTypeValue.RepresentedType))); 1139AddReturnValue(new NullableValueWithDynamicallyAccessedMembers(typeValue.RepresentedType, damValue)); 1163var genericParameterValues = GetGenericParameterValues(typeValue.RepresentedType.GetGenericParameters()); 1258if (TryGetBaseType(systemTypeValue.RepresentedType, out var baseType)) 1316MarkPublicParameterlessConstructorOnType(systemTypeValue.RepresentedType); 1320MarkConstructorsOnType(systemTypeValue.RepresentedType, bindingFlags, parameterCount: null); 1441MarkConstructorsOnType(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);