public override void VisitConstructorDeclaration(ConstructorDeclaration constructorDeclaration) { if (constructorDeclaration.IsPublic()) { constructorDeclaration.Body = null; } else { constructorDeclaration.Remove(); } }
public override void VisitConstructorDeclaration(ConstructorDeclaration constructorDeclaration) { if (constructorDeclaration.IsPublic()) { constructorDeclaration.Body = null; } else { constructorDeclaration.Remove(); } }