/// <include file='doc\LanguageService.uex' path='docs/doc[@for="AuthoringSink.AuthoringSink"]/*' /> public AuthoringSink(ParseReason reason, int line, int col, int maxErrors) { this.reason = reason; this.errors = new ArrayList(); this.line = line; this.col = col; this.Names = new StringCollection(); this.SourceLocations = new ArrayList(); this.MethodCalls = new MethodCalls(); this.Spans = new ArrayList(); this.Braces = new ArrayList(); this.hiddenRegions = new ArrayList(); this.errorCounts = new int[4]; this.maxErrors = maxErrors; }
public AuthoringSink(ParseReason reason, int line, int col){ this.reason = reason; this.Errors = new ArrayList(); this.Line = line; this.Column = col; this.Names = new StringCollection(); this.SourceLocations = new ArrayList(); this.MethodCalls = new MethodCalls(); this.Spans = new ArrayList(); }