コード例 #1
0
        public override void Freeze()
        {
            base.Freeze();

            NamedConstructors    = NamedConstructors.AsReadOnly();
            InstanceMethods      = InstanceMethods.AsReadOnly();
            StaticMethods        = StaticMethods.AsReadOnly();
            StaticInitStatements = StaticInitStatements.AsReadOnly();
        }
コード例 #2
0
        public override void Freeze()
        {
            base.Freeze();

            TypeArgumentNames     = TypeArgumentNames.AsReadOnly();
            ImplementedInterfaces = ImplementedInterfaces.AsReadOnly();
            NamedConstructors     = NamedConstructors.AsReadOnly();
            InstanceMethods       = InstanceMethods.AsReadOnly();
            StaticMethods         = StaticMethods.AsReadOnly();
            StaticInitStatements  = StaticInitStatements.AsReadOnly();
        }