24 references to Format
dotnet-Microsoft.XmlSerializer.Generator (24)
Sgen.cs (24)
73errs.Add(SR.Format(SR.ErrInvalidArgument, arg));
85errs.Add(SR.Format(SR.ErrInvalidArgument, arg));
101errs.Add(SR.Format(SR.ErrInvalidArgument, arg));
113errs.Add(SR.Format(SR.ErrInvalidArgument, arg));
145errs.Add(SR.Format(SR.ErrInvalidArgument, arg));
159errs.Add(SR.Format(SR.ErrInvalidArgument, arg));
166errs.Add(SR.Format(SR.ErrInvalidArgument, arg));
180Console.Error.WriteLine(FormatMessage(parsableErrors, true, SR.Format(SR.Warning, err)));
188Console.Error.WriteLine(FormatMessage(parsableErrors, false, SR.Format(SR.ErrMissingRequiredArgument, SR.Format(SR.ErrAssembly, "assembly"))));
257Console.Error.WriteLine(FormatMessage(parsableerrors, false, SR.Format(SR.ErrorDetails, SR.Format(SR.ErrLoadType, typeName, assemblyName))));
303Console.Out.WriteLine(FormatMessage(parsableerrors, true, SR.Format(SR.InfoIgnoreType, type.FullName)));
332throw new ArgumentException(SR.Format(SR.ErrDirectoryNotExists, outputDirectory));
347throw new InvalidOperationException(SR.Format(SR.ErrDirectoryExists, codePath));
393throw new UnauthorizedAccessException(SR.Format(SR.DirectoryAccessDenied, outputDirectory));
407Console.Out.WriteLine(SR.Format(SR.InfoFileName, codePath));
413Console.Out.WriteLine(FormatMessage(parsableerrors, false, SR.Format(SR.ErrGenerationFailed, assembly.Location)));
418Console.Out.WriteLine(FormatMessage(parsableerrors, true, SR.Format(SR.InfoNoSerializableTypes, assembly.Location)));
462Console.Out.WriteLine(FormatMessage(parsableerrors, true, SR.Format(SR.InfoIgnoreType, type.FullName)));
483throw new InvalidOperationException(SR.Format(SR.ErrLoadAssembly, assemblyName));
498Console.Out.WriteLine(SR.Format(SR.HelpUsage, this.GetType().Assembly.GetName().Name.Substring("dotnet-".Length)));
501Console.Out.WriteLine(SR.Format(SR.HelpType, "--type"));
502Console.Out.WriteLine(SR.Format(SR.HelpProxy, "--proxytypes"));
503Console.Out.WriteLine(SR.Format(SR.HelpForce, "--force"));