Skip to content

Commit

Permalink
Update versions
Browse files Browse the repository at this point in the history
  • Loading branch information
pakrym committed Mar 8, 2018
1 parent 5bad2bf commit ffae512
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions build/dependencies.props
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
<FSharpCorePackageVersion>4.2.1</FSharpCorePackageVersion>
<InternalAspNetCoreSdkPackageVersion>2.1.0-preview2-15721</InternalAspNetCoreSdkPackageVersion>
<MicrosoftNETCoreApp20PackageVersion>2.0.0</MicrosoftNETCoreApp20PackageVersion>
<MicrosoftNETCoreApp21PackageVersion>2.1.0-preview2-26305-07</MicrosoftNETCoreApp21PackageVersion>
<MicrosoftNETCoreApp21PackageVersion>2.1.0-preview2-26308-01</MicrosoftNETCoreApp21PackageVersion>
<MicrosoftNETTestSdkPackageVersion>15.6.0</MicrosoftNETTestSdkPackageVersion>
<MoqPackageVersion>4.7.49</MoqPackageVersion>
<NewtonsoftJsonPackageVersion>10.0.1</NewtonsoftJsonPackageVersion>
<SystemIOPipelinesPackageVersion>4.5.0-preview2-26305-02</SystemIOPipelinesPackageVersion>
<SystemMemoryPackageVersion>4.5.0-preview2-26305-02</SystemMemoryPackageVersion>
<SystemReflectionMetadataPackageVersion>1.6.0-preview2-26305-02</SystemReflectionMetadataPackageVersion>
<SystemRuntimeCompilerServicesUnsafePackageVersion>4.5.0-preview2-26305-02</SystemRuntimeCompilerServicesUnsafePackageVersion>
<SystemSecurityCryptographyCngPackageVersion>4.5.0-preview2-26305-02</SystemSecurityCryptographyCngPackageVersion>
<SystemThreadingTasksExtensionsPackageVersion>4.5.0-preview2-26305-02</SystemThreadingTasksExtensionsPackageVersion>
<SystemIOPipelinesPackageVersion>4.5.0-preview2-26308-02</SystemIOPipelinesPackageVersion>
<SystemMemoryPackageVersion>4.5.0-preview2-26308-02</SystemMemoryPackageVersion>
<SystemReflectionMetadataPackageVersion>1.6.0-preview2-26308-02</SystemReflectionMetadataPackageVersion>
<SystemRuntimeCompilerServicesUnsafePackageVersion>4.5.0-preview2-26308-02</SystemRuntimeCompilerServicesUnsafePackageVersion>
<SystemSecurityCryptographyCngPackageVersion>4.5.0-preview2-26308-02</SystemSecurityCryptographyCngPackageVersion>
<SystemThreadingTasksExtensionsPackageVersion>4.5.0-preview2-26308-02</SystemThreadingTasksExtensionsPackageVersion>
<XunitAnalyzersPackageVersion>0.8.0</XunitAnalyzersPackageVersion>
<XunitPackageVersion>2.3.1</XunitPackageVersion>
<XunitRunnerVisualstudioPackageVersion>2.4.0-beta.1.build3945</XunitRunnerVisualstudioPackageVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public override bool Release()
if (Interlocked.CompareExchange(ref _referenceCount, currentCount - 1, currentCount) == currentCount)
{
// TODO: this needs to be changed to 1 when get Pipelines with pool fix.
if (currentCount == 2)
if (currentCount == 1)
{
OnZeroReferences();
return false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ protected override void Dispose(bool disposing)
if (!_disposedValue)
{
_disposedValue = true;
#if DEBUG
#if DEBUG && !INNER_LOOP
GC.Collect();
GC.WaitForPendingFinalizers();
GC.Collect();
Expand Down
4 changes: 2 additions & 2 deletions test/Microsoft.Extensions.Internal.Test/PipeWriterTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@

namespace System.IO.Pipelines.Tests
{
public class BufferWriterTes: IDisposable
public class BufferWriterTes : IDisposable
{
protected Pipe Pipe;
public BufferWriterTes()
{
Pipe = new Pipe();
Pipe = new Pipe(new PipeOptions(useSynchronizationContext: false));
}

public void Dispose()
Expand Down

0 comments on commit ffae512

Please sign in to comment.