Update dependency NI.CSharp.Analyzers to 2.0.28 #24055
Annotations
10 errors
Run npm run build:
packages/blazor-workspace/Tests/NimbleBlazor.Tests.Acceptance.Client/Program.cs#L5
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run npm run build:
packages/blazor-workspace/Examples/Demo.Shared/Shared/ExampleHeader.razor.cs#L22
Prefer the generic overload 'System.Enum.Parse<TEnum>(string)' instead of 'System.Enum.Parse(System.Type, string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2263)
|
Run npm run build:
packages/blazor-workspace/Examples/Demo.Shared/Pages/ComponentsDemo.razor.cs#L349
Prefer the generic overload 'System.Enum.GetName<TEnum>(TEnum)' instead of 'System.Enum.GetName(System.Type, object)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2263)
|
Run npm run build:
packages/blazor-workspace/Examples/Demo.Shared/Pages/ComponentsDemo.razor.cs#L39
Prefer the generic overload 'System.Enum.GetValues<TEnum>()' instead of 'System.Enum.GetValues(System.Type)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2263)
|
Run npm run build:
packages/blazor-workspace/Examples/Demo.Shared/Pages/ComponentsDemo.razor.cs#L182
Prefer the generic overload 'System.Enum.Parse<TEnum>(string)' instead of 'System.Enum.Parse(System.Type, string)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2263)
|
Run npm run build:
packages/blazor-workspace/Tests/BlazorWorkspace.Testing.Acceptance/AcceptanceTestsBase.cs#L7
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run npm run build:
packages/blazor-workspace/Tests/BlazorWorkspace.Testing.Acceptance/IStartup.cs#L5
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run npm run build:
packages/blazor-workspace/Tests/BlazorWorkspace.Testing.Acceptance/MainLayout.razor.cs#L11
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run npm run build:
packages/blazor-workspace/Tests/BlazorWorkspace.Testing.Acceptance/PlaywrightFixture.cs#L9
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Run npm run build:
packages/blazor-workspace/Tests/BlazorWorkspace.Testing.Acceptance/Startup.cs#L8
Because an application's API isn't typically referenced from outside the assembly, types can be made internal (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1515)
|
Loading