From 741a4cfaacc12bb7b28569976d799572c95a3067 Mon Sep 17 00:00:00 2001 From: Fraser Waters Date: Mon, 28 Aug 2017 17:09:43 +0100 Subject: [PATCH] Change binding generator to emit BindingsNotRewrittenException rather than NotImplementedException --- src/Generator.Bind/CSharpSpecWriter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Generator.Bind/CSharpSpecWriter.cs b/src/Generator.Bind/CSharpSpecWriter.cs index 003cc71d..42a59f07 100644 --- a/src/Generator.Bind/CSharpSpecWriter.cs +++ b/src/Generator.Bind/CSharpSpecWriter.cs @@ -291,7 +291,7 @@ namespace Bind 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)