34 references to Format
dotnet-svcutil.xmlserializer (34)
Microsoft\Tools\ServiceModel\SvcUtil\CommandLineParser.cs (5)
176throw new ArgumentException(SR.Format(SR.ErrSwitchMissing, arg)); 215throw new ArgumentException(SR.Format(SR.ErrUnknownSwitch, arg.ToLower(CultureInfo.InvariantCulture))); 223throw new ArgumentException(SR.Format(SR.ErrUnexpectedValue, arg.ToLower(CultureInfo.InvariantCulture))); 228throw new ArgumentException(SR.Format(SR.ErrExpectedValue, arg.ToLower(CultureInfo.InvariantCulture))); 235throw new ArgumentException(SR.Format(SR.ErrSingleUseSwitch, arg.ToLower(CultureInfo.InvariantCulture)));
Microsoft\Tools\ServiceModel\SvcUtil\InputModule.cs (9)
99throw new ToolInputException(SR.Format(SR.ErrUnableToLoadFile, path), e); 104throw new ToolInputException(SR.Format(SR.ErrInvalidInputPath, path)); 171throw new ToolInputException(SR.Format(SR.ErrDirectoryNotFound, dirInfo.FullName)); 176throw new ToolInputException(SR.Format(SR.ErrDirectoryInsteadOfFile, path)); 180throw new ToolInputException(SR.Format(SR.ErrNoFilesFound, path)); 208return new ToolInputException(SR.Format(SR.ErrInputConflictsWithMode, inputSrc)); 227throw new ToolInputException(SR.Format(SR.ErrAssemblyLoadFailed, path), e); 240ToolConsole.WriteWarning(SR.Format(SR.WrnCouldNotLoadTypesFromReferenceAssemblyAt, assembly.Location)); 249throw new ToolInputException(SR.Format(SR.ErrCouldNotLoadTypesFromAssemblyAt, assembly.Location));
Microsoft\Tools\ServiceModel\SvcUtil\Options.cs (2)
326throw new ToolOptionException(SR.Format(SR.ErrAmbiguousOptionModeConflict, optionStr)); 377ToolConsole.WriteWarning(SR.Format(SR.ErrCouldNotLoadReferenceAssemblyAt, path));
Microsoft\Tools\ServiceModel\SvcUtil\OutputModule.cs (2)
115throw new ToolRuntimeException(SR.Format(SR.ErrCannotCreateDirectory, path), e); 145throw new ToolRuntimeException(SR.Format(SR.ErrUnableToUniquifyFilename, fileNameWithExtension), null);
Microsoft\Tools\ServiceModel\SvcUtil\ToolConsole.cs (13)
73ToolConsole.WriteLine(SR.Format(SR.MoreHelp, Options.Abbr.Help)); 156helpCategory.Description = SR.Format(SR.HelpXmlSerializerTypeGenerationDescription, ThisAssembly.Title); 167helpCategory.Options[0].HelpText = SR.Format(SR.HelpXmlSerializerTypeGenerationSyntaxInput2, Options.Abbr.Reference); 170helpCategory.Options[1].HelpText = SR.Format(SR.HelpXmlSerializerTypeGenerationSyntaxInput3, Options.Abbr.ExcludeType); 173helpCategory.Options[2].HelpText = SR.Format(SR.HelpXmlSerializerTypeGenerationSyntaxInput4, Options.Abbr.Out); 185option.HelpText = SR.Format(SR.HelpDirectory, Options.Abbr.Directory); 193option.HelpText = SR.Format(SR.HelpHelp, Options.Abbr.Help); 204helpCategory.Description = SR.Format(SR.HelpCodeGenerationDescription, ThisAssembly.Title); 222helpCategory.Options[0].HelpText = SR.Format(SR.HelpOut, Options.Abbr.Out); 225helpCategory.Options[1].HelpText = SR.Format(SR.HelpNamespace, Options.Abbr.Namespace); 229helpCategory.Options[2].HelpText = SR.Format(SR.HelpReferenceCodeGeneration, Options.Abbr.Reference); 232helpCategory.Options[3].HelpText = SR.Format(SR.HelpCollectionType, Options.Abbr.CollectionType); 235helpCategory.Options[4].HelpText = SR.Format(SR.HelpExcludeTypeCodeGeneration, Options.Abbr.ExcludeType);
Microsoft\Tools\ServiceModel\SvcUtil\XmlSerializerGenerator.cs (3)
35ToolConsole.WriteWarning(SR.Format(SR.WrnOptionConflictsWithInput, Options.Cmd.Out)); 53ToolConsole.WriteWarning(SR.Format(SR.WrnNoServiceContractTypes, assembly.GetName().CodeBase)); 58ToolConsole.WriteWarning(SR.Format(SR.WrnNoXmlSerializerOperationBehavior, assembly.GetName().CodeBase));