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