ILSyntaxError.cs 447 B

1234567891011121314151617181920212223242526
  1. // ILSyntaxError.cs
  2. // Author: Sergey Chaban ([email protected])
  3. using System;
  4. namespace Mono.ILASM {
  5. public class ILSyntaxError : Exception {
  6. private Location loc = Location.Unknown;
  7. public ILSyntaxError () : base ()
  8. {
  9. }
  10. public ILSyntaxError (string msg) : base (msg)
  11. {
  12. }
  13. public ILSyntaxError (string msg, Location loc) : base (msg)
  14. {
  15. this.loc = loc.Clone () as Location;
  16. }
  17. }
  18. }