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)
65
&& !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);
615
foreach (var methodValue in ProcessGetMethodByName(systemTypeValue.
RepresentedType
, stringValue.Contents, bindingFlags))
703
foreach (var nestedTypeValue in GetNestedTypesOnType(systemTypeValue.
RepresentedType
, stringValue.Contents, bindingFlags))
705
MarkType(nestedTypeValue.
RepresentedType
);
789
MarkEventsOnTypeHierarchy(systemTypeValue.
RepresentedType
, stringValue.Contents, bindingFlags);
792
MarkFieldsOnTypeHierarchy(systemTypeValue.
RepresentedType
, stringValue.Contents, bindingFlags);
796
foreach (var methodValue in ProcessGetMethodByName(systemTypeValue.
RepresentedType
, stringValue.Contents, bindingFlags))
800
MarkPropertiesOnTypeHierarchy(systemTypeValue.
RepresentedType
, stringValue.Contents, bindingFlags);
844
MarkConstructorsOnType(systemTypeValue.
RepresentedType
, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, parameterCount: null);
921
MarkPropertiesOnTypeHierarchy(systemTypeValue.
RepresentedType
, stringValue.Contents, bindingFlags);
925
MarkFieldsOnTypeHierarchy(systemTypeValue.
RepresentedType
, stringValue.Contents, bindingFlags);
969
foreach (var method in GetMethodsOnTypeHierarchy(systemTypeValue.
RepresentedType
, stringValue.Contents, bindingFlags))
1018
systemType.
RepresentedType
.IsTypeOf("System", "Nullable`1")
1111
if (typeValue.
RepresentedType
.IsTypeOf("System", "Nullable`1"))
1130
case SystemTypeValue maybeArrayValue when maybeArrayValue.
RepresentedType
.IsTypeOf("System", "Array"):
1134
AddReturnValue(new NullableSystemTypeValue(typeValue.
RepresentedType
, new SystemTypeValue(systemTypeValue.
RepresentedType
)));
1138
AddReturnValue(new NullableValueWithDynamicallyAccessedMembers(typeValue.
RepresentedType
, damValue));
1162
var genericParameterValues = GetGenericParameterValues(typeValue.
RepresentedType
.GetGenericParameters());
1257
if (TryGetBaseType(systemTypeValue.
RepresentedType
, out var baseType))
1315
MarkPublicParameterlessConstructorOnType(systemTypeValue.
RepresentedType
);
1319
MarkConstructorsOnType(systemTypeValue.
RepresentedType
, bindingFlags, parameterCount: null);
1440
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
);