Browse Source

Merge pull request #160 from ciplogic/master

Based on feedback on pull request #158
pull/32/merge
Mike Krüger 12 years ago
parent
commit
49eb79e970
  1. 13
      ICSharpCode.NRefactory.CSharp/Refactoring/CodeIssues/RedundantBaseConstructorIssue.cs

13
ICSharpCode.NRefactory.CSharp/Refactoring/CodeIssues/RedundantBaseConstructorIssue.cs

@ -65,6 +65,19 @@ namespace ICSharpCode.NRefactory.CSharp.Refactoring @@ -65,6 +65,19 @@ namespace ICSharpCode.NRefactory.CSharp.Refactoring
script.Replace(constructorDeclaration.Initializer, ConstructorInitializer.Null.Clone());
});
}
public override void VisitPropertyDeclaration(PropertyDeclaration propertyDeclaration)
{
//ignore properties
}
public override void VisitFieldDeclaration(FieldDeclaration fieldDeclaration)
{
//ignore fields
}
public override void VisitMethodDeclaration(MethodDeclaration methodDeclaration)
{
//ignore method declarations
}
}
}
}

Loading…
Cancel
Save