protected MockedClassDefinitionASTWalker(ClassDefinitionASTWalker original, bool generateTranslationUniOnProtectedMembers) : base(original) { // Reassigning since base class operated on it this.classDeclaration = MockedClassDefinitionTranslationUnit.Create(this.classDeclaration as ClassDefinitionTranslationUnit); this.generateTranslationUniOnProtectedMembers = generateTranslationUniOnProtectedMembers; }
protected MockedClassDefinitionASTWalker(ClassDefinitionASTWalker original, bool generateTranslationUniOnProtectedMembers) : base(original) { // Reassigning since base class operated on it this.classDeclaration = MockedClassDefinitionTranslationUnit.Create(this.classDeclaration as ClassDefinitionTranslationUnit); this.generateTranslationUniOnProtectedMembers = generateTranslationUniOnProtectedMembers; }
public new static MockedClassDefinitionASTWalker Create(CSharpSyntaxNode node, bool generateTranslationUniOnProtectedMembers) { return(new MockedClassDefinitionASTWalker(ClassDefinitionASTWalker.Create(node), generateTranslationUniOnProtectedMembers)); }