mirror of https://github.com/icsharpcode/ILSpy.git
Browse Source
Enum-typed constructor parameters were emitted via SymbolDisplayFormat.FullyQualifiedFormat so that an enum in another namespace resolves without a using. For enums declared in the same namespace as the generated file (ICSharpCode.Decompiler.CSharp.Syntax) that produced a redundant global::ICSharpCode.Decompiler.CSharp.Syntax. prefix, e.g. 'global::...Syntax.ClassType classType'. The prefix is now stripped for the file's own namespace while cross-namespace enums stay qualified. The global:: on Identifier.Create in NameSlot setters is deliberately kept: those run in expression position where a string property literally named 'Identifier' (e.g. SimpleType) would otherwise shadow the type. Assisted-by: Claude:claude-opus-4-8:Claude Codepull/3807/head
1 changed files with 12 additions and 1 deletions
Loading…
Reference in new issue