|
|
|
@ -34,7 +34,6 @@ namespace ICSharpCode.NRefactory.CSharp.Refactoring |
|
|
|
var eventDecl = node.Parent as EventDeclaration; |
|
|
|
var eventDecl = node.Parent as EventDeclaration; |
|
|
|
if (eventDecl == null) |
|
|
|
if (eventDecl == null) |
|
|
|
return null; |
|
|
|
return null; |
|
|
|
// TODO: more than one variable
|
|
|
|
|
|
|
|
return new CodeAction (context.TranslateString ("Create custom event implementation"), |
|
|
|
return new CodeAction (context.TranslateString ("Create custom event implementation"), |
|
|
|
script => |
|
|
|
script => |
|
|
|
{ |
|
|
|
{ |
|
|
|
|