Skip to content

Commit eb7cc61

Browse files
committed
style: format
1 parent c39ea76 commit eb7cc61

File tree

6 files changed

+39
-28
lines changed

6 files changed

+39
-28
lines changed

CSharpFunctionalExtensions.HttpResults.Examples/CSharpFunctionalExtensions.HttpResults.Examples.csproj

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
2-
32
<PropertyGroup>
43
<TargetFramework>net10.0</TargetFramework>
54
<Nullable>enable</Nullable>
@@ -14,14 +13,17 @@
1413
</ItemGroup>
1514

1615
<ItemGroup>
17-
<ProjectReference Include="..\CSharpFunctionalExtensions.HttpResults\CSharpFunctionalExtensions.HttpResults.csproj"/>
18-
<ProjectReference Include="..\CSharpFunctionalExtensions.HttpResults.Generators\CSharpFunctionalExtensions.HttpResults.Generators.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false"/>
16+
<ProjectReference Include="..\CSharpFunctionalExtensions.HttpResults\CSharpFunctionalExtensions.HttpResults.csproj" />
17+
<ProjectReference
18+
Include="..\CSharpFunctionalExtensions.HttpResults.Generators\CSharpFunctionalExtensions.HttpResults.Generators.csproj"
19+
OutputItemType="Analyzer"
20+
ReferenceOutputAssembly="false"
21+
/>
1922
</ItemGroup>
2023

2124
<ItemGroup>
2225
<None Update="Features\FileStream\Foo.txt">
2326
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
2427
</None>
2528
</ItemGroup>
26-
2729
</Project>

CSharpFunctionalExtensions.HttpResults.Examples/Features/MultipleErrorChain/MultipleErrorChain.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ namespace CSharpFunctionalExtensions.HttpResults.Examples.Features.MultipleError
88
/// types of errors in a chain of <see cref="Result{T,E}" />.
99
/// This is the best workaround I could find for now.
1010
/// </summary>
11-
1211
// 1. Create base type for all errors and define concrete errors as child type
1312

1413
public record BookError;

CSharpFunctionalExtensions.HttpResults.Generators.Tests/CSharpFunctionalExtensions.HttpResults.Generators.Tests.csproj

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
32
<PropertyGroup>
43
<TargetFramework>net10.0</TargetFramework>
54
<ImplicitUsings>enable</ImplicitUsings>
@@ -13,8 +12,8 @@
1312
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
1413
</PackageReference>
1514
<PackageReference Include="FluentAssertions" Version="7.2.0" />
16-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Analyzer.Testing.XUnit" Version="1.1.2"/>
17-
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.CodeFix.Testing.XUnit" Version="1.1.2"/>
15+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Analyzer.Testing.XUnit" Version="1.1.2" />
16+
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.CodeFix.Testing.XUnit" Version="1.1.2" />
1817
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.13.0" />
1918
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.14.0" />
2019
<PackageReference Include="xunit" Version="2.9.3" />
@@ -25,13 +24,16 @@
2524
</ItemGroup>
2625

2726
<ItemGroup>
28-
<Using Include="Xunit"/>
27+
<Using Include="Xunit" />
2928
</ItemGroup>
3029

3130
<ItemGroup>
32-
<ProjectReference Include="..\CSharpFunctionalExtensions.HttpResults\CSharpFunctionalExtensions.HttpResults.csproj"/>
33-
<ProjectReference Include="..\CSharpFunctionalExtensions.HttpResults.Generators\CSharpFunctionalExtensions.HttpResults.Generators.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false"/>
34-
<ProjectReference Include="..\CSharpFunctionalExtensions.HttpResults.Generators\CSharpFunctionalExtensions.HttpResults.Generators.csproj"/>
31+
<ProjectReference Include="..\CSharpFunctionalExtensions.HttpResults\CSharpFunctionalExtensions.HttpResults.csproj" />
32+
<ProjectReference
33+
Include="..\CSharpFunctionalExtensions.HttpResults.Generators\CSharpFunctionalExtensions.HttpResults.Generators.csproj"
34+
OutputItemType="Analyzer"
35+
ReferenceOutputAssembly="false"
36+
/>
37+
<ProjectReference Include="..\CSharpFunctionalExtensions.HttpResults.Generators\CSharpFunctionalExtensions.HttpResults.Generators.csproj" />
3538
</ItemGroup>
36-
3739
</Project>

CSharpFunctionalExtensions.HttpResults.Generators/CSharpFunctionalExtensions.HttpResults.Generators.csproj

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
32
<PropertyGroup>
43
<TargetFramework>netstandard2.0</TargetFramework>
54
<Nullable>enable</Nullable>
@@ -26,11 +25,11 @@
2625

2726
<ItemGroup>
2827
<!-- Package the generator in the analyzer directory of the nuget package -->
29-
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false"/>
28+
<None Include="$(OutputPath)\$(AssemblyName).dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false" />
3029
</ItemGroup>
3130

3231
<ItemGroup>
33-
<AdditionalFiles Include="AnalyzerReleases.Shipped.md"/>
34-
<AdditionalFiles Include="AnalyzerReleases.Unshipped.md"/>
32+
<AdditionalFiles Include="AnalyzerReleases.Shipped.md" />
33+
<AdditionalFiles Include="AnalyzerReleases.Unshipped.md" />
3534
</ItemGroup>
3635
</Project>

CSharpFunctionalExtensions.HttpResults.Tests/CSharpFunctionalExtensions.HttpResults.Tests.csproj

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
32
<PropertyGroup>
43
<TargetFrameworks>net7.0;net8.0;net9.0;net10.0</TargetFrameworks>
54
<ImplicitUsings>enable</ImplicitUsings>
@@ -24,8 +23,11 @@
2423
</ItemGroup>
2524

2625
<ItemGroup>
27-
<ProjectReference Include="..\CSharpFunctionalExtensions.HttpResults\CSharpFunctionalExtensions.HttpResults.csproj"/>
28-
<ProjectReference Include="..\CSharpFunctionalExtensions.HttpResults.Generators\CSharpFunctionalExtensions.HttpResults.Generators.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false"/>
26+
<ProjectReference Include="..\CSharpFunctionalExtensions.HttpResults\CSharpFunctionalExtensions.HttpResults.csproj" />
27+
<ProjectReference
28+
Include="..\CSharpFunctionalExtensions.HttpResults.Generators\CSharpFunctionalExtensions.HttpResults.Generators.csproj"
29+
OutputItemType="Analyzer"
30+
ReferenceOutputAssembly="false"
31+
/>
2932
</ItemGroup>
30-
3133
</Project>

CSharpFunctionalExtensions.HttpResults/CSharpFunctionalExtensions.HttpResults.csproj

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<Project Sdk="Microsoft.NET.Sdk">
2-
32
<PropertyGroup>
43
<TargetFrameworks>net7.0;net8.0;net9.0;net10.0</TargetFrameworks>
54
<Nullable>enable</Nullable>
@@ -26,20 +25,28 @@
2625
</PropertyGroup>
2726

2827
<ItemGroup>
29-
<FrameworkReference Include="Microsoft.AspNetCore.App"/>
28+
<FrameworkReference Include="Microsoft.AspNetCore.App" />
3029
</ItemGroup>
3130

3231
<ItemGroup>
33-
<PackageReference Include="CSharpFunctionalExtensions" Version="[2.29.0,4.0.0)"/>
32+
<PackageReference Include="CSharpFunctionalExtensions" Version="[2.29.0,4.0.0)" />
3433
</ItemGroup>
3534

3635
<ItemGroup>
37-
<None Include="..\README.md" Pack="true" PackagePath="\"/>
38-
<None Include="..\LICENSE.md" Pack="true" PackagePath="\"/>
39-
<None Include="$(OutputPath)\net9.0\CSharpFunctionalExtensions.HttpResults.Generators.dll" Pack="true" PackagePath="analyzers/dotnet/cs" Visible="false"/>
36+
<None Include="..\README.md" Pack="true" PackagePath="\" />
37+
<None Include="..\LICENSE.md" Pack="true" PackagePath="\" />
38+
<None
39+
Include="$(OutputPath)\net9.0\CSharpFunctionalExtensions.HttpResults.Generators.dll"
40+
Pack="true"
41+
PackagePath="analyzers/dotnet/cs"
42+
Visible="false"
43+
/>
4044
</ItemGroup>
4145

4246
<ItemGroup>
43-
<ProjectReference Include="..\CSharpFunctionalExtensions.HttpResults.Generators\CSharpFunctionalExtensions.HttpResults.Generators.csproj" PrivateAssets="All"/>
47+
<ProjectReference
48+
Include="..\CSharpFunctionalExtensions.HttpResults.Generators\CSharpFunctionalExtensions.HttpResults.Generators.csproj"
49+
PrivateAssets="All"
50+
/>
4451
</ItemGroup>
4552
</Project>

0 commit comments

Comments
 (0)