public AssertThatWalker(SemanticModel semanticModel) { _semanticModel = semanticModel ?? throw new ArgumentNullException(nameof(semanticModel)); _assertThatContext = new SyntaxWalkContext <AssertThatData>(); }
public ConstraintWalker() { _constratintContext = new SyntaxWalkContext <ConstraintData>(); }
public MethodDeclarationWalker(SemanticModel semanticModel) { _semanticModel = semanticModel ?? throw new ArgumentNullException(nameof(semanticModel)); _methodDeclarationContext = new SyntaxWalkContext <MethodDeclarationData>(); }
public ClassDeclarationWalker(SemanticModel semanticModel, Document originalDocument) { _semanticModel = semanticModel ?? throw new ArgumentNullException(nameof(semanticModel)); _originalDocument = originalDocument ?? throw new ArgumentNullException(nameof(originalDocument)); _classDeclarationContext = new SyntaxWalkContext <ClassDeclarationData>(); }