JetBrains / JetBrains.Annotations

Annotations to increase the accuracy of JetBrains ReSharper/Rider code inspections
https://www.jetbrains.com/help/resharper/Code_Analysis__Code_Annotations.html
MIT License
34 stars 18 forks source link

Add a way to make it required to follow a ValueProvider #19

Open KennethHoff opened 1 year ago

KennethHoff commented 1 year ago

Currently, [ValueProviderAttribute] has a single parameter; The source. Would you be willing to add another parameter (Or simply a property) that makes it so you have to choose a value from that Provider? I would love to say "You have to choose a value from this", and not simply a suggestion.

image