Ejemplo n.º 1
0
        public void SetErrors(int errorCount)
        {
            var errors = new IJSLintError[errorCount];

            for (int i = 0; i < errorCount; i++)
            {
                var number = i + 1;
                errors[i] = new JSLintErrorFake(this.FileName, number);
            }

            this.Errors = errors;
        }
Ejemplo n.º 2
0
        public void SetErrors(int errorCount)
        {
            var errors = new IJSLintError[errorCount];

            for (int i = 0; i < errorCount; i++)
            {
                var number = i + 1;
                errors[i] = new JSLintErrorFake(this.FileName, number);
            }

            this.Errors = errors;
        }