System.Reflection.Emit.ArrayType.GetAttributeFlagsImpl C# (CSharp) Method

GetAttributeFlagsImpl() protected method

protected GetAttributeFlagsImpl ( ) : TypeAttributes
return TypeAttributes
		protected override TypeAttributes GetAttributeFlagsImpl ()
		{
			if (((ModuleBuilder)elementType.Module).assemblyb.IsCompilerContext)
				return (elementType.Attributes & TypeAttributes.VisibilityMask) | TypeAttributes.Sealed | TypeAttributes.Serializable;
			return elementType.Attributes;
		}