Skip to content

Commit f36ee3b

Browse files
committed
Added ConcurrentBag
1 parent c603555 commit f36ee3b

File tree

2 files changed

+5
-15
lines changed

2 files changed

+5
-15
lines changed

System.Collections.Concurrent/ConcurrentBag.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2525
// THE SOFTWARE.
2626

27-
#if NET_4_0
2827
using System;
2928
using System.Collections;
3029
using System.Collections.Generic;
@@ -279,4 +278,3 @@ void TidyBag (int index, CyclicDeque<T> bag)
279278
}
280279
}
281280
}
282-
#endif

System.Threading.Tasks.Net35.csproj

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
44
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -30,11 +30,13 @@
3030
<ConsolePause>False</ConsolePause>
3131
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
3232
<DefineConstants>NET_4_5;</DefineConstants>
33-
<DebugType>none</DebugType>
33+
<DebugType>pdbonly</DebugType>
34+
<DebugSymbols>true</DebugSymbols>
3435
</PropertyGroup>
3536
<ItemGroup>
3637
<Compile Include="Properties\AssemblyInfo.cs" />
3738
<Compile Include="System.Collections.Concurrent\BlockingCollection.cs" />
39+
<Compile Include="System.Collections.Concurrent\ConcurrentBag.cs" />
3840
<Compile Include="System.Collections.Concurrent\ConcurrentDictionary.cs" />
3941
<Compile Include="System.Collections.Concurrent\ConcurrentOrderedList.cs" />
4042
<Compile Include="System.Collections.Concurrent\ConcurrentQueue.cs" />
@@ -101,17 +103,7 @@
101103
<Compile Include="System\Lazy.cs" />
102104
<Compile Include="System\LazyThreadSafetyMode.cs" />
103105
</ItemGroup>
104-
<ItemGroup>
105-
<Folder Include="System.Collections.Concurrent\" />
106-
<Folder Include="System.Collections.Generic\" />
107-
<Folder Include="System.Threading.Tasks\" />
108-
<Folder Include="System\" />
109-
<Folder Include="System.Collections\" />
110-
<Folder Include="System.Threading\" />
111-
<Folder Include="System.Runtime.CompilerServices\" />
112-
<Folder Include="System.Runtime.ExceptionServices\" />
113-
<Folder Include="System.Collections.Concurrent.Partitioners\" />
114-
</ItemGroup>
106+
<ItemGroup />
115107
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
116108
<ItemGroup>
117109
<Reference Include="System" />

0 commit comments

Comments
 (0)