Skip to content

Fix AssemblyFlags ambiguity on Unity 6000.5#104

Open
martincalander wants to merge 1 commit into
AlexeyTaranov:masterfrom
martincalander:fix-unity-6000-assemblyflags
Open

Fix AssemblyFlags ambiguity on Unity 6000.5#104
martincalander wants to merge 1 commit into
AlexeyTaranov:masterfrom
martincalander:fix-unity-6000-assemblyflags

Conversation

@martincalander

Copy link
Copy Markdown

Summary

  • Qualify AssemblyFlags.EditorAssembly with UnityEditor.Compilation to avoid ambiguity with System.Reflection.AssemblyFlags.

Why

Unity 6000.5 reports AssemblyFlags as ambiguous in TypeUtils.cs because both UnityEditor.Compilation and System.Reflection are imported.

Validation

  • Verified the change is a one-line namespace qualification.
  • This resolves the CS0104 ambiguity while preserving existing behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant