31 references to Utils
dotnet-svcutil-lib (31)
CodeSerializer.cs (3)
51
if (e is ToolRuntimeException ||
Utils
.IsFatalOrUnexpected(e))
75
if (
Utils
.IsFatalOrUnexpected(e)) throw;
106
if (
Utils
.IsFatalOrUnexpected(e)) throw;
CommandLineParser.cs (1)
201
if (
Utils
.IsFatalOrUnexpected(ex)) throw;
CommandProcessorOptions.cs (4)
243
if (
Utils
.IsFatalOrUnexpected(ex)) throw;
949
if (
Utils
.IsFatalOrUnexpected(ex)) throw;
962
if (
Utils
.IsFatalOrUnexpected(ex)) throw;
985
if (
Utils
.IsFatalOrUnexpected(ex)) throw;
ImportModule.cs (1)
218
if (
Utils
.IsFatalOrUnexpected(e)) throw;
MarkupTelemetryHelper.cs (1)
122
var str =
Utils
.GetExceptionMessage(ex, includeStackTrace: true);
Metadata\MetadaExchangeResolver.cs (2)
201
if (
Utils
.IsFatalOrUnexpected(ex)) throw;
279
if (
Utils
.IsFatalOrUnexpected(ex)) throw;
Metadata\MetadataDocumentLoader.cs (1)
402
if (
Utils
.IsFatalOrUnexpected(ex)) throw;
OutputPathHelper.cs (2)
79
if (
Utils
.IsFatalOrUnexpected(e)) throw;
103
if (
Utils
.IsFatalOrUnexpected(e)) throw;
Shared\MSBuildProj.cs (2)
867
if (
Utils
.IsFatalOrUnexpected(ex)) throw;
948
if (
Utils
.IsFatalOrUnexpected(ex)) throw;
Shared\Options\ApplicationOptions.cs (1)
148
if (
Utils
.IsFatalOrUnexpected(ex)) throw;
Shared\Options\OptionsSerializer.cs (2)
87
if (
Utils
.IsFatalOrUnexpected(ex)) throw;
119
if (
Utils
.IsFatalOrUnexpected(ex)) throw;
Shared\Options\OptionValueParser.cs (1)
255
if (
Utils
.IsFatalOrUnexpected(ex)) throw;
Shared\ProjectPropertyResolver.cs (1)
97
if (
Utils
.IsFatalOrUnexpected(ex)) throw;
Tool.cs (5)
234
if (
Utils
.IsFatalOrUnexpected(ex)) throw;
235
var exception = new ToolInputException(
Utils
.GetExceptionMessage(ex), ex);
391
else if (
Utils
.IsUnexpected(ex))
409
exMsg =
Utils
.GetExceptionMessage(ex, true);
417
exMsg = exMsg ??
Utils
.GetExceptionMessage(ex, true);
ToolConsole.cs (4)
41
toolError.AppendLine(
Utils
.GetExceptionMessage(ex));
47
toolError.AppendLine(
Utils
.GetExceptionMessage(me.WSMexException));
67
WriteError(
Utils
.GetExceptionMessage(e), SR.ErrorPrefix);
73
WriteError(
Utils
.GetExceptionMessage(e), prefix);