68 references to ToolConsole
dotnet-svcutil.xmlserializer (68)
Microsoft\Tools\ServiceModel\SvcUtil\ExportModule.cs (1)
89ToolConsole.WriteError(error);
Microsoft\Tools\ServiceModel\SvcUtil\InputModule.cs (2)
240ToolConsole.WriteWarning(SR.Format(SR.WrnCouldNotLoadTypesFromReferenceAssemblyAt, assembly.Location)); 243ToolConsole.WriteLine(" " + e.Message, 2);
Microsoft\Tools\ServiceModel\SvcUtil\Options.cs (10)
177ToolConsole.SetOptions(_arguments.ContainsArgument(Options.Cmd.Debug)); 377ToolConsole.WriteWarning(SR.Format(SR.ErrCouldNotLoadReferenceAssemblyAt, path)); 439ToolConsole.WriteError("Missing System.ServiceModel.Primitives"); 445ToolConsole.WriteLine("Load Assembly From " + smassembly); 447ToolConsole.WriteLine($"Successfully Load {smassembly}"); 451ToolConsole.WriteError(string.Format("Fail to load the assembly {0} with the error {1}", smassembly, e.Message)); 459ToolConsole.WriteLine("Load Assembly From " + smpassembly); 461ToolConsole.WriteLine($"Successfully Load {smpassembly}"); 465ToolConsole.WriteError(string.Format("Fail to load the assembly {0} with the error {1}", smpassembly, e.Message)); 472ToolConsole.WriteError("Need to pass the System.ServiceModel.Primitives.dll path through the 'smreference' parameter.");
Microsoft\Tools\ServiceModel\SvcUtil\Tool.cs (7)
32ToolConsole.WriteHeader(); 33ToolConsole.WriteToolError(ae); 38ToolConsole.WriteToolError(re); 47ToolConsole.WriteUnexpectedError(e); 58ToolConsole.WriteError("Please file a bug or report the following issue with this tool:"); 60ToolConsole.WriteLine(st.ToString()); 62ToolConsole.WriteUnexpectedError(message);
Microsoft\Tools\ServiceModel\SvcUtil\ToolConsole.cs (27)
26ToolConsole.s_debug = debug; 73ToolConsole.WriteLine(SR.Format(SR.MoreHelp, Options.Abbr.Help)); 100ToolConsole.WriteLine(); 121ToolConsole.WriteLine(SR.Format(SR.Logo, ThisAssembly.InformationalVersion, SR.WcfTrademarkForCmdLine, SR.CopyrightForCmdLine)); 127ToolConsole.WriteLine(); 128ToolConsole.WriteLine(); 130ToolConsole.WriteLine(); 131ToolConsole.WriteLine(); 133ToolConsole.WriteLine(); 134ToolConsole.WriteLine(); 136ToolConsole.WriteLine(); 137ToolConsole.WriteLine(); 147ToolConsole.WriteLine(SR.Format(SR.HelpUsage1)); 148ToolConsole.WriteLine(); 149ToolConsole.WriteLine(SR.Format(SR.HelpUsage6)); 253ToolConsole.WriteLine(string.Format(CultureInfo.InvariantCulture, " {0}", syntax)); 255ToolConsole.WriteLine(); 332ToolConsole.WriteLine(); 402ToolConsole.WriteLine(new string(' ', _nameStart) + _name); 403ToolConsole.WriteLine(); 408ToolConsole.WriteLine(); 414ToolConsole.WriteLine(); 419ToolConsole.WriteLine(); 424ToolConsole.WriteLine(SR.Format(SR.HelpOptions)); 425ToolConsole.WriteLine(); 427ToolConsole.WriteLine(); 456ToolConsole.WriteLine(_stringBuilder.ToString());
Microsoft\Tools\ServiceModel\SvcUtil\ToolRuntime.cs (4)
22ToolConsole.WriteHeader(); 26ToolConsole.WriteHelpText(); 31ToolConsole.WriteWarning(System.SR.WrnToolIsUsedDirectly); 51ToolConsole.WriteLine(System.SR.Format(System.SR.GeneratingSerializer));
Microsoft\Tools\ServiceModel\SvcUtil\XmlSerializerGenerator.cs (17)
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)); 112ToolConsole.WriteLine(sourceFilePath); 124ToolConsole.WriteWarning(SR.Format(SR.WrnUnableToLoadContractForSGen, contractType, errorMessage)); 130ToolConsole.WriteError($"Not found type System.ServiceModel.Description.ContractDescription in {Tool.SMAssembly.FullName}"); 137ToolConsole.WriteError($"Not found property ContractType in type {contractDescriptionType}"); 144ToolConsole.WriteError($"Not found type System.ServiceModel.Description.XmlSerializerOperationBehaviorType in {Tool.SMAssembly.FullName}"); 151ToolConsole.WriteError($"Not found type System.ServiceModel.Description.OperationDescription in {Tool.SMAssembly.FullName}"); 158ToolConsole.WriteError($"Not found method get_Behaviors in type {operationType}"); 165ToolConsole.WriteError($"Not found type System.Collections.Generic.KeyedByTypeCollection`1 in {Tool.SMAssembly.FullName}"); 172ToolConsole.WriteError($"Not found type System.ServiceModel.Description.IOperationBehavior in {Tool.SMAssembly.FullName}"); 179ToolConsole.WriteError($"Cannot make Generic Type System.Collections.Generic.KeyedByTypeCollection<IOperationBehavior> in {Tool.SMAssembly.FullName}"); 186ToolConsole.WriteError($"Not found method find in type {keyedByTypeCollectionType}"); 193ToolConsole.WriteError($"Not found method Find<XmlSerializerOperationBehavior> in operation.Behaviors"); 200ToolConsole.WriteError($"Not found method getXmlMappings in XmlSerializerOperationBehavior"); 207ToolConsole.WriteError($"Not found property Operations in type {contractDescriptionType}");