25 references to MessageCategory
illink (25)
Linker\Driver.cs (1)
863
Debug.Assert (lex.MessageContainer.Category ==
MessageCategory
.Error);
Linker\LinkContext.cs (4)
535
if ((message.Category ==
MessageCategory
.Diagnostic ||
536
message.Category ==
MessageCategory
.Info) && !LogMessages)
544
if (message.Category ==
MessageCategory
.Error || message.Category ==
MessageCategory
.WarningAsError)
Linker\LinkerFatalErrorException.cs (2)
20
if (message.Category !=
MessageCategory
.Error)
34
if (message.Category !=
MessageCategory
.Error)
Linker\MessageContainer.cs (18)
24
public
MessageCategory
Category { get; }
55
return new MessageContainer (
MessageCategory
.Error, text, code, subcategory, origin);
71
return new MessageContainer (
MessageCategory
.Error, id, origin: origin, args: args);
93
return new MessageContainer (
MessageCategory
.Error, text, code, subcategory, origin);
175
return new MessageContainer (
MessageCategory
.WarningAsError, text, code, subcategory, origin);
177
return new MessageContainer (
MessageCategory
.Warning, text, code, subcategory, origin);
195
return new MessageContainer (
MessageCategory
.WarningAsError, id, subcategory, origin, args);
197
return new MessageContainer (
MessageCategory
.Warning, id, subcategory, origin, args);
204
if (Category is
MessageCategory
.Warning or
MessageCategory
.WarningAsError) {
253
return new MessageContainer (
MessageCategory
.Info, text, null);
258
return new MessageContainer (
MessageCategory
.Info, text, null, "", origin);
268
return new MessageContainer (
MessageCategory
.Diagnostic, text, null);
271
private MessageContainer (
MessageCategory
category, string text, int? code, string subcategory = MessageSubCategory.None, MessageOrigin? origin = null)
280
private MessageContainer (
MessageCategory
category, DiagnosticId id, string subcategory = MessageSubCategory.None, MessageOrigin? origin = null, params string[] args)
304
case
MessageCategory
.Error:
305
case
MessageCategory
.WarningAsError:
308
case
MessageCategory
.Warning: