3 writes to _isWarningAsError
Microsoft.CodeAnalysis.Test.Utilities (3)
Diagnostics\DiagnosticDescription.cs (3)
86
_isWarningAsError
= isWarningAsError;
111
_isWarningAsError
= false;
126
_isWarningAsError
= d.IsWarningAsError;
12 references to _isWarningAsError
Microsoft.CodeAnalysis.Test.Utilities (12)
Diagnostics\DiagnosticDescription.cs (12)
192
return new DiagnosticDescription(_code,
_isWarningAsError
, squiggledText, _arguments, _startPosition, _syntaxPredicate, false, _errorCodeType, _defaultSeverityOpt, _effectiveSeverityOpt, _isSuppressed);
197
return new DiagnosticDescription(_code,
_isWarningAsError
, _squiggledText, arguments, _startPosition, _syntaxPredicate, false, _errorCodeType, _defaultSeverityOpt, _effectiveSeverityOpt, _isSuppressed);
202
return new DiagnosticDescription(_code,
_isWarningAsError
, _squiggledText, arguments, _startPosition, _syntaxPredicate, true, _errorCodeType, _defaultSeverityOpt, _effectiveSeverityOpt, _isSuppressed);
212
return new DiagnosticDescription(_code,
_isWarningAsError
, _squiggledText, _arguments, _startPosition, _syntaxPredicate, true, _errorCodeType, defaultSeverity, _effectiveSeverityOpt, _isSuppressed);
217
return new DiagnosticDescription(_code,
_isWarningAsError
, _squiggledText, _arguments, _startPosition, _syntaxPredicate, true, _errorCodeType, _defaultSeverityOpt, effectiveSeverity, _isSuppressed);
225
return new DiagnosticDescription(_code,
_isWarningAsError
, _squiggledText, _arguments, new LinePosition(line - 1, column - 1), _syntaxPredicate, _argumentOrderDoesNotMatter, _errorCodeType, _defaultSeverityOpt, _effectiveSeverityOpt, _isSuppressed);
234
return new DiagnosticDescription(_code,
_isWarningAsError
, _squiggledText, _arguments, _startPosition, syntaxPredicate, _argumentOrderDoesNotMatter, _errorCodeType, _defaultSeverityOpt, _effectiveSeverityOpt, _isSuppressed);
242
public bool IsWarningAsError =>
_isWarningAsError
;
257
if (
_isWarningAsError
!= d.
_isWarningAsError
)
350
hashCode = Hash.Combine(
_isWarningAsError
.GetHashCode(), hashCode);
442
if (
_isWarningAsError
)