[Mono-bugs] [Bug 675144] Apparent threading issue with KnownTypeCollection

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Mar 9 07:54:13 EST 2011


https://bugzilla.novell.com/show_bug.cgi?id=675144

https://bugzilla.novell.com/show_bug.cgi?id=675144#c2


--- Comment #2 from Atsushi Enomoto <aenomoto at novell.com> 2011-03-09 12:54:12 UTC ---
Again, the client repro can be written within 30 lines like this +
Reference.cs, instead of lots of extra files:

using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Channels;
using System.ServiceModel.Description;
using WebServiceMoonlightTest.ServiceReference1;

public class tset
{
    public static void Main ()
    {
            var binding = new BasicHttpBinding();
            var remoteAddress = new
EndpointAddress("http://localhost:8100/Service1");
            var _client = new Service1Client(binding, remoteAddress);
            _client.GetNestedDataCompleted += OnGetNestedDataCompleted;

        for (int i = 0; i < 10; i++)
                    _client.GetNestedDataAsync();
        Console.ReadLine ();
    }

        static void OnGetNestedDataCompleted(object sender,
GetNestedDataCompletedEventArgs e)
        {
        Console.WriteLine ("done: " + e.Error);
    }

}

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list