Browse Source

Fixed naming.

newNRvisualizers
Mike Krüger 14 years ago
parent
commit
5dfe563bba
  1. 2
      ICSharpCode.NRefactory.CSharp/Refactoring/ContextAction/GenerateProperty.cs
  2. 2
      ICSharpCode.NRefactory.Tests/CSharp/ContextAction/GeneratePropertyTests.cs

2
ICSharpCode.NRefactory.CSharp/Refactoring/ContextAction/GenerateProperty.cs

@ -29,7 +29,7 @@ using System.Linq;
namespace ICSharpCode.NRefactory.CSharp.Refactoring namespace ICSharpCode.NRefactory.CSharp.Refactoring
{ {
public class GenerateProp : IContextAction public class GenerateProperty : IContextAction
{ {
public bool IsValid (RefactoringContext context) public bool IsValid (RefactoringContext context)
{ {

2
ICSharpCode.NRefactory.Tests/CSharp/ContextAction/GeneratePropertyTests.cs

@ -37,7 +37,7 @@ namespace ICSharpCode.NRefactory.CSharp.ContextActions
public void Test () public void Test ()
{ {
string result = RunContextAction ( string result = RunContextAction (
new GenerateGetter (), new GenerateProperty (),
"using System;" + Environment.NewLine + "using System;" + Environment.NewLine +
"class TestClass" + Environment.NewLine + "class TestClass" + Environment.NewLine +
"{" + Environment.NewLine + "{" + Environment.NewLine +

Loading…
Cancel
Save