예제 #1
0
        public JsonArray(JsonValue[] array, int line, int column)
            : base(line, column)
        {
            if (array == null)
            {
                throw new ArgumentNullException(nameof(array));
            }

            _array = array;
        }
예제 #2
0
        internal FileFormatMessage(string message,
                                 string projectFilePath,
                                 CompilationMessageSeverity severity,
                                 JsonValue jsonValue)
        {
            Message = message;
            SourceFilePath = projectFilePath;
            Severity = severity;

            StartColumn = jsonValue.Column;
            EndColumn = StartColumn;
            StartLine = jsonValue.Line;
            EndLine = StartLine;
        }