11 references to String
System.Reflection.MetadataLoadContext (11)
System\Reflection\MetadataLoadContext.KnownConstructors.cs (1)
29
internal ConstructorInfo? TryGetDllImportCtor() => _lazyDllImport ??= TryGetConstructor(CoreType.DllImportAttribute, CoreType.
String
);
System\Reflection\TypeLoading\CustomAttributes\CustomAttributeHelpers.cs (3)
90
if (ct[CoreType.
String
] == null ||
130
cans.Add(attributeType.ToCustomAttributeNamedArgument(nameof(MarshalAsAttribute.MarshalType), ct[CoreType.
String
], ma.MarshalType));
140
cans.Add(attributeType.ToCustomAttributeNamedArgument(nameof(MarshalAsAttribute.MarshalCookie), ct[CoreType.
String
], ma.MarshalCookie));
System\Reflection\TypeLoading\General\CoreType.cs (1)
99
case CoreType.
String
: ns = Utf8Constants.System; name = Utf8Constants.String; return;
System\Reflection\TypeLoading\General\Ecma\EcmaHelpers.cs (1)
46
case PrimitiveTypeCode.String: return CoreType.
String
;
System\Reflection\TypeLoading\Methods\RoDefinitionMethod.DllImport.cs (3)
21
if (ct[CoreType.
String
] == null ||
39
CustomAttributeTypedArgument[] cats = { new CustomAttributeTypedArgument(ct[CoreType.
String
]!, dia.Value) };
42
attributeType.ToCustomAttributeNamedArgument(nameof(DllImportAttribute.EntryPoint), ct[CoreType.
String
], dia.EntryPoint),
System\Reflection\TypeLoading\Types\RoDefinitionType.cs (2)
138
if (cta.ArgumentType != Loader.TryGetCoreType(CoreType.
String
))
215
if (t == ct[CoreType.
String
])