csharp-analyzer
csharp-analyzer copied to clipboard
Add features for inheritance exercise
See the inheritance exercise.
There are two features required:
- Verify that the constructor of the
Character
class uses theprotected
modifier. - Verify that the various fields used (hit points, spell prepared and potion drunk) use the
private
modifier. i.e. all fields should be private
The boilerplate is here.