File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
src/ImageSharp.Web/Caching Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 33
44using System ;
55using System . Collections . Generic ;
6+ using System . Runtime . CompilerServices ;
67using System . Threading . Tasks ;
78
89namespace SixLabors . ImageSharp . Web . Caching
@@ -88,6 +89,7 @@ public Task<Releaser> WriterLockAsync()
8889 }
8990 }
9091
92+ [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
9193 private void ReaderRelease ( )
9294 {
9395 TaskCompletionSource < Releaser > toWake = null ;
@@ -111,6 +113,7 @@ private void ReaderRelease()
111113 toWake ? . SetResult ( new Releaser ( this , true ) ) ;
112114 }
113115
116+ [ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
114117 private void WriterRelease ( )
115118 {
116119 TaskCompletionSource < Releaser > toWake = null ;
@@ -168,4 +171,4 @@ public void Dispose()
168171 }
169172 }
170173 }
171- }
174+ }
Original file line number Diff line number Diff line change 11// Copyright (c) Six Labors.
22// Licensed under the Apache License, Version 2.0.
33
4- using System ;
54using System . IO ;
65using System . Threading . Tasks ;
76using Microsoft . Extensions . FileProviders ;
You can’t perform that action at this time.
0 commit comments