13 references to GetResourceString
System.Private.CoreLib (13)
src\runtime\src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (13)
347throw new ArgumentNullException(GetResourceString(resource)); 353throw new ArgumentNullException(GetArgumentName(argument), GetResourceString(resource)); 398throw new InvalidOperationException(GetResourceString(resource), e); 410throw new SerializationException(GetResourceString(resource)); 416throw new RankException(GetResourceString(resource)); 422throw new NotSupportedException(GetResourceString(resource)); 470throw new ObjectDisposedException(null, GetResourceString(resource)); 674throw new FormatException(SR.Format(SR.Format_InvalidStringWithOffsetAndReason, offset, GetResourceString(resource))); 720return new ArgumentException(GetResourceString(resource)); 725return new InvalidOperationException(GetResourceString(resource)); 745return new ArgumentOutOfRangeException(GetArgumentName(argument), GetResourceString(resource)); 750return new ArgumentException(GetResourceString(resource), GetArgumentName(argument)); 755return new ArgumentOutOfRangeException(GetArgumentName(argument) + "[" + paramNumber.ToString() + "]", GetResourceString(resource));