Skip to content



Severity - Fail

Check method - Here


The IsPublicClass check ensures that classes declared within files have the public modifier, rather than private or internal, etc.

The following class declaration would fail because it does not give the public modifier.

namespace BH.Engine.Test
    static partial class Query

Files contained within an Engines Objects folder are exempt from this check (e.g. files with the file path Your_Toolkit/Toolkit_Engine/Objects/Foo.cs will be exempt).