2 writes to _syntaxPredicate
Microsoft.CodeAnalysis.Test.Utilities (2)
Diagnostics\DiagnosticDescription.cs (2)
90
_syntaxPredicate
= syntaxNodePredicate;
115
_syntaxPredicate
= syntaxNodePredicate;
12 references to _syntaxPredicate
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);
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);
280
if (
_syntaxPredicate
!= null)
285
if (!
_syntaxPredicate
(d._location.SourceTree.GetRoot().FindToken(_location.SourceSpan.Start, true).Parent))
293
if (d.
_syntaxPredicate
!= null)
298
if (!d.
_syntaxPredicate
(_location.SourceTree.GetRoot().FindToken(_location.SourceSpan.Start, true).Parent))
457
if (
_syntaxPredicate
!= null && _showPredicate)