private bool CheckVisibility(TypeAttributes access) { return (Attributes & TypeAttributes.VisibilityMask) == access; }