Skip to content

Commit c002dbf

Browse files
committed
Update dependents to use new version of library. Set to use hptimestamps version 1.0.
1 parent 2b45f79 commit c002dbf

File tree

20 files changed

+40
-532
lines changed

20 files changed

+40
-532
lines changed

CafeBabeGame/CafeBabeGame/CafeBabeGame.csproj

+1-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
</PropertyGroup>
1414

1515
<ItemGroup>
16-
<PackageReference Include="DotNetVault" Version="0.2.5.15-beta" />
17-
<PackageReference Include="HighPrecisionTimeStamps" Version="0.1.1-beta" />
16+
<PackageReference Include="DotNetVault" Version="0.2.5.18" />
1817
<PackageReference Include="System.Collections.Immutable" Version="5.0.0" />
1918
</ItemGroup>
2019

Clorton Game/ClortonGameDemo/ClortonGameDemo.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
</PropertyGroup>
1414

1515
<ItemGroup>
16-
<PackageReference Include="DotNetVault" Version="0.2.5.15-beta" />
17-
<PackageReference Include="HighPrecisionTimeStamps" Version="0.1.1-beta" />
16+
<PackageReference Include="DotNetVault" Version="0.2.5.18" />
17+
<PackageReference Include="HighPrecisionTimeStamps" Version="1.0.0" />
1818
<PackageReference Include="System.Collections.Immutable" Version="5.0.0" />
1919
</ItemGroup>
2020

ConsoleStressTest/ConsoleStressTest.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
</PropertyGroup>
1818

1919
<ItemGroup>
20-
<PackageReference Include="DotNetVault" Version="0.2.5.15-beta" />
21-
<PackageReference Include="HighPrecisionTimeStamps" Version="0.1.1-beta" />
20+
<PackageReference Include="DotNetVault" Version="0.2.5.18" />
21+
<PackageReference Include="HighPrecisionTimeStamps" Version="1.0.0" />
2222
<PackageReference Include="System.Collections.Immutable" Version="5.0.0" />
2323
</ItemGroup>
2424

DotNetVault.Test/DotNetVault.Test.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
</ItemGroup>
9898

9999
<ItemGroup>
100-
<PackageReference Include="HighPrecisionTimeStamps" Version="0.1.1-beta" />
100+
<PackageReference Include="HighPrecisionTimeStamps" Version="1.0.0" />
101101
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.2">
102102
<PrivateAssets>all</PrivateAssets>
103103
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>

DotNetVault.Vsix/DotNetVault.Vsix.csproj

+2-7
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,7 @@
6060
<Link>.editorconfig</Link>
6161
</None>
6262
<None Include="app.config" />
63-
<None Include="LICENSE" />
6463
<None Include="packages.config" />
65-
<None Include="Readme.md" />
6664
<None Include="source.extension.vsixmanifest">
6765
<SubType>Designer</SubType>
6866
</None>
@@ -76,8 +74,8 @@
7674
</ProjectReference>
7775
</ItemGroup>
7876
<ItemGroup>
79-
<Reference Include="HighPrecisionTimeStamps, Version=0.1.1.0, Culture=neutral, processorArchitecture=MSIL">
80-
<HintPath>..\packages\HighPrecisionTimeStamps.0.1.1-beta\lib\netstandard2.0\HighPrecisionTimeStamps.dll</HintPath>
77+
<Reference Include="HighPrecisionTimeStamps, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
78+
<HintPath>..\packages\HighPrecisionTimeStamps.1.0.0\lib\netstandard2.0\HighPrecisionTimeStamps.dll</HintPath>
8179
</Reference>
8280
<Reference Include="JetBrains.Annotations, Version=2021.2.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325, processorArchitecture=MSIL">
8381
<HintPath>..\packages\JetBrains.Annotations.2021.2.0\lib\net20\JetBrains.Annotations.dll</HintPath>
@@ -97,9 +95,6 @@
9795
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.5.0.0\lib\net45\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
9896
</Reference>
9997
</ItemGroup>
100-
<ItemGroup>
101-
<Content Include="Release.txt" />
102-
</ItemGroup>
10398
<ItemGroup>
10499
<Compile Include="Properties\AssemblyInfo.cs" />
105100
</ItemGroup>

DotNetVault.Vsix/LICENSE

-21
This file was deleted.

DotNetVault.Vsix/Readme.md

-463
This file was deleted.

DotNetVault.Vsix/Release.txt

-2
This file was deleted.

DotNetVault.Vsix/packages.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="HighPrecisionTimeStamps" version="0.1.1-beta" targetFramework="net48" />
3+
<package id="HighPrecisionTimeStamps" version="1.0.0" targetFramework="net48" />
44
<package id="JetBrains.Annotations" version="2021.2.0" targetFramework="net48" />
55
<package id="System.Buffers" version="4.5.1" targetFramework="net48" />
66
<package id="System.Memory" version="4.5.4" targetFramework="net48" />

DotNetVault.sln

-4
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
2121
EndProject
2222
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "VaultUnitTests", "VaultUnitTests\VaultUnitTests.csproj", "{D0598457-B37E-4416-AAEC-53973098507F}"
2323
EndProject
24-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ExampleCodePlayground", "ExampleCodePlayground\ExampleCodePlayground.csproj", "{0C16C44A-A90E-456D-969C-1EBBAC2C9864}"
25-
EndProject
2624
Global
2725
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2826
Debug|Any CPU = Debug|Any CPU
@@ -45,8 +43,6 @@ Global
4543
{D0598457-B37E-4416-AAEC-53973098507F}.Debug|Any CPU.Build.0 = Debug|Any CPU
4644
{D0598457-B37E-4416-AAEC-53973098507F}.Release|Any CPU.ActiveCfg = Release|Any CPU
4745
{D0598457-B37E-4416-AAEC-53973098507F}.Release|Any CPU.Build.0 = Release|Any CPU
48-
{0C16C44A-A90E-456D-969C-1EBBAC2C9864}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
49-
{0C16C44A-A90E-456D-969C-1EBBAC2C9864}.Release|Any CPU.ActiveCfg = Release|Any CPU
5046
EndGlobalSection
5147
GlobalSection(SolutionProperties) = preSolution
5248
HideSolutionNode = FALSE

DotNetVault/DotNetVault.csproj

+17-14
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<PublishRepositoryUrl>true</PublishRepositoryUrl>
99
<IncludeSymbols>true</IncludeSymbols>
1010
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
11+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
1112
</PropertyGroup>
1213

1314
<PropertyGroup>
@@ -18,7 +19,7 @@
1819

1920
<PropertyGroup>
2021
<PackageId>DotNetVault</PackageId>
21-
<PackageVersion>0.2.5.16</PackageVersion>
22+
<PackageVersion>0.2.5.18</PackageVersion>
2223
<Owners>CJM Screws, LLC</Owners>
2324
<Authors>Christopher Susie</Authors>
2425
<PackageProjectUrl>https://github.com/cpsusie/DotNetVault</PackageProjectUrl>
@@ -38,25 +39,26 @@
3839
A guided tour / quick start guide for this project's functionality can be found here: https://github.com/cpsusie/DotNetVault/blob/v0.2.5.x/Quick_Start_Functionality_Tour.md
3940
</Description>
4041
<PackageReleaseNotes>
41-
RELEASE NOTES VERSION 0.2.5.16:
42-
Non-beta release using version 1.0 of High Precision Timestamps. Originally beta tested via version 0.1.1.0-beta in DotNetVault version 0.2.5.10-beta et seq. Dependency on HpTimestamps changed from included dll to a dependency on package.
42+
RELEASE NOTES VERSION 0.2.5.18:
43+
Non-beta release using version 1.0 of High Precision Timestamps. Originally beta tested via version 0.1.1.0-beta in DotNetVault version 0.2.5.10-beta et seq. Dependency on HpTimestamps changed from included dll to a dependency on package.
44+
Also, added a new (minor) feature: the [ReportWhiteListLocationsAttribute], when applied to a struct or class, will emit a compiler warning giving you the path of the vaultsafewhitelist and the conditionally vault safe generic whitelist files. This enables users on varied systems to locate these files.
4345
RELEASE NOTES VERSION 0.2.5.10-beta:
44-
Beta release using beta verion (0.1.1.0-beta) of High Precision Timestamps.
46+
Beta release using beta verion (0.1.1.0-beta) of High Precision Timestamps.
4547
RELEASE NOTES VERSION 0.2.5.9:
46-
* Fixed bug from Issue 8, where a readonly field of unmanaged struct (or enum) in an otherwise vault-safe reference type was being identified as not readonly merely because the unmanaged type itself has writable fields. This is incorrect because attaching the readonly qualifier to the field will prevent mutation of its writable fields ... or, at worst, cause any mutation to be written to a defensive copy. This problem manifested itself with a nullable unmanaged enum type.
47-
* Two unit tests added that originally failed but now pass after application of fix.
48-
* Update example code project to demonstrate.
48+
* Fixed bug from Issue 8, where a readonly field of unmanaged struct (or enum) in an otherwise vault-safe reference type was being identified as not readonly merely because the unmanaged type itself has writable fields. This is incorrect because attaching the readonly qualifier to the field will prevent mutation of its writable fields ... or, at worst, cause any mutation to be written to a defensive copy. This problem manifested itself with a nullable unmanaged enum type.
49+
* Two unit tests added that originally failed but now pass after application of fix.
50+
* Update example code project to demonstrate.
4951
</PackageReleaseNotes>
5052
<Copyright>Copyright © 2019-2021 CJM Screws, LLC</Copyright>
5153
<PackageTags>DotNetVault, analyzers, synchronization, thread-safety, threadsafe, deadlock, deadlock-prevention</PackageTags>
5254
<NoPackageAnalysis>true</NoPackageAnalysis>
5355
<LangVersion>8.0</LangVersion>
54-
<Version>0.2.5.16</Version>
56+
<Version>0.2.5.18</Version>
5557
<AssemblyName>DotNetVault</AssemblyName>
5658
<RootNamespace>DotNetVault</RootNamespace>
5759
<Company>CJM Screws, LLC</Company>
58-
<AssemblyVersion>0.2.5.16</AssemblyVersion>
59-
<FileVersion>0.2.5.16</FileVersion>
60+
<AssemblyVersion>0.2.5.18</AssemblyVersion>
61+
<FileVersion>0.2.5.18</FileVersion>
6062
<PackageLicenseFile>license.txt</PackageLicenseFile>
6163
</PropertyGroup>
6264

@@ -108,13 +110,14 @@
108110
</ItemGroup>
109111

110112
<ItemGroup>
111-
<PackageReference Include="HighPrecisionTimeStamps" Version="0.1.1-beta">
113+
<PackageReference Include="HighPrecisionTimeStamps" Version="1.0.0">
112114
<GeneratePathProperty>true</GeneratePathProperty>
113115
<IncludeAssets>all</IncludeAssets>
114116
</PackageReference>
115-
<Content Include="C:\Users\Christopher Susie\.nuget\packages\highprecisiontimestamps\0.1.1-beta\lib\netstandard2.0\HighPrecisionTimeStamps.dll">
117+
<None Include="$(PkgHighPrecisionTimeStamps)\lib\netstandard2.0\HighPrecisionTimeStamps.dll">
118+
<Link>HighPrecisionTimeStamps.dll</Link>
116119
<CopyToOutputDirectory>always</CopyToOutputDirectory>
117-
</Content>
120+
</None>
118121
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
119122
<PackageReference Include="JetBrains.Annotations" Version="2021.2.0" />
120123
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.3.2" PrivateAssets="all" />
@@ -137,7 +140,7 @@
137140
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="lib/netstandard2.0/" Visible="true" />
138141
<None Include="$(OutputPath)\$(AssemblyName).xml" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="true" />
139142
<None Include="$(OutputPath)\$(AssemblyName).xml" Pack="true" PackagePath="lib/netstandard2.0/" Visible="true" />
140-
<None Include="$(OutputPath)\$(AssemblyName).pdb" Pack="true" PackagePath="lib/netstandard2.0/" Visible="true"/>
143+
<None Include="$(OutputPath)\$(AssemblyName).pdb" Pack="true" PackagePath="lib/netstandard2.0/" Visible="true" />
141144
</ItemGroup>
142145
<ItemGroup>
143146
<None Update="readme.txt">

DotNetVaultQuickStart/DotNetVaultQuickStart.csproj

+1-2
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
</ItemGroup>
2929

3030
<ItemGroup>
31-
<PackageReference Include="DotNetVault" Version="0.2.5.15-beta" />
32-
<PackageReference Include="HighPrecisionTimeStamps" Version="0.1.1-beta" />
31+
<PackageReference Include="DotNetVault" Version="0.2.5.18" />
3332
<PackageReference Include="System.Collections.Immutable" Version="5.0.0" />
3433
</ItemGroup>
3534

ExampleCodePlayground/Bug76Demo.cs

+2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
using System;
22
using System.Text;
3+
using DotNetVault.Attributes;
34
using DotNetVault.LockedResources;
45
using DotNetVault.Vaults;
56

67
namespace ExampleCodePlayground
78
{
9+
//[ReportWhiteListLocations]
810
sealed class Bug76Demo
911
{
1012
//should not work

ExampleCodePlayground/ExampleCodePlayground.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@
4242
</ItemGroup>
4343

4444
<ItemGroup>
45-
<PackageReference Include="DotNetVault" Version ="0.2.5.15-beta"/>
46-
<PackageReference Include="HighPrecisionTimeStamps" Version="0.1.1-beta" />
45+
<PackageReference Include="DotNetVault" Version="0.2.5.18" />
46+
<PackageReference Include="HighPrecisionTimeStamps" Version="1.0.0" />
4747
<PackageReference Include="JetBrains.Annotations" Version="2021.2.0" />
4848
<PackageReference Include="System.Collections.Immutable" Version="5.0.0" />
4949
</ItemGroup>

ExampleLaundryMachine/LaundryMachine/LaundryMachine.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
</PropertyGroup>
2525

2626
<ItemGroup>
27-
<PackageReference Include="DotNetVault" Version="0.2.5.15-beta" />
28-
<PackageReference Include="HighPrecisionTimeStamps" Version="0.1.1-beta" />
27+
<PackageReference Include="DotNetVault" Version="0.2.5.18" />
28+
<PackageReference Include="HighPrecisionTimeStamps" Version="1.0.0" />
2929
<PackageReference Include="JetBrains.Annotations" Version="2021.2.0" />
3030
<PackageReference Include="System.Collections.Immutable" Version="5.0.0" />
3131
</ItemGroup>

ExampleLaundryMachine/LaundryMachineUi/LaundryMachineUi.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
</PropertyGroup>
1515

1616
<ItemGroup>
17-
<PackageReference Include="DotNetVault" Version="0.2.5.15-beta" />
18-
<PackageReference Include="HighPrecisionTimeStamps" Version="0.1.1-beta" />
17+
<PackageReference Include="DotNetVault" Version="0.2.5.18" />
18+
<PackageReference Include="HighPrecisionTimeStamps" Version="1.0.0" />
1919
<PackageReference Include="JetBrains.Annotations" Version="2021.2.0" />
2020
<PackageReference Include="System.Collections.Immutable" Version="5.0.0" />
2121
</ItemGroup>

ExampleLaundryMachine/LaundryStressTest/LaundryStressTest.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
</PropertyGroup>
1515

1616
<ItemGroup>
17-
<PackageReference Include="DotNetVault" Version="0.2.5.15-beta" />
18-
<PackageReference Include="HighPrecisionTimeStamps" Version="0.1.1-beta" />
17+
<PackageReference Include="DotNetVault" Version="0.2.5.18" />
18+
<PackageReference Include="HighPrecisionTimeStamps" Version="1.0.0" />
1919
<PackageReference Include="JetBrains.Annotations" Version="2021.2.0" />
2020
<PackageReference Include="System.Collections.Immutable" Version="5.0.0" />
2121
</ItemGroup>

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ Essentially, when we have an immutable or **mutable** value type that we accessi
136136

137137
#### *Release History*
138138

139-
The last official release was version [0.1.5.4](https://github.com/cpsusie/DotNetVault/releases/tag/v0.1.5.4), available as a Nuget package [here](https://www.nuget.org/packages/DotNetVault/0.1.5.4). Since then, **many** features have been added to DotNetVault. All of these features were included in the feature-complete beta version [0.2.2.12-beta](https://github.com/cpsusie/DotNetVault/releases/tag/v0.2.2.12-beta), available as a Nuget package [here](https://www.nuget.org/packages/DotNetVault/0.2.2.12-beta). The following list is a non-exhaustive summary of these new features:
139+
The last major official release was version [0.1.5.4](https://github.com/cpsusie/DotNetVault/releases/tag/v0.1.5.4), available as a Nuget package [here](https://www.nuget.org/packages/DotNetVault/0.1.5.4). Since then, **many** features have been added to DotNetVault. All of these features were included in the feature-complete beta version [0.2.2.12-beta](https://github.com/cpsusie/DotNetVault/releases/tag/v0.2.2.12-beta), available as a Nuget package [here](https://www.nuget.org/packages/DotNetVault/0.2.2.12-beta). The following list is a non-exhaustive summary of these new features:
140140
* Upgrading to new versions of Roslyn libraries, immutable collections and other minor dependency upgrades
141141
* Changing some of the formatting of analyzer diagnostics to comply with Roslyn authors' recommendations
142142
* Adding Monitor Vaults (using Monitor.Enter + sync object) as the synchronization mechanism

VaultUnitTests/VaultUnitTests.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
</ItemGroup>
2727

2828
<ItemGroup>
29-
<PackageReference Include="HighPrecisionTimeStamps" Version="0.1.1-beta" />
29+
<PackageReference Include="HighPrecisionTimeStamps" Version="1.0.0" />
3030
<PackageReference Include="JetBrains.Annotations" Version="2021.2.0" />
3131
<PackageReference Include="JetBrains.DotMemoryUnit" Version="3.1.20200127.214830" />
3232
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.8.3" />

license.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
MIT License
2-
Copyright (c) 2019-2020 CJM Screws, LLC
2+
DotNetVault Copyright (c) 2019-2021 CJM Screws, LLC
33

44
Permission is hereby granted, free of charge, to any person obtaining a copy
55
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)