You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C# semantic classification is wrong again across surfaces: private is emitted as a variable, a method name as a type, and CLI excerpt labels using as a variable.
Audit ID: G-27. Reproduced on v1.40.3.
Existing issue relationship
Direct regression of closed #4444, which covered C# keyword/declaration semantic-token kinds.
Expected behavior
C# keywords/modifiers, namespaces/types, methods, properties, parameters, and variables must map consistently in both decoded LSP tokens and excerpt metadata.
PR scope
Keep this to the shared C# semantic token classifier/mappers.
Implementation guide for Codex 5.6 sol xhigh
Build focused source fixtures and decode LSP delta tokens back to absolute spans/types in tests.
Share one classification source between excerpt and LSP writers; coordinate encoding must not choose semantic kind.
Cover using directives, access modifiers, method declarations/calls, generics, records, and contextual keywords.
Preserve token ordering/non-overlap and supported legend compatibility.
Summary
C# semantic classification is wrong again across surfaces:
privateis emitted as a variable, a method name as a type, and CLI excerpt labelsusingas a variable.Audit ID: G-27. Reproduced on v1.40.3.
Existing issue relationship
Direct regression of closed #4444, which covered C# keyword/declaration semantic-token kinds.
Expected behavior
C# keywords/modifiers, namespaces/types, methods, properties, parameters, and variables must map consistently in both decoded LSP tokens and excerpt metadata.
PR scope
Keep this to the shared C# semantic token classifier/mappers.
Implementation guide for Codex 5.6 sol xhigh
Acceptance criteria