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