4 references to GetPrecedingModifiers
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\CSharpSyntaxContext.cs (1)
244
var precedingModifiers = syntaxTree.
GetPrecedingModifiers
(position, cancellationToken);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\ContextQuery\SyntaxTreeExtensions.cs (3)
91
var modifierTokens = syntaxTree.
GetPrecedingModifiers
(position, cancellationToken);
289
var modifierTokens = context?.PrecedingModifiers ?? syntaxTree.
GetPrecedingModifiers
(position, cancellationToken);
586
var modifierTokens = context?.PrecedingModifiers ?? syntaxTree.
GetPrecedingModifiers
(position, cancellationToken);