✅ Roslyn analyzer: System.Guid only has _dummyPrimitive field?
I'm currently writing an analyzer that inspects the fields of certain types. One of the tests failed because it analyzed
System.Guid and I noticed that, according to this query:System.Guid only has a single field: int _dummyPrimitive. I know that guids are larger than 4 bytes and given the field name, I assume this is a placeholder of some sort. I could just ignore System.Guid but I suspect this is not the only type that behaves this way. - Why is the
ITypeSymbolofSystem.Guida placeholder (or whatever this is) and not the original definition? - Can I somehow detect when a type is a placeholder?
