Skip to content

Commit

Permalink
.NET: Remove debug stuff from generator
Browse files Browse the repository at this point in the history
  • Loading branch information
praydog committed Mar 30, 2024
1 parent f4e49d0 commit 361aeef
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions csharp-api/AssemblyGenerator/ClassGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,6 @@ public ClassGenerator(string className_, REFrameworkNET.TypeDefinition t_, REFra

if (methodExtension != null && methodExtension.Override != null && methodExtension.Override == true) {
methodName += "_" + className.Replace('.', '_');
} else {
if (this.t.FullName == "System.Collections.Stack.SyncStack") {
System.Console.WriteLine("No override for " + this.t.FullName + "." + method.Name);
}
}

var methodDeclaration = SyntaxFactory.MethodDeclaration(returnType, methodName ?? "UnknownMethod")
Expand Down
4 changes: 0 additions & 4 deletions csharp-api/AssemblyGenerator/Generator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,6 @@ public static void FillTypeExtensions(REFrameworkNET.TDB context) {
var parentMethod = parent.GetMethod(method.Name);

if (parentMethod != null) {
if (method.DeclaringType.FullName == "System.Collections.Stack.SyncStack") {
Console.WriteLine("Found override " + method.Name + " in " + method.DeclaringType.FullName);
}

methodExtensions.Add(method, new Method(method) {
Override = true
});
Expand Down

0 comments on commit 361aeef

Please sign in to comment.