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)
197return new DiagnosticDescription(_code, _isWarningAsError, _squiggledText, arguments, _startPosition, _syntaxPredicate, false, _errorCodeType, _defaultSeverityOpt, _effectiveSeverityOpt, _isSuppressed); 202return new DiagnosticDescription(_code, _isWarningAsError, _squiggledText, arguments, _startPosition, _syntaxPredicate, true, _errorCodeType, _defaultSeverityOpt, _effectiveSeverityOpt, _isSuppressed); 207return new DiagnosticDescription(_code, isWarningAsError, _squiggledText, _arguments, _startPosition, _syntaxPredicate, true, _errorCodeType, _defaultSeverityOpt, _effectiveSeverityOpt, _isSuppressed); 212return new DiagnosticDescription(_code, _isWarningAsError, _squiggledText, _arguments, _startPosition, _syntaxPredicate, true, _errorCodeType, defaultSeverity, _effectiveSeverityOpt, _isSuppressed); 217return new DiagnosticDescription(_code, _isWarningAsError, _squiggledText, _arguments, _startPosition, _syntaxPredicate, true, _errorCodeType, _defaultSeverityOpt, effectiveSeverity, _isSuppressed); 225return new DiagnosticDescription(_code, _isWarningAsError, _squiggledText, _arguments, new LinePosition(line - 1, column - 1), _syntaxPredicate, _argumentOrderDoesNotMatter, _errorCodeType, _defaultSeverityOpt, _effectiveSeverityOpt, _isSuppressed); 234return new DiagnosticDescription(_code, _isWarningAsError, _squiggledText, _arguments, _startPosition, syntaxPredicate, _argumentOrderDoesNotMatter, _errorCodeType, _defaultSeverityOpt, _effectiveSeverityOpt, _isSuppressed); 238public string SquiggledText => _squiggledText; 265if (_squiggledText != d._squiggledText) 354hashCode = Hash.Combine(_squiggledText, hashCode); 395if (_squiggledText != null) 397if (_squiggledText.Contains("\n") || _squiggledText.Contains("\\") || _squiggledText.Contains("\"")) 400sb.Append(_squiggledText.Replace("\"", "\"\"")); 405sb.Append(_squiggledText);