From 0eeccc01d50fe520bfc45e166bbcf76aee5d64fe Mon Sep 17 00:00:00 2001 From: praydog Date: Sat, 25 May 2024 22:00:33 -0700 Subject: [PATCH] .NET: Allow various other method names to be generated --- csharp-api/AssemblyGenerator/ClassGenerator.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/csharp-api/AssemblyGenerator/ClassGenerator.cs b/csharp-api/AssemblyGenerator/ClassGenerator.cs index c560d2080..cf79ff27d 100644 --- a/csharp-api/AssemblyGenerator/ClassGenerator.cs +++ b/csharp-api/AssemblyGenerator/ClassGenerator.cs @@ -234,16 +234,16 @@ private static TypeSyntax MakeProperType(REFrameworkNET.TypeDefinition? targetTy static readonly SortedSet invalidMethodNames = [ "Finalize", - "MemberwiseClone", - "ToString", - "Equals", - "GetHashCode", - "GetType", + //"MemberwiseClone", + //"ToString", + //"Equals", + //"GetHashCode", + //"GetType", ".ctor", ".cctor", - "op_Implicit", + /*"op_Implicit", "op_Explicit", - /*"op_Addition", + "op_Addition", "op_Subtraction", "op_Multiply", "op_Division",