[jayrock] push by azizatif - Fixed C# 2 compilation error on 2011-04-20 00:49 GMT

1 view
Skip to first unread message

jay...@googlecode.com

unread,
Apr 19, 2011, 8:49:12 PM4/19/11
to jayrock...@googlegroups.com
Revision: 3b57664a095d
Author: azizatif
Date: Tue Apr 19 18:51:59 2011
Log: Fixed C# 2 compilation error
http://code.google.com/p/jayrock/source/detail?r=3b57664a095d

Modified:
/src/Jayrock.Json/Json/Conversion/ImportContext.cs

=======================================
--- /src/Jayrock.Json/Json/Conversion/ImportContext.cs Tue Apr 19 17:35:06
2011
+++ /src/Jayrock.Json/Json/Conversion/ImportContext.cs Tue Apr 19 18:51:59
2011
@@ -155,7 +155,7 @@
Type genericDictionaryType =
Reflector.FindConstructionOfGenericInterfaceDefinition(type,
typeof(IDictionary<,>));
if (genericDictionaryType != null)
{
- var args2 = genericDictionaryType.GetGenericArguments();
+ Type[] args2 = genericDictionaryType.GetGenericArguments();
Debug.Assert(args2.Length == 2);
Type[] args3 = new Type[3];
args3[0] = type; // [ TDictionary, ... , ... ]

Reply all
Reply to author
Forward
0 new messages