// To prevent native asserts or crashes - validates parameters before passing down to native code
 internal static void VerifyAttributeUsage(this AttributeKind kind, FunctionAttributeIndex index, ulong value)
 {
     kind.VerifyAttributeUsage(index);
     kind.RangeCheckValue(value);
 }