1 write to RepresentedType
ILLink.RoslynAnalyzer (1)
src\tools\illink\src\ILLink.Shared\TrimAnalysis\SystemTypeValue.cs (1)
19
RepresentedType
= 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
),
494
MarkEventsOnTypeHierarchy(systemTypeValue.
RepresentedType
, stringValue.Contents, bindingFlags);
497
MarkFieldsOnTypeHierarchy(systemTypeValue.
RepresentedType
, stringValue.Contents, bindingFlags);
500
MarkPropertiesOnTypeHierarchy(systemTypeValue.
RepresentedType
, stringValue.Contents, bindingFlags);
616
foreach (var methodValue in ProcessGetMethodByName(systemTypeValue.
RepresentedType
, stringValue.Contents, bindingFlags))
704
foreach (var nestedTypeValue in GetNestedTypesOnType(systemTypeValue.
RepresentedType
, stringValue.Contents, bindingFlags))
706
MarkType(nestedTypeValue.
RepresentedType
);
790
MarkEventsOnTypeHierarchy(systemTypeValue.
RepresentedType
, stringValue.Contents, bindingFlags);
793
MarkFieldsOnTypeHierarchy(systemTypeValue.
RepresentedType
, stringValue.Contents, bindingFlags);
797
foreach (var methodValue in ProcessGetMethodByName(systemTypeValue.
RepresentedType
, stringValue.Contents, bindingFlags))
801
MarkPropertiesOnTypeHierarchy(systemTypeValue.
RepresentedType
, stringValue.Contents, bindingFlags);
845
MarkConstructorsOnType(systemTypeValue.
RepresentedType
, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, parameterCount: null);
922
MarkPropertiesOnTypeHierarchy(systemTypeValue.
RepresentedType
, stringValue.Contents, bindingFlags);
926
MarkFieldsOnTypeHierarchy(systemTypeValue.
RepresentedType
, stringValue.Contents, bindingFlags);
970
foreach (var method in GetMethodsOnTypeHierarchy(systemTypeValue.
RepresentedType
, stringValue.Contents, bindingFlags))
1019
systemType.
RepresentedType
.IsTypeOf("System", "Nullable`1")
1112
if (typeValue.
RepresentedType
.IsTypeOf("System", "Nullable`1"))
1131
case SystemTypeValue maybeArrayValue when maybeArrayValue.
RepresentedType
.IsTypeOf("System", "Array"):
1135
AddReturnValue(new NullableSystemTypeValue(typeValue.
RepresentedType
, new SystemTypeValue(systemTypeValue.
RepresentedType
)));
1139
AddReturnValue(new NullableValueWithDynamicallyAccessedMembers(typeValue.
RepresentedType
, damValue));
1163
var genericParameterValues = GetGenericParameterValues(typeValue.
RepresentedType
.GetGenericParameters());
1258
if (TryGetBaseType(systemTypeValue.
RepresentedType
, out var baseType))
1316
MarkPublicParameterlessConstructorOnType(systemTypeValue.
RepresentedType
);
1320
MarkConstructorsOnType(systemTypeValue.
RepresentedType
, bindingFlags, parameterCount: null);
1441
MarkConstructorsOnType(systemTypeValue.
RepresentedType
, bindingFlags, ctorParameterCount);
src\tools\illink\src\ILLink.Shared\TrimAnalysis\RequireDynamicallyAccessedMembersAction.cs (2)
55
MarkTypeForDynamicallyAccessedMembers(systemTypeValue.
RepresentedType
, targetValue.DynamicallyAccessedMemberTypes);
71
MarkTypeForDynamicallyAccessedMembers(nullableSystemTypeValue.UnderlyingTypeValue.
RepresentedType
, targetValue.DynamicallyAccessedMemberTypes);
src\tools\illink\src\ILLink.Shared\TrimAnalysis\SystemTypeValue.cs (1)
26
public override string ToString() => this.ValueToString(
RepresentedType
);