title: C# attribute usage: only allow attributes on a property with specific data type
body: <p>I've created a few attributes for properties. now I want to limit these attributes to properties with a certain data type? the idea is, a compiler error will be thrown if it is assign to a different type. is this possible?</p>
  
  <p>if not, then I guess i'll have to check it on runtime.</p>