27 references to SR
System.Private.Reflection.Execution (27)
Internal\Reflection\Execution\ExecutionEnvironmentImplementation.MappingTables.cs (2)
138
throw new TypeLoadException(
SR
.Format(
SR
.MultiDim_Of_This_Rank_Not_Supported, rank));
Internal\Reflection\Execution\ExecutionEnvironmentImplementation.Runtime.cs (7)
52
throw new PlatformNotSupportedException(
SR
.Format(
SR
.Arg_InterfaceMapMustNotBeAbstract, interfaceType.FullName, instanceType.FullName));
100
string resourceName =
SR
.Object_NotInvokable;
104
resourceName = methodBase.IsConstructedGenericMethod ?
SR
.MakeGenericMethod_NoMetadata :
SR
.Object_NotInvokable;
109
throw new PlatformNotSupportedException(
SR
.PlatformNotSupported_CannotInvokeDelegateCtor);
114
return new NotSupportedException(
SR
.Format(resourceName, pertainantString ?? "?"));
Internal\Reflection\Execution\FieldAccessors\InstanceFieldAccessor.cs (3)
26
throw new TargetException(
SR
.RFLCT_Targ_StatFldReqTarg);
57
throw new TargetException(
SR
.RFLCT_Targ_StatFldReqTarg);
83
throw new TargetException(
SR
.RFLCT_Targ_StatFldReqTarg);
Internal\Reflection\Execution\FieldAccessors\LiteralFieldAccessor.cs (2)
21
throw new FieldAccessException(
SR
.Acc_ReadOnly);
26
throw new FieldAccessException(
SR
.Acc_ReadOnly);
Internal\Reflection\Execution\FieldAccessors\WritableStaticFieldAccessor.cs (2)
28
throw new FieldAccessException(
SR
.Acc_InitOnlyStatic);
40
throw new FieldAccessException(
SR
.Acc_InitOnlyStatic);
Internal\Reflection\Execution\PayForPlayExperience\MissingMetadataExceptionCreator.cs (2)
14
return new NotSupportedException(
SR
.Format(
SR
.Reflection_InsufficientMetadata_EdbNeeded, pertainant));
Internal\Reflection\Execution\TypeLoader\ConstraintValidator.cs (5)
69
throw new ArgumentException(
SR
.Argument_GenericArgsCount);
80
throw new ArgumentException(
SR
.Format(
SR
.Argument_NeverValidGenericArgument, actualArg));
91
throw new ArgumentException(
SR
.Format(
SR
.Argument_ConstraintFailed, actualArg, definition.ToString(), formalArg));
Internal\Reflection\Extensions\NonPortable\DelegateMethodInfoRetriever.cs (2)
51
throw new NotSupportedException(
SR
.DelegateGetMethodInfo_NoInstantiation);
62
throw new NotSupportedException(
SR
.DelegateGetMethodInfo_NoDynamic);
src\runtime\src\coreclr\nativeaot\Common\src\System\Collections\Generic\LowLevelDictionary.cs (2)
89
throw new ArgumentException(
SR
.Format(
SR
.Argument_AddingDuplicateWithKey, key));