2 writes to _defaultSeverity
Microsoft.CodeAnalysis (2)
Diagnostic\DiagnosticInfo.cs (2)
53
_defaultSeverity
= messageProvider.GetSeverity(errorCode);
62
_defaultSeverity
= original.DefaultSeverity;
7 references to _defaultSeverity
Microsoft.CodeAnalysis (7)
Diagnostic\DiagnosticInfo.cs (7)
54
_effectiveSeverity =
_defaultSeverity
;
154
Debug.Assert(!isWarningAsError ||
_defaultSeverity
== DiagnosticSeverity.Warning);
191
return GetOrCreateDescriptor(_errorCode,
_defaultSeverity
, _messageProvider);
215
return
_defaultSeverity
;
227
if (_effectiveSeverity !=
_defaultSeverity
)
268
return GetCustomTags(
_defaultSeverity
);
282
return
_defaultSeverity
== DiagnosticSeverity.Error;