Reflect latest symbol writer changes.
[mono.git] / mcs / ilasm / codegen / LabelInfo.cs
index bc1037db82a118c47dac4b8cac7d61f239aa6ea2..328787729ad99d7ddb7df3be4d3fe20632ab2245 100644 (file)
@@ -48,7 +48,7 @@ namespace Mono.ILASM {
                         if(other != null)
                                 return Pos.CompareTo(other.Pos);
 
-                        throw new ArgumentException ("object is not a LabelInfo");
+                        throw new InternalErrorException ("object is not a LabelInfo");
                 }
 
                 public override string ToString ()