internal static SetterDelegate ScopeTypeSetterDelegate(ScopeLocation scopeLocation)
 {
     return(delegate(object value, IPropertyBag propertyBag)
     {
         RoleFlagsFormat.SetScopeBits((uint)((ScopeType)value), propertyBag, scopeLocation);
     });
 }
 internal static object GetIsDeprecated(IPropertyBag propertyBag)
 {
     return(RoleState.Deprecated.Equals(RoleFlagsFormat.GetRoleState(propertyBag)));
 }
 internal static GetterDelegate ScopeTypeGetterDelegate(ScopeLocation scopeLocation)
 {
     return((IPropertyBag propertyBag) => (ScopeType)RoleFlagsFormat.GetScopeBits(propertyBag, scopeLocation));
 }