зеркало из https://github.com/mono/mail-archives.git
106 строки
3.8 KiB
HTML
106 строки
3.8 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-bugs] [Bug 60330][Wis] Changed - change the content of a string property from inside the class causes a stack overflow
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:bugzilla-daemon%40bugzilla.ximian.com">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
|
|
<LINK REL="Previous" HREF="017534.html">
|
|
<LINK REL="Next" HREF="017536.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-bugs] [Bug 60330][Wis] Changed - change the content of a string property from inside the class causes a stack overflow
|
|
</H1>
|
|
<B>bugzilla-daemon@bugzilla.ximian.com
|
|
</B>
|
|
<A HREF="mailto:bugzilla-daemon%40bugzilla.ximian.com"
|
|
TITLE="[Mono-bugs] [Bug 60330][Wis] Changed - change the content of a string property from inside the class causes a stack overflow">bugzilla-daemon@bugzilla.ximian.com
|
|
</A><BR>
|
|
<I>Thu, 17 Jun 2004 07:59:54 -0400 (EDT)</I>
|
|
<P><UL>
|
|
<LI> Previous message: <A HREF="017534.html">[Mono-bugs] [Bug 59587][Maj] Changed - Attributes on events in System.Data.SqlClient
|
|
</A></li>
|
|
<LI> Next message: <A HREF="017536.html">[Mono-bugs] [Bug 60333][Nor] Changed - mcs reports error CS0182 when casting a constant value in attribute
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#17535">[ date ]</a>
|
|
<a href="thread.html#17535">[ thread ]</a>
|
|
<a href="subject.html#17535">[ subject ]</a>
|
|
<a href="author.html#17535">[ 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:sebastien@ximian.com.">sebastien@ximian.com.</A>
|
|
|
|
<A HREF="http://bugzilla.ximian.com/show_bug.cgi?id=60330">http://bugzilla.ximian.com/show_bug.cgi?id=60330</A>
|
|
|
|
--- shadow/60330 2004-06-17 02:05:24.000000000 -0400
|
|
+++ shadow/60330.tmp.25120 2004-06-17 07:59:54.000000000 -0400
|
|
@@ -1,13 +1,13 @@
|
|
Bug#: 60330
|
|
Product: Mono: Runtime
|
|
Version: unspecified
|
|
OS: unknown
|
|
OS Details: FC2
|
|
-Status: NEW
|
|
-Resolution:
|
|
+Status: RESOLVED
|
|
+Resolution: NOTABUG
|
|
Severity: Unknown
|
|
Priority: Wishlist
|
|
Component: misc
|
|
AssignedTo: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
|
|
ReportedBy: <A HREF="mailto:raf@ophion.org">raf@ophion.org</A>
|
|
QAContact: <A HREF="mailto:mono-bugs@ximian.com">mono-bugs@ximian.com</A>
|
|
@@ -80,6 +80,26 @@
|
|
|
|
}
|
|
}
|
|
|
|
------- Additional Comments From <A HREF="mailto:raf@ophion.org">raf@ophion.org</A> 2004-06-17 02:05 -------
|
|
IT does not have to be a string. setting any property causes an exception
|
|
+
|
|
+------- Additional Comments From <A HREF="mailto:sebastien@ximian.com">sebastien@ximian.com</A> 2004-06-17 07:59 -------
|
|
+Your set property is recursive.
|
|
+
|
|
+public static string Blah {
|
|
+ get { return (Blah);}
|
|
+ set { Blah = value;}
|
|
+}
|
|
+
|
|
+The endless recursion is causing the stack overflow.
|
|
+Changing code to
|
|
+
|
|
+private string _blah;
|
|
+
|
|
+public static string Blah {
|
|
+ get { return _blah;}
|
|
+ set { _blah = value;}
|
|
+}
|
|
+
|
|
+should work without problems.
|
|
|
|
</PRE>
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI> Previous message: <A HREF="017534.html">[Mono-bugs] [Bug 59587][Maj] Changed - Attributes on events in System.Data.SqlClient
|
|
</A></li>
|
|
<LI> Next message: <A HREF="017536.html">[Mono-bugs] [Bug 60333][Nor] Changed - mcs reports error CS0182 when casting a constant value in attribute
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#17535">[ date ]</a>
|
|
<a href="thread.html#17535">[ thread ]</a>
|
|
<a href="subject.html#17535">[ subject ]</a>
|
|
<a href="author.html#17535">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
</body></html>
|