/// <summary>
        /// Creates an <see cref="ODataCollectionWriter" /> to write a collection of primitive or complex values (as result of a service operation invocation).
        /// </summary>
        /// <returns>The created collection writer.</returns>
        private ODataCollectionWriter CreateODataCollectionWriterImplementation()
        {
            ODataJsonCollectionWriter jsonCollectionWriter = new ODataJsonCollectionWriter(this, /*expectedItemType*/ null, /*listener*/ null);

            this.outputInStreamErrorListener = jsonCollectionWriter;
            return(jsonCollectionWriter);
        }
        private ODataCollectionWriter CreateODataCollectionWriterImplementation()
        {
            ODataJsonCollectionWriter writer = new ODataJsonCollectionWriter(this, null, null);

            this.outputInStreamErrorListener = writer;
            return(writer);
        }
 private ODataCollectionWriter CreateODataCollectionWriterImplementation()
 {
     ODataJsonCollectionWriter writer = new ODataJsonCollectionWriter(this, null, null);
     this.outputInStreamErrorListener = writer;
     return writer;
 }
 /// <summary>
 /// Creates an <see cref="ODataCollectionWriter" /> to write a collection of primitive or complex values (as result of a service operation invocation).
 /// </summary>
 /// <returns>The created collection writer.</returns>
 private ODataCollectionWriter CreateODataCollectionWriterImplementation()
 {
     ODataJsonCollectionWriter jsonCollectionWriter = new ODataJsonCollectionWriter(this, /*expectedItemType*/ null, /*listener*/ null);
     this.outputInStreamErrorListener = jsonCollectionWriter;
     return jsonCollectionWriter;
 }