mail-archives/mono-bugs/2003-July/006666.html

123 строки
4.7 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 44845][Wis] Changed - MCS doesn't find the best overloaded match for a constructor
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:bugzilla-daemon%40rocky.ximian.com">
<META NAME="robots" CONTENT="index,nofollow">
<LINK REL="Previous" HREF="006665.html">
<LINK REL="Next" HREF="006667.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 44845][Wis] Changed - MCS doesn't find the best overloaded match for a constructor
</H1>
<B>bugzilla-daemon@rocky.ximian.com
</B>
<A HREF="mailto:bugzilla-daemon%40rocky.ximian.com"
TITLE="[Mono-bugs] [Bug 44845][Wis] Changed - MCS doesn't find the best overloaded match for a constructor">bugzilla-daemon@rocky.ximian.com
</A><BR>
<I>Mon, 28 Jul 2003 19:06:54 -0400 (EDT)</I>
<P><UL>
<LI> Previous message: <A HREF="006665.html">[Mono-bugs] [Bug 46692][Wis] Changed - Null remarks should not cause extra indentation
</A></li>
<LI> Next message: <A HREF="006667.html">[Mono-bugs] [Bug 47022][Wis] New - memory cannot read
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6666">[ date ]</a>
<a href="thread.html#6666">[ thread ]</a>
<a href="subject.html#6666">[ subject ]</a>
<a href="author.html#6666">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>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 <A HREF="mailto:spouliot@videotron.ca.">spouliot@videotron.ca.</A>
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=44845">http://bugzilla.ximian.com/show_bug.cgi?id=44845</A>
--- 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: <A HREF="mailto:ravi@ximian.com">ravi@ximian.com</A>
ReportedBy: <A HREF="mailto:spouliot@videotron.ca">spouliot@videotron.ca</A>
@@ -147,6 +147,45 @@
------- Additional Comments From <A HREF="mailto:ravi@ximian.com">ravi@ximian.com</A> 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 <A HREF="mailto:spouliot@videotron.ca">spouliot@videotron.ca</A> 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
+
+
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="006665.html">[Mono-bugs] [Bug 46692][Wis] Changed - Null remarks should not cause extra indentation
</A></li>
<LI> Next message: <A HREF="006667.html">[Mono-bugs] [Bug 47022][Wis] New - memory cannot read
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6666">[ date ]</a>
<a href="thread.html#6666">[ thread ]</a>
<a href="subject.html#6666">[ subject ]</a>
<a href="author.html#6666">[ author ]</a>
</LI>
</UL>
</body></html>