9 references to SetBaseTypeAsync
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (8)
CodeGeneration\SymbolEditorTests.cs (8)
755var newSymbolC = await editor.SetBaseTypeAsync(symbol, g => g.IdentifierName("A")); 796var newSymbolC = await editor.SetBaseTypeAsync(symbol, g => g.IdentifierName("A")); 833var newSymbolC = await editor.SetBaseTypeAsync(symbol, g => g.IdentifierName("A")); 866var newSymbolC = editor.SetBaseTypeAsync(symbol, g => g.IdentifierName("A")); 899var newSymbolC = await editor.SetBaseTypeAsync(symbol, g => null); 936var newSymbolC = await editor.SetBaseTypeAsync(symbol, g => null); 973var newSymbolC = await editor.SetBaseTypeAsync(symbol, g => null); 1002var newSymbolC = await editor.SetBaseTypeAsync(symbol, g => null);
Microsoft.CodeAnalysis.Workspaces (1)
Editing\SymbolEditorExtensions.cs (1)
99return editor.SetBaseTypeAsync(symbol, g => newBaseType != null ? g.TypeExpression(newBaseType) : null, cancellationToken);