An open API service indexing awesome lists of open source software.

https://github.com/rikimaru0345/ensure-base-call-analyzer

A roslyn code analyzer to check if override methods call their base implementation.
https://github.com/rikimaru0345/ensure-base-call-analyzer

code-analysis roslyn

Last synced: over 1 year ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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](http://i.imgur.com/tDhRosA.png)