1 write to Contents
illink (1)
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\KnownStringValue.cs (1)
16
public KnownStringValue(string contents) =>
Contents
= contents;
21 references to Contents
illink (21)
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\HandleCallAction.cs (19)
279
else if (interfaceName is KnownStringValue stringValue && stringValue.
Contents
.Length == 0)
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))
665
if (stringParam is KnownStringValue stringValue && stringValue.
Contents
== "Invoke")
726
foreach (var nestedTypeValue in GetNestedTypesOnType(systemTypeValue.RepresentedType, stringValue.
Contents
, bindingFlags))
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);
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))
1086
if (!_requireDynamicallyAccessedMembersAction.TryResolveTypeNameAndMark(knownStringValue.
Contents
, false, out TypeProxy foundType))
1578
if (!TryResolveTypeNameInAssemblyAndMark(knownAssembly.AssemblyName, knownStringValue.
Contents
, out TypeProxy foundType))
1780
if (assemblyNameStringValue.
Contents
is string assemblyName && assemblyName.Length == 0)
1794
if (!TryResolveTypeNameForCreateInstanceAndMark(calledMethod, assemblyNameStringValue.
Contents
, typeNameStringValue.
Contents
, out TypeProxy resolvedType))
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\KnownStringValue.cs (1)
22
public override string ToString() => this.ValueToString("\"" +
Contents
+ "\"");
src\runtime\src\tools\illink\src\ILLink.Shared\TrimAnalysis\RequireDynamicallyAccessedMembersAction.cs (1)
66
if (!TryResolveTypeNameAndMark(knownStringValue.
Contents
, needsAssemblyName: true, out TypeProxy foundType))