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