Skip to content

Commit 7cc3136

Browse files
author
Oren (electricessence)
committed
Updates.
Resharper inspection fixes.
1 parent 04fac44 commit 7cc3136

5 files changed

Lines changed: 359 additions & 313 deletions

File tree

Lock.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ public Lock(object target, int millisecondsTimeout, bool throwIfTimeout = true)
3333
: base(target, Monitor.TryEnter(target, millisecondsTimeout))
3434
{
3535
if (!LockHeld && throwIfTimeout)
36-
throw new TimeoutException(String.Format(
37-
"Could not acquire a lock within the timeout specified. (millisecondsTimeout={0})", millisecondsTimeout));
36+
throw new TimeoutException(
37+
$"Could not acquire a lock within the timeout specified. (millisecondsTimeout={millisecondsTimeout})");
3838

3939
}
4040

Open.Threading.ReadWrite.csproj

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,23 @@
1111
<Description>Useful set of extensions and classes for simplifying and optimizing read-write synchronization.
1212

1313
Part of the "Open" set of libraries.</Description>
14-
<Version>1.1.0</Version>
15-
<AssemblyVersion>1.1.0.0</AssemblyVersion>
16-
<FileVersion>1.1.0.0</FileVersion>
14+
<Version>1.1.2</Version>
15+
<AssemblyVersion>1.1.2.0</AssemblyVersion>
16+
<FileVersion>1.1.2.0</FileVersion>
1717
<PackageTags>dotnet, dotnet-core, dotnetcore, cs, collections, extensions, threadsafe, thread-safe, readwrite, read-write, readerwriterlock, readerwriterlockslim</PackageTags>
1818
<Copyright>https://github.com/electricessence/Open.Threading/blob/master/LISCENSE.md</Copyright>
1919
<PackageProjectUrl>https://github.com/electricessence/Open.Threading/</PackageProjectUrl>
2020
<RepositoryUrl>https://github.com/electricessence/Open.Threading/</RepositoryUrl>
2121
<RepositoryType>git</RepositoryType>
22-
<PackageReleaseNotes>Updated to .NET Standard for compatability.</PackageReleaseNotes>
22+
<PackageReleaseNotes></PackageReleaseNotes>
23+
</PropertyGroup>
24+
25+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
26+
<LangVersion>latest</LangVersion>
27+
</PropertyGroup>
28+
29+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
30+
<LangVersion>latest</LangVersion>
2331
</PropertyGroup>
2432

2533
<ItemGroup>
@@ -31,8 +39,8 @@ Part of the "Open" set of libraries.</Description>
3139

3240
<ItemGroup>
3341
<PackageReference Include="Open.Diagnostics" Version="1.3.0" />
34-
<PackageReference Include="Open.Disposable" Version="1.1.0" />
35-
<PackageReference Include="Open.Disposable.ObjectPools" Version="2.1.0" />
42+
<PackageReference Include="Open.Disposable" Version="1.2.1" />
43+
<PackageReference Include="Open.Disposable.ObjectPools" Version="2.1.3" />
3644
</ItemGroup>
3745

3846
</Project>

0 commit comments

Comments
 (0)