-
Notifications
You must be signed in to change notification settings - Fork 9
VB autoproperties are not analyzed. #34
Comments
@CyrusNajmabadi If you are looking at enhancing the public API analyzer that we use for Roslyn.sln, then you want to look in the roslyn-analyzers repo at https://github.com/dotnet/roslyn-analyzers/blob/master/src/Roslyn.Diagnostics.Analyzers/Core/DeclarePublicAPIAnalyzer.cs. We have an open community PR to add the same functionality in roslyn-analyzers repo, but that change proposes a breaking change to the public API text, which seems much less preferable. Just as an FYI: The public API analyzer in this repo (PublicApiAnalyzer) was a fork from the original implementation in roslyn-analyzers repo, primarily to enable publishing a separate NuGet package just with this analyzer (Roslyn.Diagnostics.Analyzers NuGet package also contains other Roslyn.sln specific analyzers). We had a work item somewhere to consolidate both analyzers so we avoid this confusion, but that hasn't happened yet. |
Ah, good to know. I'll move things over there. |
@mavasani can you help me with that repo. The instructions say this:
However, neither build.cmd or test.cmd exist. There is a cibuild.cmd. But it fails for me with:
|
Ignore me entirely. my fork is hugely out of date. |
Dupe of dotnet/roslyn-analyzers#821 |
@CyrusNajmabadi Not a duplicate of dotnet/roslyn-analyzers. This is an extracted implementation of the Public API Analyzer that works is any repository, as opposed to the much more limited implementation in roslyn-analyzers. |
Simple repro:
Expected:
Analyzer complains that 'A' is not part of the publicapi file.
Actual:
Analyzer does not complain at all.
The text was updated successfully, but these errors were encountered: