9 references to SetBaseTypeAsync
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (8)
CodeGeneration\SymbolEditorTests.cs (8)
767
var newSymbolC = await editor.
SetBaseTypeAsync
(symbol, g => g.IdentifierName("A"));
808
var newSymbolC = await editor.
SetBaseTypeAsync
(symbol, g => g.IdentifierName("A"));
841
var newSymbolC = await editor.
SetBaseTypeAsync
(symbol, g => g.IdentifierName("A"));
874
var newSymbolC = editor.
SetBaseTypeAsync
(symbol, g => g.IdentifierName("A"));
907
var newSymbolC = await editor.
SetBaseTypeAsync
(symbol, g => null);
948
var newSymbolC = await editor.
SetBaseTypeAsync
(symbol, g => null);
981
var newSymbolC = await editor.
SetBaseTypeAsync
(symbol, g => null);
1006
var newSymbolC = await editor.
SetBaseTypeAsync
(symbol, g => null);
Microsoft.CodeAnalysis.Workspaces (1)
Editing\SymbolEditorExtensions.cs (1)
99
return editor.
SetBaseTypeAsync
(symbol, g => newBaseType != null ? g.TypeExpression(newBaseType) : null, cancellationToken);