protected XmlObjectSerializerWriteContext(DataContractSerializer serializer, DataContract rootTypeDataContract, DataContractResolver resolver) : base(serializer, rootTypeDataContract, resolver)
 {
     this.byValObjectsInScope = new ObjectReferenceStack();
 }
 internal XmlObjectSerializerWriteContext(XmlObjectSerializer serializer, int maxItemsInObjectGraph, StreamingContext streamingContext, bool ignoreExtensionDataObject) : base(serializer, maxItemsInObjectGraph, streamingContext, ignoreExtensionDataObject)
 {
     this.byValObjectsInScope = new ObjectReferenceStack();
 }
 protected XmlObjectSerializerWriteContext(NetDataContractSerializer serializer) : base(serializer)
 {
     this.byValObjectsInScope = new ObjectReferenceStack();
 }