示例#1
0
        protected virtual void CreateTypeAttributes(ClassEmitter emitter)
        {
            emitter.AddCustomAttributes(ProxyGenerationOptions);
#if FEATURE_SERIALIZATION
            emitter.DefineCustomAttribute <XmlIncludeAttribute>(new object[] { targetType });
#endif
        }
示例#2
0
        protected virtual void CreateTypeAttributes(ClassEmitter emitter)
        {
            emitter.AddCustomAttributes(ProxyGenerationOptions);
#if !SILVERLIGHT
            emitter.DefineCustomAttribute <XmlIncludeAttribute>(new object[] { targetType });
#endif
        }