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