19 references to Resources
Microsoft.TestPlatform.CoreUtilities (19)
Helpers\DotnetHostHelper.cs (2)
84
string errorMessage = string.Format(CultureInfo.CurrentCulture,
Resources
.NoDotnetExeFound, "dotnet");
97
string errorMessage = string.Format(CultureInfo.CurrentCulture,
Resources
.NoDotnetExeFound, MONOEXENAME);
Output\OutputExtensions.cs (4)
28
SetColorForAction(ConsoleColor.Red, () => Output(output, OutputLevel.Error, appendPrefix ?
Resources
.CommandLineError : DefaultFormat, format, args));
40
SetColorForAction(ConsoleColor.Yellow, () => Output(output, OutputLevel.Warning, appendPrefix ?
Resources
.CommandLineWarning : DefaultFormat, format, args));
65
SetColorForAction(foregroundColor, () => Output(output, OutputLevel.Information, appendPrefix ?
Resources
.CommandLineInformational : DefaultFormat, format, args));
105
throw new ArgumentException(
Resources
.CannotBeNullOrEmpty, nameof(format));
Resources\Resources.Designer.cs (1)
43
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.VisualStudio.TestPlatform.CoreUtilities.Resources.Resources", typeof(
Resources
).GetTypeInfo().Assembly);
Utilities\JobQueue.cs (4)
106
throw new ArgumentException(
Resources
.CannotBeNullOrEmpty, nameof(displayName));
216
string.Format(CultureInfo.CurrentCulture,
Resources
.QueuePausedDisposeError, _displayName));
284
string.Format(CultureInfo.CurrentCulture,
Resources
.QueueAlreadyDisposed, _displayName));
363
_exceptionLogger(string.Format(CultureInfo.CurrentCulture,
Resources
.ExceptionFromJobProcessor, _displayName, e));
ValidateArg.cs (8)
94
var message = string.Format(CultureInfo.CurrentCulture,
Resources
.Error_ArgumentIsNegative);
109
var message = string.Format(CultureInfo.CurrentCulture,
Resources
.Error_ArgumentIsNegative);
127
var message = string.Format(CultureInfo.CurrentCulture,
Resources
.Error_ArgumentIsEmpty);
146
var message = string.Format(CultureInfo.CurrentCulture,
Resources
.Error_ArgumentNotTypeOf, typeof(T).FullName);
168
var message = string.Format(CultureInfo.CurrentCulture,
Resources
.Error_ArgumentPropertyIsNull, propertyName);
184
var message = string.Format(CultureInfo.CurrentCulture,
Resources
.Error_ArgumentPropertyIsNegative, propertyName);
202
var message = string.Format(CultureInfo.CurrentCulture,
Resources
.Error_ArgumentPropertyIsEmpty, propertyName);
222
var message = string.Format(CultureInfo.CurrentCulture,
Resources
.Error_ArgumentPropertyNotTypeOf, propertyName, typeof(T).FullName);