[Mono-bugs] [Bug 44845][Wis] Changed - MCS doesn't find the best overloaded match for a constructor
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Mon, 28 Jul 2003 19:06:54 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by spouliot@videotron.ca.
http://bugzilla.ximian.com/show_bug.cgi?id=44845
--- shadow/44845 Mon Jul 28 16:45:08 2003
+++ shadow/44845.tmp.3160 Mon Jul 28 19:06:54 2003
@@ -1,12 +1,12 @@
Bug#: 44845
Product: Mono/MCS
Version: unspecified
OS: All
OS Details:
-Status: NEEDINFO
+Status: REOPENED
Resolution:
Severity: Unknown
Priority: Wishlist
Component: Misc
AssignedTo: ravi@ximian.com
ReportedBy: spouliot@videotron.ca
@@ -147,6 +147,45 @@
------- Additional Comments From ravi@ximian.com 2003-07-28 16:45 -------
I am unable to get it to see the SubjectAltNameExtension type - it
says it can't find it!
Could you please re-craft an example with latest CVS ? I shall give it
a go once you have that done
+
+------- Additional Comments From spouliot@videotron.ca 2003-07-28 19:06 -------
+[arghh! lost my comments when loging-in]
+SubjectAltNameExtension was missing from Mono.Security.dll.sources -
+probably in the convertion to the new build system. It's now back in
+so you should be able to use Ben's attached example.
+
+I compiled the example without problems with csc but got a strange
+error with mcs (CVS version on Windows):
+$ mcs ravi.cs /r:Mono.Security.dll
+error CS0518: The predefined type `System.Char*' is not defined or
+imported
+
+However compiling with mcs 0.25 (windows) got me the previous error
+
+$ mcs.bat ravi.cs /r:Mono.Security.dll
+ravi.cs(10) error CS1502: The best overloaded match for method '
+Mono.Security.X
+509.Extensions.SubjectAltNameExtension..ctor
+(Mono.Security.X509.X509Extension)'
+ has some invalid arguments
+ravi.cs(10) error CS1503: Argument 0: Cannot convert
+from 'Mono.Security.X509.X5
+09Extension' to 'Mono.Security.X509.X509Extension'
+ravi.cs(10) error CS1502: The best overloaded match for method '
+Mono.Security.X
+509.Extensions.SubjectAltNameExtension..ctor (Mono.Security.ASN1)'
+has some inva
+lid arguments
+ravi.cs(10) error CS1503: Argument 0: Cannot convert
+from 'Mono.Security.X509.X5
+09Extension' to 'Mono.Security.ASN1'
+ravi.cs(10) error CS1501: New invocation: Can not find a constructor
+in `Mono.Se
+curity.X509.Extensions.SubjectAltNameExtension' for this argument
+list
+Compilation failed: 5 error(s), 0 warnings
+
+