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