2 implementations of GetCSharpSyntaxTreeAsync
Microsoft.AspNetCore.Razor.Test.Common.Tooling (1)
ProjectSystem\TestDocumentSnapshot.cs (1)
51public ValueTask<SyntaxTree> GetCSharpSyntaxTreeAsync(CancellationToken cancellationToken)
Microsoft.CodeAnalysis.Remote.Razor (1)
ProjectSystem\RemoteDocumentSnapshot.cs (1)
99public ValueTask<SyntaxTree> GetCSharpSyntaxTreeAsync(CancellationToken cancellationToken)
7 references to GetCSharpSyntaxTreeAsync
Microsoft.CodeAnalysis.Razor.Workspaces (7)
CodeActions\Razor\GenerateEventHandlerCodeActionResolver.cs (1)
92var csharpSyntaxTree = await documentContext.Snapshot.GetCSharpSyntaxTreeAsync(cancellationToken).ConfigureAwait(false);
DocumentMapping\RazorEditService.cs (1)
52var originalCSharpSyntaxTree = await snapshot.GetCSharpSyntaxTreeAsync(cancellationToken).ConfigureAwait(false);
Formatting\CSharpFormatter.cs (1)
260var syntaxTree = await context.CurrentSnapshot.GetCSharpSyntaxTreeAsync(cancellationToken).ConfigureAwait(false);
Formatting\Passes\CSharpFormattingPass.cs (1)
38var csharpSyntaxTrue = await changedContext.CurrentSnapshot.GetCSharpSyntaxTreeAsync(cancellationToken).ConfigureAwait(false);
Formatting\Passes\HtmlFormattingPass.cs (1)
93var csharpSyntaxTree = await context.OriginalSnapshot.GetCSharpSyntaxTreeAsync(cancellationToken).ConfigureAwait(false);
GoToDefinition\AbstractDefinitionService.cs (1)
114var syntaxTree = await documentSnapshot.GetCSharpSyntaxTreeAsync(cancellationToken).ConfigureAwait(false);
GoToDefinition\RazorComponentDefinitionHelpers.cs (1)
174var csharpSyntaxTree = await documentSnapshot.GetCSharpSyntaxTreeAsync(cancellationToken).ConfigureAwait(false);