Gets a value indicating whether the Type is declared public.
true if the top-level Type is declared public; otherwise, false.
Do not use with nested types; use Type.IsNestedPublic instead.
If the current Type represents a type parameter of a generic type, this property returns true.
System.Reflection.TypeAttributes.VisibilityMask selects the visibility attributes.