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