-
Notifications
You must be signed in to change notification settings - Fork 315
Closed
Labels
enhancementFeature requests, or enhancements to existing features. Ideas. Anything within the project's scope.Feature requests, or enhancements to existing features. Ideas. Anything within the project's scope.feature-reflection-apimetastatus-deferredThere is no way to implement this right now, but the team wants to do it.There is no way to implement this right now, but the team wants to do it.
Milestone
Description
Visual Studio 2015 lets you create project specific analyzers, similar to what R# does in general. We have some code that exist to facilitate COM Interop, but that should not be used internally. I'm thinking we could create a custom attribute InteropOnlyAttriubute and apply it to these methods. Then, an analyzer to check the name space of any code calling on these methods. If the namespace isn't Rubberduck.*Interop, raise a warning. Similar to marking an old method with [Obsolete], we could get a custom compile time warning about internal code using methods it shouldn't be.
Some reference links.
Metadata
Metadata
Assignees
Labels
enhancementFeature requests, or enhancements to existing features. Ideas. Anything within the project's scope.Feature requests, or enhancements to existing features. Ideas. Anything within the project's scope.feature-reflection-apimetastatus-deferredThere is no way to implement this right now, but the team wants to do it.There is no way to implement this right now, but the team wants to do it.