12 references to SR
System.Windows.Forms.Primitives (12)
artifacts\obj\System.Windows.Forms.Primitives\Release\net10.0\System.Windows.Forms.Primitives.Resources.SR.cs (1)
10
internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(
SR
)));
System\ServiceExtensions.cs (2)
88
?? throw new InvalidOperationException(string.Format(
SR
.General_MissingService, typeof(TInterface).FullName))
90
HelpLink =
SR
.General_MissingService
System\Windows\Forms\Internals\ScaleHelper.cs (1)
360
?? throw new ArgumentException(string.Format(
SR
.ResourceNotFound, type, resource));
System\Windows\Forms\Internals\ScaleHelper.DpiAwarenessScope.cs (4)
49
throw new Win32Exception(Marshal.GetLastWin32Error(),
SR
.Win32GetThreadsDpiContextFailed);
64
throw new Win32Exception(Marshal.GetLastWin32Error(), string.Format(
SR
.Win32SetThreadsDpiHostingBehaviorFailed, behavior));
79
throw new Win32Exception(Marshal.GetLastWin32Error(), string.Format(
SR
.Win32SetThreadsDpiHostingBehaviorFailed, _originalDpiHostingBehavior));
85
throw new Win32Exception(Marshal.GetLastWin32Error(), string.Format(
SR
.Win32SetThreadsDpiContextFailed, _originalDpiAwarenessContext));
System\Windows\Forms\PaddingConverter.cs (3)
40
: throw new ArgumentException(string.Format(
SR
.TextParseFailedFormat, stringValue, "left, top, right, bottom"), nameof(value));
101
throw new ArgumentException(
SR
.PropertyValueInvalidEntry, nameof(propertyValues), invalidCast);
105
throw new ArgumentException(
SR
.PropertyValueInvalidEntry, nameof(propertyValues), nullRef);
Windows\Win32\UI\Shell\FolderBrowserHelper.cs (1)
30
throw new InvalidOperationException(
SR
.FolderBrowserDialogNoRootFolder);