Exemplo n.º 1
0
        public BlockedInternalsBlockingPolicy(TypeSystemContext context)
        {
            _blockedTypes = new BlockedTypeHashtable(_blockedModules);

            ArrayOfTType  = context.SystemModule.GetType("System", "Array`1", throwIfNotFound: false);
            AttributeType = context.SystemModule.GetType("System", "Attribute", throwIfNotFound: false);
        }
Exemplo n.º 2
0
        public BlockedInternalsBlockingPolicy(TypeSystemContext context)
        {
            _blockedTypes = new BlockedTypeHashtable(_blockedModules);

            ArrayOfTType          = context.SystemModule.GetType("System", "Array`1", false);
            SerializationInfoType = context.SystemModule.GetType("System.Runtime.Serialization", "SerializationInfo", false);
            ISerializableType     = context.SystemModule.GetType("System.Runtime.Serialization", "ISerializable", false);
        }
Exemplo n.º 3
0
 public BlockedInternalsBlockingPolicy()
 {
     _blockedTypes = new BlockedTypeHashtable(_blockedModules);
 }