mail-archives/mono-bugs/2009-March/086897.html

125 строки
4.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 483234] [FlowAnalysis] bad code when using structs with properties (CS0171)
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20483234%5D%20%5BFlowAnalysis%5D%20bad%20code%20when%20using%20structs%0A%20with%20properties%20%28CS0171%29&In-Reply-To=bug-483234-28286%40https.bugzilla.novell.com/">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="086823.html">
<LINK REL="Next" HREF="086898.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 483234] [FlowAnalysis] bad code when using structs with properties (CS0171)</H1>
<B>bugzilla_noreply at novell.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20483234%5D%20%5BFlowAnalysis%5D%20bad%20code%20when%20using%20structs%0A%20with%20properties%20%28CS0171%29&In-Reply-To=bug-483234-28286%40https.bugzilla.novell.com/"
TITLE="[Mono-bugs] [Bug 483234] [FlowAnalysis] bad code when using structs with properties (CS0171)">bugzilla_noreply at novell.com
</A><BR>
<I>Wed Mar 11 10:45:15 EDT 2009</I>
<P><UL>
<LI>Previous message: <A HREF="086823.html">[Mono-bugs] [Bug 483234] gmcs allows bad code when using automatic properties with structs
</A></li>
<LI>Next message: <A HREF="086898.html">[Mono-bugs] [Bug 483234] [Flow-analysis] bad code when using structs with properties (CS0171)
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#86897">[ date ]</a>
<a href="thread.html#86897">[ thread ]</a>
<a href="subject.html#86897">[ subject ]</a>
<a href="author.html#86897">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE><A HREF="https://bugzilla.novell.com/show_bug.cgi?id=483234">https://bugzilla.novell.com/show_bug.cgi?id=483234</A>
User <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">msafar at novell.com</A> added comment
<A HREF="https://bugzilla.novell.com/show_bug.cgi?id=483234#c2">https://bugzilla.novell.com/show_bug.cgi?id=483234#c2</A>
Marek Safar &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">msafar at novell.com</A>&gt; changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |<A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">msafar at novell.com</A>
Version|2.2.x |SVN
Summary|gmcs allows bad code when |[FlowAnalysis] bad code
|using automatic properties |when using structs with
|with structs |properties (CS0171)
--- Comment #2 from Marek Safar &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">msafar at novell.com</A>&gt; 2009-03-11 08:45:14 MST ---
public struct Tuple
{
public Tuple(int first)
{
First = true;
}
bool First { set {} }
int i;
}
Actual: No error reported
Expected: CS0171
--
Configure bugmail: <A HREF="https://bugzilla.novell.com/userprefs.cgi?tab=email">https://bugzilla.novell.com/userprefs.cgi?tab=email</A>
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="086823.html">[Mono-bugs] [Bug 483234] gmcs allows bad code when using automatic properties with structs
</A></li>
<LI>Next message: <A HREF="086898.html">[Mono-bugs] [Bug 483234] [Flow-analysis] bad code when using structs with properties (CS0171)
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#86897">[ date ]</a>
<a href="thread.html#86897">[ thread ]</a>
<a href="subject.html#86897">[ subject ]</a>
<a href="author.html#86897">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>