Closed JBBianchi closed 7 months ago
I wanted to try to contribute to the project but I can't get it to build in its default state (I had to remove StyleCop and SecurityCodeScan) and all the tests are failing (except one) because var document = _workspace.CurrentSolution.GetDocumentIdsWithFilePath(path).FirstOrDefault();
returns null.
to build you need to have latest VS and also execute submodules-sync.bat
and tests works on my machine ;)
classes and records have StaticReadOnlyFields property which contains collection of such fields (with values)
From https://github.com/frhagn/Typewriter/issues/205
Indeed, for some reason, the static fields are excluded in RoslynFieldMetadata:
It would be great to be able to opt-in for static members in the settings (and maybe also other more "in-depth" reflection settings like private/protected members ...)