2 references to IsAnyCodeDirective
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\BlockSyntaxExtensions.cs (2)
53
var leadingDirectives = statement.GetLeadingTrivia().Where(
IsAnyCodeDirective
).ToImmutableArray();
54
var closeBraceLeadingDirectives = block.CloseBraceToken.LeadingTrivia.Where(
IsAnyCodeDirective
).ToImmutableArray();