3 writes to _squiggledText
Microsoft.CodeAnalysis.Test.Utilities (3)
Diagnostics\DiagnosticDescription.cs (3)
87
_squiggledText
= squiggledText;
112
_squiggledText
= squiggledText;
161
_squiggledText
= _location.SourceTree.GetText().ToString(_location.SourceSpan);
17 references to _squiggledText
Microsoft.CodeAnalysis.Test.Utilities (17)
Diagnostics\DiagnosticDescription.cs (17)
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);
238
public string SquiggledText =>
_squiggledText
;
265
if (
_squiggledText
!= d.
_squiggledText
)
354
hashCode = Hash.Combine(
_squiggledText
, hashCode);
395
if (
_squiggledText
!= null)
397
if (
_squiggledText
.Contains("\n") ||
_squiggledText
.Contains("\\") ||
_squiggledText
.Contains("\""))
400
sb.Append(
_squiggledText
.Replace("\"", "\"\""));
405
sb.Append(
_squiggledText
);