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