7 references to EditOneDeclarationAsync
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (6)
CodeGeneration\SymbolEditorTests.cs (6)
359
var newSymbol = (INamedTypeSymbol)await editor.
EditOneDeclarationAsync
(symbol, location, (e, d) => e.AddMember(d, e.Generator.MethodDeclaration("m")));
396
var newSymbol = (INamedTypeSymbol)await editor.
EditOneDeclarationAsync
(symbol, location, (e, d) => e.AddMember(d, e.Generator.MethodDeclaration("m")));
437
var newSymbol = (INamedTypeSymbol)await editor.
EditOneDeclarationAsync
(symbol, location, (e, d) => e.AddMember(d, e.Generator.MethodDeclaration("m")));
441
var newSymbol2 = (INamedTypeSymbol)await editor.
EditOneDeclarationAsync
(newSymbol, location, (e, d) => e.AddMember(d, e.Generator.MethodDeclaration("m2")));
483
var newSymbol = (INamedTypeSymbol)await editor.
EditOneDeclarationAsync
(symbol, location, (e, d) => e.AddMember(d, e.Generator.MethodDeclaration("m")));
488
var newSymbol2 = (INamedTypeSymbol)await editor.
EditOneDeclarationAsync
(newSymbol, newLocation, (e, d) => e.AddMember(d, e.Generator.MethodDeclaration("m2")));
Microsoft.CodeAnalysis.Workspaces (1)
Editing\SymbolEditorExtensions.cs (1)
71
return await editor.
EditOneDeclarationAsync
(