13 references to SR
Microsoft.Build.Framework (13)
Microsoft.Build.Framework.Resources.SR.cs (1)
10
internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(
SR
)));
PathHelpers\AbsolutePath.cs (1)
94
throw new ArgumentException(
SR
.PathMustBeRooted, nameof(path));
Polyfills\ArgumentExceptionExtensions.cs (11)
355
throw new ArgumentException(
SR
.Argument_EmptyString, paramName);
362
throw new ArgumentException(
SR
.Argument_EmptyOrWhiteSpaceString, paramName);
367
=> throw new ArgumentOutOfRangeException(paramName, value,
SR
.FormatArgumentOutOfRange_Generic_MustBeNonZero(paramName, value));
371
=> throw new ArgumentOutOfRangeException(paramName, value,
SR
.FormatArgumentOutOfRange_Generic_MustBeNonNegative(paramName, value));
375
=> throw new ArgumentOutOfRangeException(paramName, value,
SR
.FormatArgumentOutOfRange_Generic_MustBeNonNegativeNonZero(paramName, value));
379
=> throw new ArgumentOutOfRangeException(paramName, value,
SR
.FormatArgumentOutOfRange_Generic_MustBeLessOrEqual(paramName, value, other));
383
=> throw new ArgumentOutOfRangeException(paramName, value,
SR
.FormatArgumentOutOfRange_Generic_MustBeLess(paramName, value, other));
387
=> throw new ArgumentOutOfRangeException(paramName, value,
SR
.FormatArgumentOutOfRange_Generic_MustBeGreaterOrEqual(paramName, value, other));
391
=> throw new ArgumentOutOfRangeException(paramName, value,
SR
.FormatArgumentOutOfRange_Generic_MustBeGreater(paramName, value, other));
395
=> throw new ArgumentOutOfRangeException(paramName, value,
SR
.FormatArgumentOutOfRange_Generic_MustBeNotEqual(paramName, (object?)value ?? "null", (object?)other ?? "null"));
399
=> throw new ArgumentOutOfRangeException(paramName, value,
SR
.FormatArgumentOutOfRange_Generic_MustBeEqual(paramName, (object?)value ?? "null", (object?)other ?? "null"));