File tree Expand file tree Collapse file tree
benchmarks/PropertyFlex.Benchmarks Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 <ImplicitUsings >enable</ImplicitUsings >
55 <Nullable >enable</Nullable >
66 <TreatWarningsAsErrors >true</TreatWarningsAsErrors >
7+ <ManagePackageVersionsCentrally >true</ManagePackageVersionsCentrally >
78 </PropertyGroup >
9+ <!-- Disable analyzers for test and benchmark projects -->
10+ <PropertyGroup Condition =" $(MSBuildProjectName.EndsWith('.Tests')) Or
11+ $(MSBuildProjectName.EndsWith('.Benchmarks'))" >
12+ <EnableNETAnalyzers >false</EnableNETAnalyzers >
13+ <EnforceCodeStyleInBuild >false</EnforceCodeStyleInBuild >
14+ <TreatWarningsAsErrors >false</TreatWarningsAsErrors >
15+ </PropertyGroup >
816</Project >
Original file line number Diff line number Diff line change 1+ <Project >
2+ <ItemGroup >
3+ <!-- Testing -->
4+ <PackageVersion Include =" xunit.v3" Version =" 1.1.0" />
5+ <PackageVersion Include =" xunit.runner.visualstudio" Version =" 3.1.0" />
6+ <PackageVersion Include =" Microsoft.NET.Test.Sdk" Version =" 17.14.0" />
7+ <PackageVersion Include =" FluentAssertions" Version =" 8.3.0" />
8+ <PackageVersion Include =" coverlet.collector" Version =" 6.0.4" />
9+
10+ <!-- Benchmarking -->
11+ <PackageVersion Include =" BenchmarkDotNet" Version =" 0.14.0" />
12+ </ItemGroup >
13+ </Project >
Original file line number Diff line number Diff line change 22 <Folder Name =" /SolutionItems/" >
33 <File Path =" .editorconfig" />
44 <File Path =" Directory.Build.props" />
5+ <File Path =" Directory.Packages.props" />
56 </Folder >
7+ <Project Path =" benchmarks/PropertyFlex.Benchmarks/PropertyFlex.Benchmarks.csproj" Id =" 248b2543-a7ee-4d8e-ad80-53595df157ca" />
68 <Project Path =" src/PropertyFlex/PropertyFlex.csproj" />
79 <Project Path =" tests/PropertyFlex.Tests/PropertyFlex.Tests.csproj" />
810</Solution >
Original file line number Diff line number Diff line change 1+ namespace PropertyFlex . Benchmarks ;
2+
3+ internal sealed class FlexBenchmarks
4+ {
5+ }
Original file line number Diff line number Diff line change 1+ namespace PropertyFlex . Benchmarks ;
2+
3+ internal sealed class UnionBenchmarks
4+ {
5+ }
Original file line number Diff line number Diff line change 1+ namespace PropertyFlex . Benchmarks ;
2+
3+ internal sealed class ValueContainerBenchmarks
4+ {
5+ }
Original file line number Diff line number Diff line change 1+ namespace PropertyFlex . Benchmarks ;
2+
3+ internal sealed class Program
4+ {
5+ public static void Main ( string [ ] args )
6+ {
7+ }
8+ }
Original file line number Diff line number Diff line change 1+ <Project Sdk =" Microsoft.NET.Sdk" >
2+
3+ <PropertyGroup >
4+ <OutputType >Exe</OutputType >
5+ </PropertyGroup >
6+
7+ <ItemGroup >
8+ <PackageReference Include =" BenchmarkDotNet" />
9+ </ItemGroup >
10+
11+ <ItemGroup >
12+ <ProjectReference Include =" ..\..\src\PropertyFlex\PropertyFlex.csproj" />
13+ </ItemGroup >
14+
15+ </Project >
Original file line number Diff line number Diff line change 44 <DefaultNamespace >PropertyFlexLib</DefaultNamespace >
55 </PropertyGroup >
66
7+ <ItemGroup >
8+ <InternalsVisibleTo Include =" PropertyFlex.Tests" />
9+ <InternalsVisibleTo Include =" PropertyFlex.Benchmarks" />
10+ </ItemGroup >
11+
712</Project >
Original file line number Diff line number Diff line change 1010
1111 <ItemGroup >
1212 <!-- XUnit v3 - Latest version with modern features -->
13- <PackageReference Include =" xunit.v3" Version = " 1.* " />
14- <PackageReference Include =" xunit.runner.visualstudio" Version = " 3.* " >
13+ <PackageReference Include =" xunit.v3" />
14+ <PackageReference Include =" xunit.runner.visualstudio" >
1515 <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
1616 <PrivateAssets >all</PrivateAssets >
1717 </PackageReference >
1818
1919 <!-- Required for running tests -->
20- <PackageReference Include =" Microsoft.NET.Test.Sdk" Version = " 17.* " />
20+ <PackageReference Include =" Microsoft.NET.Test.Sdk" />
2121
2222 <!-- FluentAssertions for more readable and expressive assertions -->
23- <PackageReference Include =" FluentAssertions" Version = " 8.* " />
23+ <PackageReference Include =" FluentAssertions" />
2424
2525 <!-- Coverlet for code coverage -->
26- <PackageReference Include =" coverlet.collector" Version = " 6.* " >
26+ <PackageReference Include =" coverlet.collector" >
2727 <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
2828 <PrivateAssets >all</PrivateAssets >
2929 </PackageReference >
You can’t perform that action at this time.
0 commit comments