Remove suppression of IDE0040 by DaveTryon · Pull Request #984 · microsoft/sbom-tool (original) (raw)

In #982, we added suppression of IDE0040, which is a new compiler warning that insists that all interface members be explicitly marked as public and not rely on the default interface visibility. This PR changes absolutely nothing in the product functionality and is entirely about code consistency. Our existing code mostly uses the default visibility, with a few interfaces that are partially or entirely declared with explicit visibility.

The changes are straightforward: Remove IDE0040 from the NoWarn list, and add the public keyword on each line that it flagged.