Skip to content

A roslyn code analyzer to check if override methods call their base implementation.

Notifications You must be signed in to change notification settings

rikimaru0345/Ensure-Base-Call-Analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ensure-Base-Call-Analyzer

A roslyn code analyzer to check if override methods call their base implementation.

How to use

  1. Compile and install the VSIX
  2. Create an attribute in your code somewhere like this: class EnsureBaseCallAttribute : Attribute { }
  3. Add the attribute to any method you want checked and the analyzer will show an error if you do not call the base implementation of that method (or if it is unreachable). Example:

example usage

About

A roslyn code analyzer to check if override methods call their base implementation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published