22 references to Format
System.CodeDom (22)
Microsoft\CSharp\CSharpCodeGenerator.cs (5)
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)); 2683throw new ArgumentException(SR.Format(SR.InvalidIdentifier, value), nameof(value));
src\libraries\Common\src\System\IO\TempFileCollection.cs (3)
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\CodeGenerator.cs (5)
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 (7)
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)); 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 (1)
74throw new InvalidOperationException(SR.Format(SR.Provider_does_not_support_options, CodeDomProviderType));
System\CodeDom\Compiler\Executor.cs (1)
90throw new ExternalException(SR.Format(SR.ExecTimeout, cmd), WAIT_TIMEOUT);