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