ITADN

[C#] Qualified-Types Inconsistent/Inaccurate

#4494OpenNieb 创建于 2026-04-02
C: Syntax
N
Niebcommented
### What happened? Qualified types are inconsistently highlighted depending on context. ```cs namespace Some { static class Thing { //... } } namespace BLARG { static class Blarg { Some.Thing sumthin = new(); // <- It's not a class. Nor is this the place where inherited types would be found. void blarg(Some.Thing sumthin) { // <- It appears to be "support.type.cs"... Some.Thing sumthin = (Some.Thing)1+1; // <- ...everywhere... (Some.Thing a, Some.Thing b) sumthin = (A,B); // <- ...else. } } } ``` <img width="1185" height="714" alt="Image" src="https://github.com/user-attachments/assets/0782536f-f23d-49e7-8395-e788cc196e0a" />
0 条评论