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);
237
var currentSymbol = await this.
GetCurrentSymbolAsync
(symbol, cancellationToken).ConfigureAwait(false);
307
return await this.
GetCurrentSymbolAsync
(currentSymbol, cancellationToken).ConfigureAwait(false);
369
var currentSymbol = await this.
GetCurrentSymbolAsync
(symbol, cancellationToken).ConfigureAwait(false);
401
var currentSymbol = await this.
GetCurrentSymbolAsync
(symbol, cancellationToken).ConfigureAwait(false);
404
var currentMember = await this.
GetCurrentSymbolAsync
(member, cancellationToken).ConfigureAwait(false);
458
var currentSymbol = await this.
GetCurrentSymbolAsync
(symbol, cancellationToken).ConfigureAwait(false);
500
return await
GetCurrentSymbolAsync
(symbol, cancellationToken).ConfigureAwait(false);
Editing\SymbolEditorExtensions.cs (1)
32
baseOrInterfaceType = (ITypeSymbol)(await editor.
GetCurrentSymbolAsync
(baseOrInterfaceType, cancellationToken).ConfigureAwait(false));