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