Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider possible exceptions when using keywords #13

Open
RicoSuter opened this issue Dec 2, 2015 · 0 comments
Open

Consider possible exceptions when using keywords #13

RicoSuter opened this issue Dec 2, 2015 · 0 comments

Comments

@RicoSuter
Copy link
Member

This code sample, while obviously throwing a NullReferenceException, does not trigger any form of warning or quick fix from Exceptional.

var s = (IEnumerable)null;
foreach (var e in s) {}

Exceptional should be aware of possible exceptions triggered by the use of keywords like foreach and await.

https://exceptional.codeplex.com/workitem/11004

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant