#New analyzer:
Input your analyzer description.
Before:
//your code that triggers the diagnosticAfter:
//your code after the fix has been appliedYou can add more information here, e.g. conditions under which a diagnostic should not trigger, etc.
Diagnostic Id: CC0000 (take a number and update the wiki)
Category: <some category> (see supported categories and their descriptions)
Severity: Hidden | Info | Warning | Error (see the descriptions)
#Bug
Input your bug description. Make sure you describe the steps to reproduce, that you are working with the latest version, and the issue has not been reported yet.
Example: (don't use your project code, use a sample that anyone could use to verify the bug, so, for example, don't use classes that are not part of the BCL or declared on your sample.)
//the code that reproduces the bugCurrent output after fix applied (if it is a code fix bug):
//code fixed incorrectlyExpected output after fix applied (if it is a code fix bug):
//code fixed incorrectly