-Added Newtonsoft.Json.Metro build (whew, what a pain!)

-Added .gitignore file
This commit is contained in:
James Newton-King
2012-03-15 18:34:51 +13:00
parent f9e5745425
commit 5800e97ff3
141 changed files with 3921 additions and 1097 deletions
@@ -63,7 +63,7 @@ namespace Newtonsoft.Json.Serialization
{
CollectionItemType = _genericCollectionDefinitionType.GetGenericArguments()[0];
}
else if (underlyingType.IsGenericType && underlyingType.GetGenericTypeDefinition() == typeof(IEnumerable<>))
else if (underlyingType.IsGenericType() && underlyingType.GetGenericTypeDefinition() == typeof(IEnumerable<>))
{
_genericCollectionDefinitionType = typeof (IEnumerable<>);
CollectionItemType = underlyingType.GetGenericArguments()[0];
@@ -133,7 +133,7 @@ namespace Newtonsoft.Json.Serialization
private bool IsTypeGenericCollectionInterface(Type type)
{
if (!type.IsGenericType)
if (!type.IsGenericType())
return false;
Type genericDefinition = type.GetGenericTypeDefinition();