Update Reference Sources to .NET Framework 4.6.1
[mono.git] / mcs / class / referencesource / System.Xml / System / Xml / LineInfo.cs
1 //------------------------------------------------------------------------------
2 // <copyright file="LineInfo.cs" company="Microsoft">
3 //     Copyright (c) Microsoft Corporation.  All rights reserved.
4 // </copyright>
5 // <owner current="true" primary="true">[....]</owner>
6 //------------------------------------------------------------------------------
7
8 namespace System.Xml {
9
10     internal struct LineInfo {
11         internal int lineNo;
12         internal int linePos;
13
14         public LineInfo( int lineNo, int linePos ) {
15             this.lineNo = lineNo;
16             this.linePos = linePos;
17         }
18
19         public void Set( int lineNo, int linePos ) {
20             this.lineNo = lineNo;
21             this.linePos = linePos;
22         }
23     }
24 }