9 references to SetBaseTypeAsync
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (8)
CodeGeneration\SymbolEditorTests.cs (8)
767var newSymbolC = await editor.SetBaseTypeAsync(symbol, g => g.IdentifierName("A")); 808var newSymbolC = await editor.SetBaseTypeAsync(symbol, g => g.IdentifierName("A")); 841var newSymbolC = await editor.SetBaseTypeAsync(symbol, g => g.IdentifierName("A")); 874var newSymbolC = editor.SetBaseTypeAsync(symbol, g => g.IdentifierName("A")); 907var newSymbolC = await editor.SetBaseTypeAsync(symbol, g => null); 948var newSymbolC = await editor.SetBaseTypeAsync(symbol, g => null); 981var newSymbolC = await editor.SetBaseTypeAsync(symbol, g => null); 1006var 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);