public override void VisitConstructorDeclaration(ConstructorDeclarationSyntax node) { var isDeserializationCtor = IsDeserializationConstructor(node); var hasConditionalStatements = isDeserializationCtor ? node.ContainsConditionalConstructs() : HasParametersUsedInConditionalConstructs(node); constructorsInfo.Add(new ConstructorInfo(node, hasConditionalStatements, isDeserializationCtor)); base.VisitConstructorDeclaration(node); }