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