diff --git a/csharp-api/AssemblyGenerator/Generator.cs b/csharp-api/AssemblyGenerator/Generator.cs index 318d486f..bb194a31 100644 --- a/csharp-api/AssemblyGenerator/Generator.cs +++ b/csharp-api/AssemblyGenerator/Generator.cs @@ -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();