Skip to content

Add C# Source Generator #323

Add C# Source Generator

Add C# Source Generator #323

Re-run triggered November 29, 2024 17:22
Status Failure
Total duration 5m 2s
Artifacts

pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors
ubuntu-latest
/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.SourceGenerators.CSharp/AnalyzerConfigOptionsProviderExtensions.cs(37,13): error IDE0008: Use explicit type instead of 'var' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0008) [/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.SourceGenerators.CSharp/NJsonSchema.SourceGenerators.CSharp.csproj]
ubuntu-latest
/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.SourceGenerators.CSharp/AnalyzerConfigOptionsProviderExtensions.cs(59,68): error IDE0008: Use explicit type instead of 'var' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0008) [/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.SourceGenerators.CSharp/NJsonSchema.SourceGenerators.CSharp.csproj]
ubuntu-latest
/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.SourceGenerators.CSharp/AnalyzerConfigOptionsProviderExtensions.cs(39,13): error IDE0046: 'if' statement can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0046) [/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.SourceGenerators.CSharp/NJsonSchema.SourceGenerators.CSharp.csproj]
ubuntu-latest
/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.SourceGenerators.CSharp/AnalyzerConfigOptionsProviderExtensions.cs(22,13): error IDE0008: Use explicit type instead of 'var' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0008) [/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.SourceGenerators.CSharp/NJsonSchema.SourceGenerators.CSharp.csproj]
ubuntu-latest
/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.SourceGenerators.CSharp/AnalyzerConfigOptionsProviderExtensions.cs(23,13): error IDE0008: Use explicit type instead of 'var' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0008) [/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.SourceGenerators.CSharp/NJsonSchema.SourceGenerators.CSharp.csproj]
ubuntu-latest
/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.SourceGenerators.CSharp/AnalyzerConfigOptionsProviderExtensions.cs(67,90): error IDE0008: Use explicit type instead of 'var' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0008) [/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.SourceGenerators.CSharp/NJsonSchema.SourceGenerators.CSharp.csproj]
ubuntu-latest
/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.SourceGenerators.CSharp/JsonSchemaSourceGenerator.cs(4,1): error IDE0005: Using directive is unnecessary. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005) [/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.SourceGenerators.CSharp/NJsonSchema.SourceGenerators.CSharp.csproj]
ubuntu-latest
/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.SourceGenerators.CSharp/JsonSchemaSourceGenerator.cs(21,13): error IDE0008: Use explicit type instead of 'var' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0008) [/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.SourceGenerators.CSharp/NJsonSchema.SourceGenerators.CSharp.csproj]
ubuntu-latest
/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.SourceGenerators.CSharp/JsonSchemaSourceGenerator.cs(30,21): error IDE0008: Use explicit type instead of 'var' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0008) [/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.SourceGenerators.CSharp/NJsonSchema.SourceGenerators.CSharp.csproj]
ubuntu-latest
/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.SourceGenerators.CSharp/JsonSchemaSourceGenerator.cs(44,25): error IDE0008: Use explicit type instead of 'var' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0008) [/home/runner/work/NJsonSchema/NJsonSchema/src/NJsonSchema.SourceGenerators.CSharp/NJsonSchema.SourceGenerators.CSharp.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.SourceGenerators.CSharp\JsonSchemaSourceGenerator.cs(21,13): error IDE0008: Use explicit type instead of 'var' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0008) [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.SourceGenerators.CSharp\NJsonSchema.SourceGenerators.CSharp.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.SourceGenerators.CSharp\JsonSchemaSourceGenerator.cs(30,21): error IDE0008: Use explicit type instead of 'var' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0008) [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.SourceGenerators.CSharp\NJsonSchema.SourceGenerators.CSharp.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.SourceGenerators.CSharp\JsonSchemaSourceGenerator.cs(44,25): error IDE0008: Use explicit type instead of 'var' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0008) [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.SourceGenerators.CSharp\NJsonSchema.SourceGenerators.CSharp.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.SourceGenerators.CSharp\JsonSchemaSourceGenerator.cs(45,25): error IDE0008: Use explicit type instead of 'var' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0008) [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.SourceGenerators.CSharp\NJsonSchema.SourceGenerators.CSharp.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.SourceGenerators.CSharp\JsonSchemaSourceGenerator.cs(46,25): error IDE0008: Use explicit type instead of 'var' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0008) [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.SourceGenerators.CSharp\NJsonSchema.SourceGenerators.CSharp.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.SourceGenerators.CSharp\JsonSchemaSourceGenerator.cs(50,25): error IDE0008: Use explicit type instead of 'var' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0008) [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.SourceGenerators.CSharp\NJsonSchema.SourceGenerators.CSharp.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.SourceGenerators.CSharp\AnalyzerConfigOptionsProviderExtensions.cs(22,13): error IDE0008: Use explicit type instead of 'var' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0008) [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.SourceGenerators.CSharp\NJsonSchema.SourceGenerators.CSharp.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.SourceGenerators.CSharp\AnalyzerConfigOptionsProviderExtensions.cs(23,13): error IDE0008: Use explicit type instead of 'var' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0008) [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.SourceGenerators.CSharp\NJsonSchema.SourceGenerators.CSharp.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.SourceGenerators.CSharp\AnalyzerConfigOptionsProviderExtensions.cs(37,13): error IDE0008: Use explicit type instead of 'var' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0008) [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.SourceGenerators.CSharp\NJsonSchema.SourceGenerators.CSharp.csproj]
windows-latest
D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.SourceGenerators.CSharp\AnalyzerConfigOptionsProviderExtensions.cs(39,13): error IDE0046: 'if' statement can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0046) [D:\a\NJsonSchema\NJsonSchema\src\NJsonSchema.SourceGenerators.CSharp\NJsonSchema.SourceGenerators.CSharp.csproj]