public Dev2DataLanguageParseError(string msg, int startIdx, int endIdx, enIntellisenseErrorCode code)
     : base(msg)
 {
     _startIdx = startIdx;
     _endIdx = endIdx;
     _errCode = code;
 }
Beispiel #2
0
        internal IntellisenseResult(int startIdx, int endIdx, IDataListVerifyPart option, string message, enIntellisenseResultType typeOf, enIntellisenseErrorCode errCode, bool isClosed) {

            StartIndex = startIdx;
            EndIndex = endIdx;
            Option = option;
            Message = message;
            Type = typeOf;
            ErrorCode = errCode;
            IsClosedRegion = isClosed;
        }
 public static IIntellisenseResult CreateErrorResult(int start, int end, IDataListVerifyPart opt, string msg, enIntellisenseErrorCode code, bool isClosed) {
     return new IntellisenseResult(start, end, opt, msg, enIntellisenseResultType.Error, code, isClosed);
 }