2 writes to Error
rzc (2)
Application.cs (1)
27
Error
= error ?? Error;
CommandBase.cs (1)
25
Error
= parent.Error ?? Error;
41 references to Error
rzc (41)
Application.cs (7)
27
Error = error ??
Error
;
60
Error
.WriteLine(innerException.Message);
61
Error
.WriteLine(innerException.StackTrace);
69
Error
.WriteLine(ex.Message);
75
Error
.WriteLine("Cancelled");
80
Error
.WriteLine(ex.Message);
81
Error
.WriteLine(ex.StackTrace);
CommandBase.cs (2)
25
Error = parent.
Error
??
Error
;
DiscoverCommand.cs (11)
54
Error
.WriteLine($"{TagHelperManifest.Description} must be specified.");
60
Error
.WriteLine($"{Assemblies.Name} must have at least one value.");
71
Error
.WriteLine($"{Version.Description} must be specified.");
76
Error
.WriteLine($"Invalid option {Version.Value()} for Razor language version --version; must be Latest or a valid version in range {RazorLanguageVersion.Version_1_0} to {RazorLanguageVersion.Latest}.");
82
Error
.WriteLine($"{Configuration.Description} must be specified.");
88
Error
.WriteLine($"{ExtensionNames.Description} and {ExtensionFilePaths.Description} should have the same number of values.");
95
Error
.WriteLine($"Extension file paths must be fully-qualified, absolute paths.");
100
PatchExtensions(ExtensionNames, ExtensionFilePaths,
Error
);
148
Error
.WriteLine($"Extensions could not be loaded. See output for details.");
242
Error
.WriteLine(diagnostic.ToString());
252
Error
.WriteLine("The Razor source generator did not produce the expected host output.");
GenerateCommand.cs (17)
82
Error
.WriteLine($"Extensions could not be loaded. See output for details.");
113
Error
.WriteLine($"{Sources.Description} should have at least one value.");
119
Error
.WriteLine($"{Sources.Description} has {Sources.Values.Count}, but {Outputs.Description} has {Outputs.Values.Count} values.");
125
Error
.WriteLine($"{Sources.Description} has {Sources.Values.Count}, but {RelativePaths.Description} has {RelativePaths.Values.Count} values.");
133
Error
.WriteLine($"{Sources.Description} has {Sources.Values.Count}, but {FileKinds.Description} has {FileKinds.Values.Count} values.");
140
Error
.WriteLine($"{CssScopeSources.Description} has {CssScopeSources.Values.Count}, but {CssScopeValues.Description} has {CssScopeValues.Values.Count} values.");
151
Error
.WriteLine($"{Version.Description} must be specified.");
156
Error
.WriteLine($"Invalid option {Version.Value()} for Razor language version --version; must be Latest or a valid version in range {RazorLanguageVersion.Version_1_0} to {RazorLanguageVersion.Latest}.");
162
Error
.WriteLine($"{Configuration.Description} must be specified.");
168
Error
.WriteLine($"{ExtensionNames.Description} and {ExtensionFilePaths.Description} should have the same number of values.");
175
Error
.WriteLine($"Extension file paths must be fully-qualified, absolute paths.");
180
DiscoverCommand.PatchExtensions(ExtensionNames, ExtensionFilePaths,
Error
);
241
Error
.WriteLine($"Unknown C# language version {rawLanguageVersion}.");
262
Error
.WriteLine(error.ToString());
267
Error
.WriteLine($"And {errorCount - i + 1} more warnings/errors.");
330
Error
.WriteLine(diagnostic.ToString());
340
Error
.WriteLine("The Razor source generator did not produce the expected host output.");
ServerCommand.cs (2)
69
Error
.Write($"Server mutex creation failed. {ex.Message}");
77
Error
.Write("Another server already running...");
ShutdownCommand.cs (2)
66
Error
.Write(ex);
76
Error
.Write(ex);