Skip to content

Commit

Permalink
.NET: Fix non-ASCII characters failing compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
praydog committed Sep 17, 2024
1 parent 8136d48 commit 9d7d203
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions csharp-api/AssemblyGenerator/Generator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -562,6 +562,11 @@ static void FillValidEntries(REFrameworkNET.TDB context) {
continue;
}

if (typeName.Any(c => c > 127)) {
System.Console.WriteLine("Skipping type with non-ascii characters " + typeName);
continue;
}

// Check if abstract type and skip
/*var runtimeType = t.GetRuntimeType();
Expand Down

0 comments on commit 9d7d203

Please sign in to comment.