3 new revisions:
Revision: ec9d67eff0a3
Author: mausch@BUCHU
Date: Tue Feb 7 18:32:48 2012
Log: upgraded to .NET 4 toolchain (but still compiling to CLR 2.0)
http://code.google.com/p/linqbridge/source/detail?r=ec9d67eff0a3
Revision: 9dfd6cbfd393
Author: mausch@BUCHU
Date: Tue Feb 7 18:44:21 2012
Log: variance wherever possible
http://code.google.com/p/linqbridge/source/detail?r=9dfd6cbfd393
Revision: 3882a54771a4
Author: azizatif
Date: Wed Feb 8 12:39:26 2012
Log: Fixing build script to use MS Build 4 to sync with solution file;
clos...
http://code.google.com/p/linqbridge/source/detail?r=3882a54771a4
==============================================================================
Revision: ec9d67eff0a3
Author: mausch@BUCHU
Date: Tue Feb 7 18:32:48 2012
Log: upgraded to .NET 4 toolchain (but still compiling to CLR 2.0)
http://code.google.com/p/linqbridge/source/detail?r=ec9d67eff0a3
Modified:
/LINQBridge.sln
/src/LINQBridge.csproj
/test/LINQ.Tests/LINQ.Tests.csproj
/test/LINQBridge.Tests/LINQBridge.Tests.csproj
/test/TestResultsWiki/TestResultsWiki.csproj
=======================================
--- /LINQBridge.sln Sat Apr 30 05:48:09 2011
+++ /LINQBridge.sln Tue Feb 7 18:32:48 2012
@@ -1,5 +1,5 @@
-Microsoft Visual Studio Solution File, Format Version 10.00
+Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2008
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}")
= "LINQBridge", "src\LINQBridge.csproj", "{66621034-90CC-4D1A-B49E-73A13E3B22EF}"
EndProject
=======================================
--- /src/LINQBridge.csproj Sun May 1 03:14:48 2011
+++ /src/LINQBridge.csproj Tue Feb 7 18:32:48 2012
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="3.5" DefaultTargets="Build"
xmlns="
http://schemas.microsoft.com/developer/msbuild/2003">
+<Project ToolsVersion="4.0" DefaultTargets="Build"
xmlns="
http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)'
== '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
=======================================
--- /test/LINQ.Tests/LINQ.Tests.csproj Sat Apr 30 05:48:09 2011
+++ /test/LINQ.Tests/LINQ.Tests.csproj Tue Feb 7 18:32:48 2012
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="3.5" DefaultTargets="Build"
xmlns="
http://schemas.microsoft.com/developer/msbuild/2003">
+<Project ToolsVersion="4.0" DefaultTargets="Build"
xmlns="
http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)'
== '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
=======================================
--- /test/LINQBridge.Tests/LINQBridge.Tests.csproj Sat Apr 30 05:58:51 2011
+++ /test/LINQBridge.Tests/LINQBridge.Tests.csproj Tue Feb 7 18:32:48 2012
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="3.5" DefaultTargets="Build"
xmlns="
http://schemas.microsoft.com/developer/msbuild/2003">
+<Project ToolsVersion="4.0" DefaultTargets="Build"
xmlns="
http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)'
== '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
=======================================
--- /test/TestResultsWiki/TestResultsWiki.csproj Sat Apr 30 05:48:09 2011
+++ /test/TestResultsWiki/TestResultsWiki.csproj Tue Feb 7 18:32:48 2012
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="3.5" DefaultTargets="Build"
xmlns="
http://schemas.microsoft.com/developer/msbuild/2003">
+<Project ToolsVersion="4.0" DefaultTargets="Build"
xmlns="
http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)'
== '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
==============================================================================
Revision: 9dfd6cbfd393
Author: mausch@BUCHU
Date: Tue Feb 7 18:44:21 2012
Log: variance wherever possible
http://code.google.com/p/linqbridge/source/detail?r=9dfd6cbfd393
Modified:
/src/Action.cs
/src/Func.cs
/src/IGrouping.cs
/src/Public.cs
=======================================
--- /src/Action.cs Sat Apr 30 12:58:58 2011
+++ /src/Action.cs Tue Feb 7 18:44:21 2012
@@ -31,9 +31,9 @@
{
#if LINQBRIDGE_LIB
public delegate void Action();
- public delegate void Action<T1, T2>(T1 arg1, T2 arg2);
- public delegate void Action<T1, T2, T3>(T1 arg1, T2 arg2, T3 arg3);
- public delegate void Action<T1, T2, T3, T4>(T1 arg1, T2 arg2, T3 arg3,
T4 arg4);
+ public delegate void Action<in T1, in T2>(T1 arg1, T2 arg2);
+ public delegate void Action<in T1, in T2, in T3>(T1 arg1, T2 arg2, T3
arg3);
+ public delegate void Action<in T1, in T2, in T3, in T4>(T1 arg1, T2
arg2, T3 arg3, T4 arg4);
#else
delegate void Action();
delegate void Action<T1, T2>(T1 arg1, T2 arg2);
=======================================
--- /src/Func.cs Sat Apr 30 12:58:58 2011
+++ /src/Func.cs Tue Feb 7 18:44:21 2012
@@ -30,11 +30,11 @@
namespace System
{
#if LINQBRIDGE_LIB
- public delegate TResult Func<TResult>();
- public delegate TResult Func<T, TResult>(T a);
- public delegate TResult Func<T1, T2, TResult>(T1 arg1, T2 arg2);
- public delegate TResult Func<T1, T2, T3, TResult>(T1 arg1, T2 arg2, T3
arg3);
- public delegate TResult Func<T1, T2, T3, T4, TResult>(T1 arg1, T2
arg2, T3 arg3, T4 arg4);
+ public delegate TResult Func<out TResult>();
+ public delegate TResult Func<in T, out TResult>(T a);
+ public delegate TResult Func<in T1, in T2, out TResult>(T1 arg1, T2
arg2);
+ public delegate TResult Func<in T1, in T2, in T3, out TResult>(T1
arg1, T2 arg2, T3 arg3);
+ public delegate TResult Func<in T1, in T2, in T3, in T4, out
TResult>(T1 arg1, T2 arg2, T3 arg3, T4 arg4);
#else
delegate TResult Func<TResult>();
delegate TResult Func<T, TResult>(T a);
=======================================
--- /src/IGrouping.cs Sat Apr 30 12:58:58 2011
+++ /src/IGrouping.cs Tue Feb 7 18:44:21 2012
@@ -39,7 +39,7 @@
/// Represents a collection of objects that have a common key.
/// </summary>
- partial interface IGrouping<TKey, TElement> : IEnumerable<TElement>
+ partial interface IGrouping<out TKey, TElement> : IEnumerable<TElement>
{
/// <summary>
/// Gets the key of the <see cref="IGrouping{TKey,TElement}" />.
=======================================
--- /src/Public.cs Sat Apr 30 12:58:58 2011
+++ /src/Public.cs Tue Feb 7 18:44:21 2012
@@ -27,12 +27,13 @@
// $Id: Public.cs 96c90603bdff 2011-04-30 12:48:09Z azizatif $
+using System.Collections.Generic;
namespace System.Linq
{
#if LINQBRIDGE_LIB
public partial class Enumerable { }
- public partial interface IGrouping<TKey, TElement> { }
+ public partial interface IGrouping<out TKey, TElement>:
IEnumerable<TElement> { }
public partial interface ILookup<TKey, TElement> { }
public partial interface IOrderedEnumerable<TElement> { }
==============================================================================
Revision: 3882a54771a4
Author: azizatif
Date: Wed Feb 8 12:39:26 2012
Log: Fixing build script to use MS Build 4 to sync with solution file;
closes issue #27
http://code.google.com/p/linqbridge/source/detail?r=3882a54771a4
Modified:
/build.cmd
=======================================
--- /build.cmd Sat Apr 30 05:48:09 2011
+++ /build.cmd Wed Feb 8 12:39:26 2012
@@ -27,5 +27,5 @@
REM
for %%i in (Debug Release) do (
- "%SystemRoot%\Microsoft.NET\Framework\v3.5\msbuild"
/p:Configuration=%%i "%~dp0LINQBridge.sln"
-)
+ "%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\msbuild"
/p:Configuration=%%i "%~dp0LINQBridge.sln"
+)