[Mono-bugs] [Bug 640285] New: this object not saved in anonymous delegates
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Sep 17 18:47:14 EDT 2010
https://bugzilla.novell.com/show_bug.cgi?id=640285
https://bugzilla.novell.com/show_bug.cgi?id=640285#c0
Summary: this object not saved in anonymous delegates
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: rkvinge at novell.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
Created an attachment (id=390333)
--> (http://bugzilla.novell.com/attachment.cgi?id=390333)
test .cs
Compile test case and run it.
Results in:
> gmcs test.cs && mono test.exe
test.cs(7,13): warning CS0649: Field `C.upload_length' is never assigned to,
and will always have its default value `0'
Compilation succeeded - 1 warning(s)
Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object
at C+<Do>c__AnonStorey0.<>m__1 (Int64 c) [0x00000] in <filename unknown>:0
at C.Execute (System.Action`1 action) [0x00000] in <filename unknown>:0
at C.<Do>m__0 (Int64 a, Int64 b) [0x00000] in <filename unknown>:0
at C.Execute (System.Action`2 action) [0x00000] in <filename unknown>:0
at C.Do () [0x00000] in <filename unknown>:0
at C.Main () [0x00000] in <filename unknown>:0
it shouldn't throw an exception.
--
Configure bugmail: https://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