Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Jul 29, 2024
1 parent 603a41b commit ed11a5a
Show file tree
Hide file tree
Showing 20 changed files with 29 additions and 17 deletions.
1 change: 0 additions & 1 deletion src/DeterministicTests/DeterministicTests.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
Expand Down
1 change: 0 additions & 1 deletion src/ModuleInitDocs/ModuleInitDocs.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
Expand Down
1 change: 0 additions & 1 deletion src/StaticSettingsTests/StaticSettingsTests.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
Expand Down
1 change: 0 additions & 1 deletion src/StrictJsonTests/StrictJsonTests.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net48</TargetFrameworks>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
Expand Down
1 change: 0 additions & 1 deletion src/Verify.MSTest.Tests/Verify.MSTest.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
Expand Down
1 change: 0 additions & 1 deletion src/Verify.NUnit.Tests/Verify.NUnit.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
Expand Down
1 change: 0 additions & 1 deletion src/Verify.Tests/Verify.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
Expand Down
1 change: 0 additions & 1 deletion src/Verify.Xunit.Tests/Verify.Xunit.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
Expand Down
1 change: 1 addition & 0 deletions src/Verify/GlobalUsings.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
global using System.Buffers;
global using System.Collections.Frozen;
global using System.ComponentModel;
global using System.Diagnostics.Contracts;
global using System.IO.Hashing;
global using VerifyTests;
Expand Down
14 changes: 14 additions & 0 deletions src/Verify/SettingsTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -396,4 +396,18 @@ public TaskAwaiter<VerifyResult> GetAwaiter() =>
[Pure]
public static implicit operator Task<VerifyResult>(SettingsTask settingsTask) =>
settingsTask.ToTask();

[EditorBrowsable(EditorBrowsableState.Never)]
public override int GetHashCode() =>
// ReSharper disable once BaseObjectGetHashCodeCallInGetHashCode
base.GetHashCode();

[EditorBrowsable(EditorBrowsableState.Never)]
public override string? ToString() =>
base.ToString();

[EditorBrowsable(EditorBrowsableState.Never)]
public override bool Equals(object? obj) =>
// ReSharper disable once BaseObjectEqualsIsObjectEquals
base.Equals(obj);
}
14 changes: 14 additions & 0 deletions src/Verify/VerifySettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,18 @@ public void AutoVerify(AutoVerify autoVerify, bool includeBuildServer = true)
}
}
}

[EditorBrowsable(EditorBrowsableState.Never)]
public override int GetHashCode() =>
// ReSharper disable once BaseObjectGetHashCodeCallInGetHashCode
base.GetHashCode();

[EditorBrowsable(EditorBrowsableState.Never)]
public override string? ToString() =>
base.ToString();

[EditorBrowsable(EditorBrowsableState.Never)]
public override bool Equals(object? obj) =>
// ReSharper disable once BaseObjectEqualsIsObjectEquals
base.Equals(obj);
}
1 change: 0 additions & 1 deletion usages/FixieNugetUsage/FixieNugetUsage.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
Expand Down
1 change: 0 additions & 1 deletion usages/MSTestNugetUsage/MSTestNugetUsage.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
Expand Down
1 change: 0 additions & 1 deletion usages/NUnitNugetUsage/NUnitNugetUsage.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
Expand Down
1 change: 0 additions & 1 deletion usages/XunitNugetUsage/XunitNugetUsage.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
Expand Down

0 comments on commit ed11a5a

Please sign in to comment.