6 writes to _code
Microsoft.CodeAnalysis.Test.Utilities (6)
Diagnostics\DiagnosticDescription.cs (6)
85
_code
= code;
110
_code
= code;
125
_code
= d.Code;
136
_code
= d.Id;
144
_code
= d.Code;
150
_code
= d.Code;
14 references to _code
Microsoft.CodeAnalysis.Test.Utilities (14)
Diagnostics\DiagnosticDescription.cs (14)
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);
207
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);
237
public object Code =>
_code
;
254
if (!
_code
.Equals(d.
_code
))
349
hashCode =
_code
.GetHashCode();
386
sb.Append('"').Append(
_code
).Append('"');
392
sb.Append(Enum.GetName(_errorCodeType,
_code
));