Comments (4)
We add missing binding flags now.
from reflectionanalyzers.
from reflectionanalyzers.
Also, no binding flags warning is given here where the type is unknowable to the analyzer, but it's still important to make the user pick them (maybe fix to Public | Static | Instance
to keep the same behavior but make it explicit):
ownerType.GetMethod(nameof(CreateViewModel), new[] { typeof(Type), dictionaryType })
Edit: moved to #63.
from reflectionanalyzers.
I wrote it like this to filter out so that we only warn when we are sure. We will handle more cases. You can create an issue about that case so that we remember it, it should have high priority.
from reflectionanalyzers.
Related Issues (20)
- [Feature] Enum InvalidCastException analysis HOT 2
- [BUG] REFL018 on ExpandoObject HOT 5
- REFL003 and REFL017 claim that method does not exist on open generic type
- Check that this argument is not null
- Use MSBuild target to retrieve VSIX version
- REFL008 should not warn here.
- REFL005 add tests for getting backing fields for auto property.
- Warn on Activator.CreateInsatnce when ctor is not public. HOT 2
- REFL027 'Prefer Type.EmptyTypes' should have fix-all for solution HOT 1
- Fix-all for solution is not offered for various fixes even though there are occurrences outside the document HOT 2
- REFL014 message is hard to read HOT 2
- REFL008 adds using directive with improper line ending HOT 2
- Incorrect 'Use nameof' within nested types HOT 4
- Missing 'REFL006 The binding flags can be more precise.' when public member is found HOT 6
- Invalid 'REFL041 Delegate type is not matching expected' when there is not enough info to check this
- Don't look for an attribute where it's not supported.
- Nameof fix broken with Roslyn 3.5.0
- Can install these packages as extensions? HOT 3
- REFL0009 fires when result is checked with 'is not null' HOT 1
- [deleted] HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from reflectionanalyzers.