From 325f0725c727a7e64fc6b2d362a40e4cd1f0699f Mon Sep 17 00:00:00 2001 From: David Siegel Date: Thu, 8 Feb 2018 17:55:25 -0800 Subject: [PATCH] Forbid ToJson as property name --- src/Language/CSharp.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Language/CSharp.ts b/src/Language/CSharp.ts index b0cef9d8..08059ee9 100644 --- a/src/Language/CSharp.ts +++ b/src/Language/CSharp.ts @@ -162,6 +162,7 @@ class CSharpRenderer extends ConvenienceRenderer { return { names: [ classNamed, + "ToJson", "FromJson", "ToString", "GetHashCode",