Welcome to mirror list, hosted at ThFree Co, Russian Federation.

LineInfo.cs « Xml « System « System.Xml « referencesource « class « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4095a490dfbd31035eb7d26ca1383f0529738922 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//------------------------------------------------------------------------------
// <copyright file="LineInfo.cs" company="Microsoft">
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// </copyright>
// <owner current="true" primary="true">[....]</owner>
//------------------------------------------------------------------------------

namespace System.Xml {

    internal struct LineInfo {
        internal int lineNo;
        internal int linePos;

        public LineInfo( int lineNo, int linePos ) {
            this.lineNo = lineNo;
            this.linePos = linePos;
        }

        public void Set( int lineNo, int linePos ) {
            this.lineNo = lineNo;
            this.linePos = linePos;
        }
    }
}