add bug info
[mcs.git] / ilasm / scanner / ILSyntaxError.cs
blob9645746383331a1471d40c5ff06e46ea146bec0f
1 // ILSyntaxError.cs
2 // Author: Sergey Chaban (serge@wildwestsoftware.com)
4 using System;
6 namespace Mono.ILASM {
8 public class ILSyntaxError : Exception {
9 private Location loc = Location.Unknown;
11 public ILSyntaxError () : base ()
15 public ILSyntaxError (string msg) : base (msg)
20 public ILSyntaxError (string msg, Location loc) : base (msg)
22 this.loc = loc.Clone () as Location;