http://bugzilla.novell.com/show_bug.cgi?id=511234
Summary: Crash on loading resources with cultureinfo generated
by a windows tool
Classification: Mono
Product: Mono: Class Libraries
Version: 2.4.x
Platform: x86
OS/Version: Windows XP
Status: NEW
Severity: Normal
Priority: P5 - None
Component: System
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
Found By: ---
Created an attachment (id=296935)
--> (http://bugzilla.novell.com/attachment.cgi?id=296935)
zipped .resources file, test.cs and complete exception (exception.txt)
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR
3.0.4506.2152; .NET CLR 3.5.30729)
When attempting to load/access a .resources file via ResourceReader which has
cultureinfo in it (generated by a windows tool), the app crashes with
System.Runtime.Serialization.SerializationException: Field
"dateTimeOffsetPattern" not found in class
System.Globalization.DateTimeFormatInfo
See attached file(s)
Reproducible: Always
Steps to Reproduce:
1. compile and run attached file
2.
3.
Actual Results:
Exception
Expected Results:
No Exception :-)
CultureInfo is located in mscorlib, but mscorlib is not in the list.
Maybe this crash doesn't happen if the resource is created by mono, but
it points to an incompatible structure and therefore i posted it here.
(And it should be compatible of course)
--
Configure bugmail: http://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.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs