/// <summary> /// Initializes a new instance of the <see cref="MachineAction"/> class. /// </summary> internal MachineAction(MethodDeclarationSyntax methodDecl, MachineState state) { this.State = state; this.Name = AnalysisContext.GetFullMethodName(methodDecl); this.MethodDeclaration = methodDecl; }