11 references to GetCurrentSymbolAsync
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (2)
CodeGeneration\SymbolEditorTests.cs (2)
563
var reboundSymbol = await editor.
GetCurrentSymbolAsync
(symbol);
600
var reboundSymbol = await editor.
GetCurrentSymbolAsync
(symbol);
Microsoft.CodeAnalysis.Workspaces (9)
Editing\SymbolEditor.cs (8)
185
var currentSymbol = await this.
GetCurrentSymbolAsync
(symbol, cancellationToken).ConfigureAwait(false);
239
var currentSymbol = await this.
GetCurrentSymbolAsync
(symbol, cancellationToken).ConfigureAwait(false);
309
return await this.
GetCurrentSymbolAsync
(currentSymbol, cancellationToken).ConfigureAwait(false);
371
var currentSymbol = await this.
GetCurrentSymbolAsync
(symbol, cancellationToken).ConfigureAwait(false);
403
var currentSymbol = await this.
GetCurrentSymbolAsync
(symbol, cancellationToken).ConfigureAwait(false);
406
var currentMember = await this.
GetCurrentSymbolAsync
(member, cancellationToken).ConfigureAwait(false);
460
var currentSymbol = await this.
GetCurrentSymbolAsync
(symbol, cancellationToken).ConfigureAwait(false);
502
return await
GetCurrentSymbolAsync
(symbol, cancellationToken).ConfigureAwait(false);
Editing\SymbolEditorExtensions.cs (1)
32
baseOrInterfaceType = (ITypeSymbol)(await editor.
GetCurrentSymbolAsync
(baseOrInterfaceType, cancellationToken).ConfigureAwait(false));