X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.Web%2FSystem.Web%2FParserError.cs;h=071a91a62a2d8fc0216628c3afad579f7f15181e;hb=22448831bbcc3d170f80ae5e3cc02fccd39ff970;hp=0fdd6763d1fdee0175675645d094b7a90a854e3c;hpb=5bbfa8860b090e465a3aa45edeb9c94481ef1a22;p=mono.git diff --git a/mcs/class/System.Web/System.Web/ParserError.cs b/mcs/class/System.Web/System.Web/ParserError.cs index 0fdd6763d1f..071a91a62a2 100644 --- a/mcs/class/System.Web/System.Web/ParserError.cs +++ b/mcs/class/System.Web/System.Web/ParserError.cs @@ -1,11 +1,11 @@ -// -// System.Web.ParserError.cs -// -// Authors: -// Lluis Sanchez Gual (lluis@novell.com) -// -// (C) 2004 Novell, Inc (http://www.novell.com) -// +// +// System.Web.ParserError.cs +// +// Authors: +// Lluis Sanchez Gual (lluis@novell.com) +// +// (C) 2004-2009 Novell, Inc (http://www.novell.com) +// // // Permission is hereby granted, free of charge, to any person obtaining @@ -27,43 +27,44 @@ // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // - -#if NET_2_0 - -using System.Runtime.Serialization; - -namespace System.Web { - - [Serializable] - public sealed class ParserError - { - string _errorText; - string _virtualPath; - int _line; - - public ParserError () - { - } - - public ParserError (string errorText, string virtualPath, int line) - { - _errorText = errorText; - _virtualPath = virtualPath; - _line = line; - } - - public string ErrorText { - get { return _errorText; } - } - - public string VirtualPath { - get { return _virtualPath; } - } - - public int Line { - get { return _line; } - } - } -} - -#endif + + +using System.Runtime.Serialization; + +namespace System.Web +{ + [Serializable] + public sealed class ParserError + { + string _errorText; + string _virtualPath; + int _line; + + public ParserError () + { + } + + public ParserError (string errorText, string virtualPath, int line) + { + _errorText = errorText; + _virtualPath = virtualPath; + _line = line; + } + + public string ErrorText { + get { return _errorText; } + set { _errorText = value; } + } + + public string VirtualPath { + get { return _virtualPath; } + set { _virtualPath = value; } + } + + public int Line { + get { return _line; } + set { _line = value; } + } + } +} +