Hide internal codegen variable from debugger

This commit is contained in:
Wojtek Figat
2024-09-12 12:40:50 +02:00
parent 4087e9c291
commit e834f2ec94

View File

@@ -1116,6 +1116,8 @@ namespace Flax.Build.Bindings
contents.Append(indent).Append('}').AppendLine();
contents.AppendLine();
if (buildData.Configuration != TargetConfiguration.Release)
contents.Append(indent).Append("[System.Diagnostics.DebuggerBrowsable(global::System.Diagnostics.DebuggerBrowsableState.Never)]").AppendLine();
contents.Append(indent).Append("private ");
if (eventInfo.IsStatic)
contents.Append("static ");