This project has moved. For the latest updates, please go here.

Null literal does not work

The following snippet should not raise a warning since null literal is used. class HandlingOfLiterals { public string Foo([Fragment("CustomType")] int? parameter){ } public void NoWarningsRai...

Id #22 | Release: None | Updated: Mar 30, 2013 at 7:42 PM by michaelracz | Created: Mar 30, 2013 at 7:42 PM by michaelracz

Type check of anonymous method/lambda assignment does not work

Following snippet raises a warning, which is wrong behavior since the return fragment type is correct. [return: CustomType] public delegate object AnnotatedDelegate([CustomType] object parameter);...

Id #21 | Release: None | Updated: Mar 30, 2013 at 6:14 PM by michaelracz | Created: Mar 30, 2013 at 6:14 PM by michaelracz

Dynamic binding: FragmentGenerator and return Fragment attribute mismatch not detected

The following code snippet should raise a warning, since changing InjectionCop annotations on dynamically bound methods is not supported because it would enforce bad design. Current implementation ...

Id #20 | Release: None | Updated: Mar 30, 2013 at 1:20 PM by michaelracz | Created: Mar 30, 2013 at 1:20 PM by michaelracz

FragmentGenerator on interfaces ignored

The following sample raises a warning in method "CustomTypeGenerator". This is a bug since the interface declares the method as FragmentGenerator. class AnnotatingInterfaces { interface Annotated...

Id #19 | Release: None | Updated: Mar 29, 2013 at 8:14 PM by michaelracz | Created: Mar 29, 2013 at 8:14 PM by michaelracz

Add check of getter return value

Following snippet should raise a warning. Since InjectionCop currently does not support annotating getters and setters separately, Properties should behave like fields (field qualified => setting o...

Id #18 | Release: None | Updated: Mar 17, 2013 at 1:26 PM by michaelracz | Created: Mar 17, 2013 at 1:26 PM by michaelracz

Clean up repository

There is some noise in the repository. User specific files must be removed.

Id #17 | Release: None | Updated: Jan 31, 2013 at 5:46 PM by michaelracz | Created: Jan 31, 2013 at 9:12 AM by michaelracz

Refactor BlockParser

'Parse' methods of BlockParser should be refactored to get rid of code duplication

Id #16 | Release: None | Updated: Feb 1, 2013 at 12:15 PM by michaelracz | Created: Jan 30, 2013 at 6:14 PM by michaelracz

Refactor StatementHandler

Long parameter lists of constructor and 'Handle' method as shown e.g. in StatementHandler should be replaced by context objects

Id #15 | Release: None | Updated: Jan 31, 2013 at 9:10 AM by michaelracz | Created: Jan 30, 2013 at 6:11 PM by michaelracz

Round up loop integration tests

Integration tests should be added to cover missing types of loops: for foreach do while

Id #14 | Release: None | Updated: Jan 30, 2013 at 6:04 PM by michaelracz | Created: Jan 30, 2013 at 6:04 PM by michaelracz

Performance improvement

Algorithm for graph analysis should be improved to boost performance

Id #13 | Release: None | Updated: Jan 30, 2013 at 6:02 PM by michaelracz | Created: Jan 30, 2013 at 6:02 PM by michaelracz