IsPublicClass
Summary¶
Severity - Fail
Check method - Here
Details¶
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.
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).