9 references to GetNextDirective
Microsoft.CodeAnalysis.CSharp (1)
Syntax\DirectiveTriviaSyntax.cs (1)
229
d = d.
GetNextDirective
();
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
src\roslyn\src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryNullableDirective\CSharpRemoveUnnecessaryNullableDirectiveDiagnosticAnalyzer.cs (2)
105
for (var directive = root.GetFirstDirective(); directive is not null; directive = directive.
GetNextDirective
())
188
for (var directive = root.GetFirstDirective(); directive is not null; directive = directive.
GetNextDirective
())
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SuppressFormattingRule.cs (1)
321
var endDirective = pragmaWarningDirectiveTrivia.
GetNextDirective
(trivia => IsFormatDirective(trivia, SyntaxKind.RestoreKeyword));
Microsoft.CodeAnalysis.CSharp.Features (3)
CodeRefactorings\EnableNullable\EnableNullableCodeRefactoringProvider.cs (1)
129
for (var directive = firstDirective; directive is not null; directive = directive.
GetNextDirective
(s_isNullableDirectiveTriviaPredicate))
src\roslyn\src\Analyzers\CSharp\Analyzers\RemoveUnnecessaryNullableDirective\CSharpRemoveUnnecessaryNullableDirectiveDiagnosticAnalyzer.cs (2)
105
for (var directive = root.GetFirstDirective(); directive is not null; directive = directive.
GetNextDirective
())
188
for (var directive = root.GetFirstDirective(); directive is not null; directive = directive.
GetNextDirective
())
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SuppressFormattingRule.cs (1)
321
var endDirective = pragmaWarningDirectiveTrivia.
GetNextDirective
(trivia => IsFormatDirective(trivia, SyntaxKind.RestoreKeyword));
Roslyn.Diagnostics.CSharp.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Rules\SuppressFormattingRule.cs (1)
321
var endDirective = pragmaWarningDirectiveTrivia.
GetNextDirective
(trivia => IsFormatDirective(trivia, SyntaxKind.RestoreKeyword));