Skip to content

Instantly share code, notes, and snippets.

@gjroelofs
Created February 5, 2016 15:34
Show Gist options
  • Save gjroelofs/f8e9a20a76a39cd8f0ab to your computer and use it in GitHub Desktop.
Save gjroelofs/f8e9a20a76a39cd8f0ab to your computer and use it in GitHub Desktop.
public class FooAttribute : Attribute {}
public class Target {
[Foo]
public void Interesting(){}
public void NotInteresting(){}
}
// Example consuming method
public void Test([Foo] Target a, Target b){
a. // Should auto-suggest Interesting() (Not necessarily limited to, optional)
b. // Should produce normal suggestions.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment