Change binding generator to emit BindingsNotRewrittenException rather than NotImplementedException

This commit is contained in:
Fraser Waters 2017-08-28 17:09:43 +01:00
parent 51a7f0abdb
commit 741a4cfaac

View file

@ -291,7 +291,7 @@ namespace Bind
sw.WriteLine("[CLSCompliant(false)]"); sw.WriteLine("[CLSCompliant(false)]");
} }
sw.WriteLine("public static {0} {{ throw new NotImplementedException(); }}", GetDeclarationString(f, Settings.Compatibility)); sw.WriteLine("public static {0} {{ throw new BindingsNotRewrittenException(); }}", GetDeclarationString(f, Settings.Compatibility));
} }
private void WriteDocumentation(BindStreamWriter sw, Function f) private void WriteDocumentation(BindStreamWriter sw, Function f)