80 references to SR
System.CodeDom (80)
Microsoft\CSharp\CSharpCodeGenerator.cs (21)
304
throw new InvalidOperationException(
SR
.CodeGenReentrance);
613
throw new ArgumentException(
SR
.Format(
SR
.InvalidElementType, e.GetType().FullName), nameof(e));
750
throw new ArgumentException(
SR
.Format(
SR
.InvalidPrimitiveType, e.Value.GetType()), nameof(e));
914
throw new ArgumentException(
SR
.Format(
SR
.Argument_NullComment, nameof(e)), nameof(e));
1234
throw new ArgumentException(
SR
.Format(
SR
.InvalidElementType, e.GetType().FullName), nameof(e));
2428
Output.WriteLine(
SR
.AutoGen_Comment_Line1);
2430
Output.WriteLine(
SR
.AutoGen_Comment_Line2);
2433
Output.WriteLine(
SR
.AutoGen_Comment_Line4);
2435
Output.WriteLine(
SR
.AutoGen_Comment_Line5);
2437
Output.WriteLine(
SR
.AutoGen_Comment_Line1);
2683
throw new ArgumentException(
SR
.Format(
SR
.InvalidIdentifier, value), nameof(value));
3102
throw new InvalidOperationException(
SR
.CodeGenOutputWriter);
3130
throw new InvalidOperationException(
SR
.CodeGenOutputWriter);
3158
throw new InvalidOperationException(
SR
.CodeGenOutputWriter);
3193
throw new InvalidOperationException(
SR
.CodeGenOutputWriter);
3221
throw new InvalidOperationException(
SR
.CodeGenOutputWriter);
Microsoft\CSharp\CSharpModifierAttributeConverter.cs (1)
52
return
SR
.toStringUnknown;
Microsoft\VisualBasic\VBCodeGenerator.cs (5)
2205
Output.WriteLine(
SR
.AutoGen_Comment_Line1);
2207
Output.WriteLine(
SR
.AutoGen_Comment_Line2);
2210
Output.WriteLine(
SR
.AutoGen_Comment_Line4);
2212
Output.WriteLine(
SR
.AutoGen_Comment_Line5);
2214
Output.WriteLine(
SR
.AutoGen_Comment_Line1);
Microsoft\VisualBasic\VBModifierAttributeConverter.cs (1)
52
return
SR
.toStringUnknown;
src\libraries\Common\src\System\IO\TempFileCollection.cs (6)
73
throw new ArgumentException(
SR
.Format(
SR
.InvalidNullEmptyArgument, nameof(fileExtension)), nameof(fileExtension));
85
throw new ArgumentException(
SR
.Format(
SR
.InvalidNullEmptyArgument, nameof(fileName)), nameof(fileName));
90
throw new ArgumentException(
SR
.Format(
SR
.DuplicateFileName, fileName), nameof(fileName));
System\CodeDom\Compiler\CodeDomProvider.cs (6)
70
throw new ConfigurationErrorsException(
SR
.CodeDomProvider_NotDefined);
84
throw new ConfigurationErrorsException(
SR
.CodeDomProvider_NotDefined);
171
throw new NotImplementedException(
SR
.NotSupported_CodeDomAPI);
183
throw new NotImplementedException(
SR
.NotSupported_CodeDomAPI);
193
throw new NotImplementedException(
SR
.NotSupported_CodeDomAPI);
203
throw new NotImplementedException(
SR
.NotSupported_CodeDomAPI);
System\CodeDom\Compiler\CodeGenerator.cs (16)
256
throw new InvalidOperationException(
SR
.CodeGenOutputWriter);
284
throw new InvalidOperationException(
SR
.CodeGenOutputWriter);
312
throw new InvalidOperationException(
SR
.CodeGenOutputWriter);
347
throw new InvalidOperationException(
SR
.CodeGenOutputWriter);
375
throw new InvalidOperationException(
SR
.CodeGenOutputWriter);
404
throw new InvalidOperationException(
SR
.CodeGenReentrance);
608
throw new ArgumentException(
SR
.Format(
SR
.InvalidElementType, e.GetType().FullName), nameof(e));
938
throw new ArgumentException(
SR
.Format(
SR
.InvalidElementType, e.GetType().FullName), nameof(e));
1426
throw new ArgumentException(
SR
.Format(
SR
.InvalidPrimitiveType, e.Value.GetType()), nameof(e));
1471
throw new ArgumentException(
SR
.Format(
SR
.Argument_NullComment, nameof(e)), nameof(e));
1549
throw new ArgumentException(
SR
.Format(
SR
.InvalidIdentifier, value), nameof(value));
System\CodeDom\Compiler\CodeValidator.cs (20)
59
throw new ArgumentException(
SR
.Format(
SR
.InvalidElementType, e.GetType().FullName), nameof(e));
94
throw new ArgumentException(
SR
.Format(
SR
.InvalidElementType, e.GetType().FullName), nameof(e));
455
throw new ArgumentException(
SR
.Format(
SR
.InvalidElementType, e.GetType().FullName), nameof(e));
641
throw new ArgumentException(
SR
.Format(
SR
.ArityDoesntMatch, baseType, e.TypeArguments.Count), nameof(e));
649
string message =
SR
.Format(
SR
.InvalidTypeName, typeName, propertyName, e.GetType().FullName);
658
string message =
SR
.Format(
SR
.InvalidLanguageIdentifier, identifier, propertyName, e.GetType().FullName);
768
throw new ArgumentException(
SR
.Format(
SR
.InvalidElementType, e.GetType().FullName), nameof(e));
938
throw new ArgumentException(
SR
.Format(
SR
.InvalidElementType, e.GetType().FullName), nameof(e));
945
throw new ArgumentException(
SR
.Format(
SR
.InvalidPathCharsInChecksum, e.FileName), nameof(e));
951
throw new ArgumentException(
SR
.Format(
SR
.InvalidRegion, e.RegionText), nameof(e));
System\CodeDom\Compiler\CompilerInfo.cs (2)
74
throw new InvalidOperationException(
SR
.Format(
SR
.Provider_does_not_support_options, CodeDomProviderType));
System\CodeDom\Compiler\Executor.cs (2)
90
throw new ExternalException(
SR
.Format(
SR
.ExecTimeout, cmd), WAIT_TIMEOUT);