diff --git a/Directory.Packages.props b/Directory.Packages.props
new file mode 100644
index 00000000..6c12d416
--- /dev/null
+++ b/Directory.Packages.props
@@ -0,0 +1,40 @@
+
+
+
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Funcky.Analyzers/Funcky.Analyzers.CodeFixes/Funcky.Analyzers.CodeFixes.csproj b/Funcky.Analyzers/Funcky.Analyzers.CodeFixes/Funcky.Analyzers.CodeFixes.csproj
index 8e109d2c..da7ac03b 100644
--- a/Funcky.Analyzers/Funcky.Analyzers.CodeFixes/Funcky.Analyzers.CodeFixes.csproj
+++ b/Funcky.Analyzers/Funcky.Analyzers.CodeFixes/Funcky.Analyzers.CodeFixes.csproj
@@ -1,4 +1,4 @@
-
+
netstandard2.0
diff --git a/Funcky.Analyzers/Funcky.Analyzers.Package/Funcky.Analyzers.Package.csproj b/Funcky.Analyzers/Funcky.Analyzers.Package/Funcky.Analyzers.Package.csproj
index c60ebdd6..5a68e21e 100644
--- a/Funcky.Analyzers/Funcky.Analyzers.Package/Funcky.Analyzers.Package.csproj
+++ b/Funcky.Analyzers/Funcky.Analyzers.Package/Funcky.Analyzers.Package.csproj
@@ -1,4 +1,4 @@
-
+
netstandard2.0
preview
diff --git a/Funcky.Analyzers/Funcky.Analyzers.Test/Funcky.Analyzers.Test.csproj b/Funcky.Analyzers/Funcky.Analyzers.Test/Funcky.Analyzers.Test.csproj
index 3de269aa..46e6f408 100644
--- a/Funcky.Analyzers/Funcky.Analyzers.Test/Funcky.Analyzers.Test.csproj
+++ b/Funcky.Analyzers/Funcky.Analyzers.Test/Funcky.Analyzers.Test.csproj
@@ -1,4 +1,4 @@
-
+
net7.0
diff --git a/Funcky.Analyzers/Funcky.Analyzers.Vsix/Funcky.Analyzers.Vsix.csproj b/Funcky.Analyzers/Funcky.Analyzers.Vsix/Funcky.Analyzers.Vsix.csproj
index 85f8f0f6..f8da78e0 100644
--- a/Funcky.Analyzers/Funcky.Analyzers.Vsix/Funcky.Analyzers.Vsix.csproj
+++ b/Funcky.Analyzers/Funcky.Analyzers.Vsix/Funcky.Analyzers.Vsix.csproj
@@ -1,7 +1,6 @@
-
netstandard2.0
@@ -47,6 +46,4 @@
-
-
-
\ No newline at end of file
+
diff --git a/Funcky.Analyzers/Funcky.Analyzers/Funcky.Analyzers.csproj b/Funcky.Analyzers/Funcky.Analyzers/Funcky.Analyzers.csproj
index 1548cf21..2e7bb035 100644
--- a/Funcky.Analyzers/Funcky.Analyzers/Funcky.Analyzers.csproj
+++ b/Funcky.Analyzers/Funcky.Analyzers/Funcky.Analyzers.csproj
@@ -1,4 +1,4 @@
-
+
netstandard2.0
diff --git a/Funcky.Analyzers/Funcky.BuiltinAnalyzers/Funcky.BuiltinAnalyzers.csproj b/Funcky.Analyzers/Funcky.BuiltinAnalyzers/Funcky.BuiltinAnalyzers.csproj
index 7acdd331..b84f0879 100644
--- a/Funcky.Analyzers/Funcky.BuiltinAnalyzers/Funcky.BuiltinAnalyzers.csproj
+++ b/Funcky.Analyzers/Funcky.BuiltinAnalyzers/Funcky.BuiltinAnalyzers.csproj
@@ -1,4 +1,4 @@
-
+
netstandard2.0
false
diff --git a/Funcky.Async.Test/Extensions/AsyncEnumerableExtensions/ChunkTest.cs b/Funcky.Async.Test/Extensions/AsyncEnumerableExtensions/ChunkTest.cs
index 309e4001..dedef74a 100644
--- a/Funcky.Async.Test/Extensions/AsyncEnumerableExtensions/ChunkTest.cs
+++ b/Funcky.Async.Test/Extensions/AsyncEnumerableExtensions/ChunkTest.cs
@@ -75,20 +75,21 @@ public async Task GivenAnEnumerableNotAMultipleOfSizeWeHaveASmallerLastSlice()
const int chunkSize = 4;
var chunked = numbers.Chunk(chunkSize);
+ var count = await numbers.CountAsync();
await AsyncAssert.Collection(
chunked,
a =>
{
- Assert.Equal(a.Count, chunkSize);
+ Assert.Equal(chunkSize, a.Count);
},
b =>
{
- Assert.Equal(b.Count, chunkSize);
+ Assert.Equal(chunkSize, b.Count);
},
- async c =>
+ c =>
{
- Assert.Equal(c.Count, await numbers.CountAsync() % chunkSize);
+ Assert.Equal(count % chunkSize, c.Count);
});
}
diff --git a/Funcky.Async.Test/Funcky.Async.Test.csproj b/Funcky.Async.Test/Funcky.Async.Test.csproj
index 7790edb2..3eb49017 100644
--- a/Funcky.Async.Test/Funcky.Async.Test.csproj
+++ b/Funcky.Async.Test/Funcky.Async.Test.csproj
@@ -1,4 +1,4 @@
-
+
net7.0
preview
diff --git a/Funcky.Async/Funcky.Async.csproj b/Funcky.Async/Funcky.Async.csproj
index 361db122..dcd5e175 100644
--- a/Funcky.Async/Funcky.Async.csproj
+++ b/Funcky.Async/Funcky.Async.csproj
@@ -1,4 +1,4 @@
-
+
net5.0;netstandard2.1;netstandard2.0
preview
diff --git a/Funcky.FsCheck/Funcky.FsCheck.fsproj b/Funcky.FsCheck/Funcky.FsCheck.fsproj
index d53009b1..baa292b3 100644
--- a/Funcky.FsCheck/Funcky.FsCheck.fsproj
+++ b/Funcky.FsCheck/Funcky.FsCheck.fsproj
@@ -1,4 +1,4 @@
-
+
netstandard2.0;net6.0
false
@@ -13,5 +13,9 @@
+
+
+
+
diff --git a/Funcky.SourceGenerator.Test/Funcky.SourceGenerator.Test.csproj b/Funcky.SourceGenerator.Test/Funcky.SourceGenerator.Test.csproj
index 29b1d4da..e101447b 100644
--- a/Funcky.SourceGenerator.Test/Funcky.SourceGenerator.Test.csproj
+++ b/Funcky.SourceGenerator.Test/Funcky.SourceGenerator.Test.csproj
@@ -1,4 +1,4 @@
-
+
Funcky.SourceGenerator.Test
diff --git a/Funcky.SourceGenerator/Funcky.SourceGenerator.csproj b/Funcky.SourceGenerator/Funcky.SourceGenerator.csproj
index b0957ff2..75fb469d 100644
--- a/Funcky.SourceGenerator/Funcky.SourceGenerator.csproj
+++ b/Funcky.SourceGenerator/Funcky.SourceGenerator.csproj
@@ -1,4 +1,4 @@
-
+
Funcky.SourceGenerator
Funcky.SourceGenerator
diff --git a/Funcky.Test.Internal/Funcky.Test.Internal.csproj b/Funcky.Test.Internal/Funcky.Test.Internal.csproj
index 21a8bf9a..29334abf 100644
--- a/Funcky.Test.Internal/Funcky.Test.Internal.csproj
+++ b/Funcky.Test.Internal/Funcky.Test.Internal.csproj
@@ -1,4 +1,4 @@
-
+
netstandard2.0
preview
diff --git a/Funcky.Test/Extensions/EnumerableExtensions/ChunkTest.cs b/Funcky.Test/Extensions/EnumerableExtensions/ChunkTest.cs
index e09e753f..7f3ffd2b 100644
--- a/Funcky.Test/Extensions/EnumerableExtensions/ChunkTest.cs
+++ b/Funcky.Test/Extensions/EnumerableExtensions/ChunkTest.cs
@@ -86,15 +86,15 @@ public void GivenAnEnumerableNotAMultipleOfSizeWeHaveASmallerLastSlice()
chunked,
a =>
{
- Assert.Equal(a.Count, chunkSize);
+ Assert.Equal(chunkSize, a.Count);
},
b =>
{
- Assert.Equal(b.Count, chunkSize);
+ Assert.Equal(chunkSize, b.Count);
},
c =>
{
- Assert.Equal(c.Count, numbers.Count() % chunkSize);
+ Assert.Equal(numbers.Count % chunkSize, c.Count);
});
}
diff --git a/Funcky.Test/Extensions/ParseExtensionsTest.cs b/Funcky.Test/Extensions/ParseExtensionsTest.cs
index c65922cd..4a4b6092 100644
--- a/Funcky.Test/Extensions/ParseExtensionsTest.cs
+++ b/Funcky.Test/Extensions/ParseExtensionsTest.cs
@@ -88,7 +88,7 @@ public void GivenAStringParseEnumOrNoneReturnsTheCorrectValue(Option exp
Assert.Equal(expected, input.ParseEnumOrNone());
}
- private static TheoryData