Why are attribute classes in Json.Net sealed?

384 views Asked by At

Is there any spesific reason why e.g. Newtonsoft.Json.JsonIgnoreAttribute is a sealed class? The reason I ask is because I'd like to make wrapper around the Json.Net calls, so that the assembly ref is in one assembly only (makes updating the assembly and testing a bit easier).

1

There are 1 answers

1
leppie On

Because generally that implies they have (or serve) no purpose being extended/specialized (like many attribute types that exists in the .NET BCL).