[runtime] Fix corlib out of date error with disabled COM
[mono.git] / mcs / class / referencesource / System.Activities.Presentation / System.Activities.Presentation / System / Activities / Presentation / XamlLoadErrorInfo.cs
1 //----------------------------------------------------------------
2 // Copyright (c) Microsoft Corporation.  All rights reserved.
3 //----------------------------------------------------------------
4
5 namespace System.Activities.Presentation
6 {
7     using System;
8     using System.Runtime;
9
10     [Serializable]
11     [Fx.Tag.XamlVisible(false)]
12     public class XamlLoadErrorInfo
13     {
14         public XamlLoadErrorInfo(string message, int lineNumber, int linePosition)
15         {
16             this.Message = message;
17             this.LineNumber = lineNumber;
18             this.LinePosition = linePosition;
19         }
20
21         public int LineNumber { get; private set; }
22
23         public int LinePosition { get; private set; }
24
25         public string Message { get; private set; }
26
27         public string FileName { get; set; }
28     }
29 }