[Mono-bugs] [Bug 607031] New: gmcs generates invalid System.ServiceModel_test_net_2_0.dll that blocks make run-test-ondotnet

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed May 19 03:20:26 EDT 2010


http://bugzilla.novell.com/show_bug.cgi?id=607031

http://bugzilla.novell.com/show_bug.cgi?id=607031#c0


           Summary: gmcs generates invalid
                    System.ServiceModel_test_net_2_0.dll that blocks make
                    run-test-ondotnet
    Classification: Mono
           Product: Mono: Compilers
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: aenomoto at novell.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Not sure which component is exactly problematic though: gmcs, SRE or anything
else

go to mcs/class/System.ServiceModel and run "make run-test-ondotnet" on
windows. It fails to load the test assembly and raises an error message like:

System.TypeLoadException: アセンブリ 'System.ServiceModel_test_net_2_0,
Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
からの型'MonoTests.System.ServiceModel.ChannelsHandlerTransportBindingElement'
のメソッド 'CanBuildChannelListener' は、不十分な型パラメータ制約でメソッドを暗黙的にオーバーライドしようとしました。

(which means:
'MonoTests.System.ServiceModel.Channels.HandlerTransportBindingElement' tried
to implicitly override 'CanBuildChannelListener' method with insufficient type
parameter constraint)

While System.ServiceModel.dll has a lot of subclasses from
TransportBindingElement, I assume this bogus IL output only happens when the
referencing base class (with type parameter constraints) resides outside the
output assembly.

This blocks daily WCF hacking.

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


More information about the mono-bugs mailing list