diff --git a/change/@ni-nimble-blazor-a9c25e00-8e07-4e6a-969c-9e32a32c45ab.json b/change/@ni-nimble-blazor-a9c25e00-8e07-4e6a-969c-9e32a32c45ab.json new file mode 100644 index 0000000000..41633a8e19 --- /dev/null +++ b/change/@ni-nimble-blazor-a9c25e00-8e07-4e6a-969c-9e32a32c45ab.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "Update dependency NI.CSharp.Analyzers to 2.0.28", + "packageName": "@ni/nimble-blazor", + "email": "rajsite@users.noreply.github.com", + "dependentChangeType": "none" +} diff --git a/change/@ni-spright-blazor-3a34a4c1-d7b4-4d63-b11c-7dd49f4ffbab.json b/change/@ni-spright-blazor-3a34a4c1-d7b4-4d63-b11c-7dd49f4ffbab.json new file mode 100644 index 0000000000..74b5cc8aaf --- /dev/null +++ b/change/@ni-spright-blazor-3a34a4c1-d7b4-4d63-b11c-7dd49f4ffbab.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "Update dependency NI.CSharp.Analyzers to 2.0.28", + "packageName": "@ni/spright-blazor", + "email": "rajsite@users.noreply.github.com", + "dependentChangeType": "none" +} diff --git a/packages/blazor-workspace/Examples/Demo.Client/Demo.Client.csproj b/packages/blazor-workspace/Examples/Demo.Client/Demo.Client.csproj index 86f431fbf5..a54d57000b 100644 --- a/packages/blazor-workspace/Examples/Demo.Client/Demo.Client.csproj +++ b/packages/blazor-workspace/Examples/Demo.Client/Demo.Client.csproj @@ -32,7 +32,7 @@ Never - + diff --git a/packages/blazor-workspace/Examples/Demo.Client/packages.lock.json b/packages/blazor-workspace/Examples/Demo.Client/packages.lock.json index 8e519a3d06..253210454f 100644 --- a/packages/blazor-workspace/Examples/Demo.Client/packages.lock.json +++ b/packages/blazor-workspace/Examples/Demo.Client/packages.lock.json @@ -35,13 +35,13 @@ }, "NI.CSharp.Analyzers": { "type": "Direct", - "requested": "[2.0.27, )", - "resolved": "2.0.27", - "contentHash": "tMPs5HuiMwvqrWJZo9Q3ShHFg3jDxubAYWLmbb8ooyVchLVNhON1GGYw7Wvg6iaM3AKHpj4t0jv2ZWaDZp/Z9w==", + "requested": "[2.0.28, )", + "resolved": "2.0.28", + "contentHash": "elpqlHHGeZObXFxMoQnIu7yS2kWpXEJemFS7rIp2W5vANPXvmHQPkEiYFRu2P+uhvyHB9DCVQVjv+WjYQ0uPRw==", "dependencies": { "Microsoft.CodeAnalysis.Analyzers": "3.3.3", "Microsoft.CodeAnalysis.CSharp": "4.2.0", - "Microsoft.CodeAnalysis.NetAnalyzers": "8.0.0", + "Microsoft.CodeAnalysis.NetAnalyzers": "9.0.0", "Microsoft.VisualStudio.Threading.Analyzers": "17.10.48", "Roslynator.Analyzers": "4.1.1", "StyleCop.Analyzers": "1.2.0-beta.556" @@ -131,8 +131,8 @@ }, "Microsoft.CodeAnalysis.NetAnalyzers": { "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "DxiTgkCl3CGq1rYmBX2wjY7XGbxiBdL4J+/AJIAFLKy5z70NxhnVRnPghnicXZ8oF6JKVXlW3xwznRbI3ioEKg==" + "resolved": "9.0.0", + "contentHash": "JajbvkrBgtdRghavIjcJuNHMOja4lqBmEezbhZyqWPYh2cpLhT5mPpfC7NQVDO4IehWQum9t/nwF4v+qQGtYWg==" }, "Microsoft.Extensions.Configuration": { "type": "Transitive", @@ -328,7 +328,7 @@ "type": "Project", "dependencies": { "Microsoft.AspNetCore.Components.Web": "[8.0.11, )", - "NI.CSharp.Analyzers": "[2.0.27, )", + "NI.CSharp.Analyzers": "[2.0.28, )", "NimbleBlazor": "[1.0.0, )", "SprightBlazor": "[1.0.0, )" } diff --git a/packages/blazor-workspace/Examples/Demo.Hybrid/Demo.Hybrid.csproj b/packages/blazor-workspace/Examples/Demo.Hybrid/Demo.Hybrid.csproj index b4388d3e0f..a1de385e3b 100644 --- a/packages/blazor-workspace/Examples/Demo.Hybrid/Demo.Hybrid.csproj +++ b/packages/blazor-workspace/Examples/Demo.Hybrid/Demo.Hybrid.csproj @@ -11,11 +11,11 @@ - LRT001;SA1633;NU1701;CA1707;CS0122;CS1573;CS1591,@(RoslynTransition_DisabledRule) + LRT001;SA1633;NU1701;CA1707;CS0122;CS1573;CA1515;CS1591,@(RoslynTransition_DisabledRule) - LRT001;SA1633;NU1701;CA1707;CS0122;CS1573;CS1591,@(RoslynTransition_DisabledRule) + LRT001;SA1633;NU1701;CA1707;CS0122;CS1573;CA1515;CS1591,@(RoslynTransition_DisabledRule) @@ -36,7 +36,7 @@ - + diff --git a/packages/blazor-workspace/Examples/Demo.Hybrid/packages.lock.json b/packages/blazor-workspace/Examples/Demo.Hybrid/packages.lock.json index 71a2f3c5b6..8ad096ccf6 100644 --- a/packages/blazor-workspace/Examples/Demo.Hybrid/packages.lock.json +++ b/packages/blazor-workspace/Examples/Demo.Hybrid/packages.lock.json @@ -28,13 +28,13 @@ }, "NI.CSharp.Analyzers": { "type": "Direct", - "requested": "[2.0.27, )", - "resolved": "2.0.27", - "contentHash": "tMPs5HuiMwvqrWJZo9Q3ShHFg3jDxubAYWLmbb8ooyVchLVNhON1GGYw7Wvg6iaM3AKHpj4t0jv2ZWaDZp/Z9w==", + "requested": "[2.0.28, )", + "resolved": "2.0.28", + "contentHash": "elpqlHHGeZObXFxMoQnIu7yS2kWpXEJemFS7rIp2W5vANPXvmHQPkEiYFRu2P+uhvyHB9DCVQVjv+WjYQ0uPRw==", "dependencies": { "Microsoft.CodeAnalysis.Analyzers": "3.3.3", "Microsoft.CodeAnalysis.CSharp": "4.2.0", - "Microsoft.CodeAnalysis.NetAnalyzers": "8.0.0", + "Microsoft.CodeAnalysis.NetAnalyzers": "9.0.0", "Microsoft.VisualStudio.Threading.Analyzers": "17.10.48", "Roslynator.Analyzers": "4.1.1", "StyleCop.Analyzers": "1.2.0-beta.556" @@ -124,8 +124,8 @@ }, "Microsoft.CodeAnalysis.NetAnalyzers": { "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "DxiTgkCl3CGq1rYmBX2wjY7XGbxiBdL4J+/AJIAFLKy5z70NxhnVRnPghnicXZ8oF6JKVXlW3xwznRbI3ioEKg==" + "resolved": "9.0.0", + "contentHash": "JajbvkrBgtdRghavIjcJuNHMOja4lqBmEezbhZyqWPYh2cpLhT5mPpfC7NQVDO4IehWQum9t/nwF4v+qQGtYWg==" }, "Microsoft.Extensions.Configuration": { "type": "Transitive", @@ -335,7 +335,7 @@ "type": "Project", "dependencies": { "Microsoft.AspNetCore.Components.Web": "[8.0.11, )", - "NI.CSharp.Analyzers": "[2.0.27, )", + "NI.CSharp.Analyzers": "[2.0.28, )", "NimbleBlazor": "[1.0.0, )", "SprightBlazor": "[1.0.0, )" } diff --git a/packages/blazor-workspace/Examples/Demo.Server/Demo.Server.csproj b/packages/blazor-workspace/Examples/Demo.Server/Demo.Server.csproj index a08536bb5c..b69dcc3e12 100644 --- a/packages/blazor-workspace/Examples/Demo.Server/Demo.Server.csproj +++ b/packages/blazor-workspace/Examples/Demo.Server/Demo.Server.csproj @@ -28,7 +28,7 @@ Never - + diff --git a/packages/blazor-workspace/Examples/Demo.Server/packages.lock.json b/packages/blazor-workspace/Examples/Demo.Server/packages.lock.json index 12f085f31b..0f37819852 100644 --- a/packages/blazor-workspace/Examples/Demo.Server/packages.lock.json +++ b/packages/blazor-workspace/Examples/Demo.Server/packages.lock.json @@ -4,13 +4,13 @@ "net8.0": { "NI.CSharp.Analyzers": { "type": "Direct", - "requested": "[2.0.27, )", - "resolved": "2.0.27", - "contentHash": "tMPs5HuiMwvqrWJZo9Q3ShHFg3jDxubAYWLmbb8ooyVchLVNhON1GGYw7Wvg6iaM3AKHpj4t0jv2ZWaDZp/Z9w==", + "requested": "[2.0.28, )", + "resolved": "2.0.28", + "contentHash": "elpqlHHGeZObXFxMoQnIu7yS2kWpXEJemFS7rIp2W5vANPXvmHQPkEiYFRu2P+uhvyHB9DCVQVjv+WjYQ0uPRw==", "dependencies": { "Microsoft.CodeAnalysis.Analyzers": "3.3.3", "Microsoft.CodeAnalysis.CSharp": "4.2.0", - "Microsoft.CodeAnalysis.NetAnalyzers": "8.0.0", + "Microsoft.CodeAnalysis.NetAnalyzers": "9.0.0", "Microsoft.VisualStudio.Threading.Analyzers": "17.10.48", "Roslynator.Analyzers": "4.1.1", "StyleCop.Analyzers": "1.2.0-beta.556" @@ -100,8 +100,8 @@ }, "Microsoft.CodeAnalysis.NetAnalyzers": { "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "DxiTgkCl3CGq1rYmBX2wjY7XGbxiBdL4J+/AJIAFLKy5z70NxhnVRnPghnicXZ8oF6JKVXlW3xwznRbI3ioEKg==" + "resolved": "9.0.0", + "contentHash": "JajbvkrBgtdRghavIjcJuNHMOja4lqBmEezbhZyqWPYh2cpLhT5mPpfC7NQVDO4IehWQum9t/nwF4v+qQGtYWg==" }, "Microsoft.Extensions.DependencyInjection": { "type": "Transitive", @@ -208,7 +208,7 @@ "type": "Project", "dependencies": { "Microsoft.AspNetCore.Components.Web": "[8.0.11, )", - "NI.CSharp.Analyzers": "[2.0.27, )", + "NI.CSharp.Analyzers": "[2.0.28, )", "NimbleBlazor": "[1.0.0, )", "SprightBlazor": "[1.0.0, )" } diff --git a/packages/blazor-workspace/Examples/Demo.Shared/Demo.Shared.csproj b/packages/blazor-workspace/Examples/Demo.Shared/Demo.Shared.csproj index 66825702ed..073bb561e6 100644 --- a/packages/blazor-workspace/Examples/Demo.Shared/Demo.Shared.csproj +++ b/packages/blazor-workspace/Examples/Demo.Shared/Demo.Shared.csproj @@ -29,7 +29,7 @@ Never - + diff --git a/packages/blazor-workspace/Examples/Demo.Shared/Pages/ComponentsDemo.razor.cs b/packages/blazor-workspace/Examples/Demo.Shared/Pages/ComponentsDemo.razor.cs index 34073afa38..0aea331cbb 100644 --- a/packages/blazor-workspace/Examples/Demo.Shared/Pages/ComponentsDemo.razor.cs +++ b/packages/blazor-workspace/Examples/Demo.Shared/Pages/ComponentsDemo.razor.cs @@ -36,7 +36,7 @@ public IEnumerable PossibleColors { get { - return (IEnumerable)Enum.GetValues(typeof(DemoColor)); + return Enum.GetValues(); } } @@ -179,7 +179,7 @@ private async Task UpdateDelayedHierarchyTableAsync(bool setData = true) private string DrawerLocationAsString { get => _drawerLocation.ToString(); - set => _drawerLocation = (DrawerLocation)Enum.Parse(typeof(DrawerLocation), value); + set => _drawerLocation = Enum.Parse(value); } public async Task OpenDialogAsync() @@ -346,7 +346,7 @@ public SimpleTableRecord( public void UpdateColor(DemoColor newColor) { Color = newColor; - ColorString = Enum.GetName(typeof(DemoColor), newColor)!; + ColorString = Enum.GetName(newColor)!; } public string Id { get; } diff --git a/packages/blazor-workspace/Examples/Demo.Shared/Shared/ExampleHeader.razor.cs b/packages/blazor-workspace/Examples/Demo.Shared/Shared/ExampleHeader.razor.cs index 2a55afa672..f186dc012c 100644 --- a/packages/blazor-workspace/Examples/Demo.Shared/Shared/ExampleHeader.razor.cs +++ b/packages/blazor-workspace/Examples/Demo.Shared/Shared/ExampleHeader.razor.cs @@ -19,7 +19,7 @@ public partial class ExampleHeader private string ThemeAsString { get => Theme.ToString(); - set => Theme = (Theme)Enum.Parse(typeof(Theme), value); + set => Theme = Enum.Parse(value); } private async void OnUserThemeChange(string newTheme) diff --git a/packages/blazor-workspace/Examples/Demo.Shared/packages.lock.json b/packages/blazor-workspace/Examples/Demo.Shared/packages.lock.json index 26c3cd008e..40742a97f3 100644 --- a/packages/blazor-workspace/Examples/Demo.Shared/packages.lock.json +++ b/packages/blazor-workspace/Examples/Demo.Shared/packages.lock.json @@ -18,13 +18,13 @@ }, "NI.CSharp.Analyzers": { "type": "Direct", - "requested": "[2.0.27, )", - "resolved": "2.0.27", - "contentHash": "tMPs5HuiMwvqrWJZo9Q3ShHFg3jDxubAYWLmbb8ooyVchLVNhON1GGYw7Wvg6iaM3AKHpj4t0jv2ZWaDZp/Z9w==", + "requested": "[2.0.28, )", + "resolved": "2.0.28", + "contentHash": "elpqlHHGeZObXFxMoQnIu7yS2kWpXEJemFS7rIp2W5vANPXvmHQPkEiYFRu2P+uhvyHB9DCVQVjv+WjYQ0uPRw==", "dependencies": { "Microsoft.CodeAnalysis.Analyzers": "3.3.3", "Microsoft.CodeAnalysis.CSharp": "4.2.0", - "Microsoft.CodeAnalysis.NetAnalyzers": "8.0.0", + "Microsoft.CodeAnalysis.NetAnalyzers": "9.0.0", "Microsoft.VisualStudio.Threading.Analyzers": "17.10.48", "Roslynator.Analyzers": "4.1.1", "StyleCop.Analyzers": "1.2.0-beta.556" @@ -101,8 +101,8 @@ }, "Microsoft.CodeAnalysis.NetAnalyzers": { "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "DxiTgkCl3CGq1rYmBX2wjY7XGbxiBdL4J+/AJIAFLKy5z70NxhnVRnPghnicXZ8oF6JKVXlW3xwznRbI3ioEKg==" + "resolved": "9.0.0", + "contentHash": "JajbvkrBgtdRghavIjcJuNHMOja4lqBmEezbhZyqWPYh2cpLhT5mPpfC7NQVDO4IehWQum9t/nwF4v+qQGtYWg==" }, "Microsoft.Extensions.DependencyInjection": { "type": "Transitive", diff --git a/packages/blazor-workspace/NimbleBlazor/NimbleBlazor.csproj b/packages/blazor-workspace/NimbleBlazor/NimbleBlazor.csproj index 6161da0776..bf0ed1ab0f 100644 --- a/packages/blazor-workspace/NimbleBlazor/NimbleBlazor.csproj +++ b/packages/blazor-workspace/NimbleBlazor/NimbleBlazor.csproj @@ -49,7 +49,7 @@ - + diff --git a/packages/blazor-workspace/NimbleBlazor/packages.lock.json b/packages/blazor-workspace/NimbleBlazor/packages.lock.json index 6d3ddc7924..ba6ecb4c46 100644 --- a/packages/blazor-workspace/NimbleBlazor/packages.lock.json +++ b/packages/blazor-workspace/NimbleBlazor/packages.lock.json @@ -24,13 +24,13 @@ }, "NI.CSharp.Analyzers": { "type": "Direct", - "requested": "[2.0.27, )", - "resolved": "2.0.27", - "contentHash": "tMPs5HuiMwvqrWJZo9Q3ShHFg3jDxubAYWLmbb8ooyVchLVNhON1GGYw7Wvg6iaM3AKHpj4t0jv2ZWaDZp/Z9w==", + "requested": "[2.0.28, )", + "resolved": "2.0.28", + "contentHash": "elpqlHHGeZObXFxMoQnIu7yS2kWpXEJemFS7rIp2W5vANPXvmHQPkEiYFRu2P+uhvyHB9DCVQVjv+WjYQ0uPRw==", "dependencies": { "Microsoft.CodeAnalysis.Analyzers": "3.3.3", "Microsoft.CodeAnalysis.CSharp": "4.2.0", - "Microsoft.CodeAnalysis.NetAnalyzers": "8.0.0", + "Microsoft.CodeAnalysis.NetAnalyzers": "9.0.0", "Microsoft.VisualStudio.Threading.Analyzers": "17.10.48", "Roslynator.Analyzers": "4.1.1", "StyleCop.Analyzers": "1.2.0-beta.556" @@ -102,8 +102,8 @@ }, "Microsoft.CodeAnalysis.NetAnalyzers": { "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "DxiTgkCl3CGq1rYmBX2wjY7XGbxiBdL4J+/AJIAFLKy5z70NxhnVRnPghnicXZ8oF6JKVXlW3xwznRbI3ioEKg==" + "resolved": "9.0.0", + "contentHash": "JajbvkrBgtdRghavIjcJuNHMOja4lqBmEezbhZyqWPYh2cpLhT5mPpfC7NQVDO4IehWQum9t/nwF4v+qQGtYWg==" }, "Microsoft.Extensions.DependencyInjection": { "type": "Transitive", diff --git a/packages/blazor-workspace/SprightBlazor/SprightBlazor.csproj b/packages/blazor-workspace/SprightBlazor/SprightBlazor.csproj index e530beb084..f9d9c111e1 100644 --- a/packages/blazor-workspace/SprightBlazor/SprightBlazor.csproj +++ b/packages/blazor-workspace/SprightBlazor/SprightBlazor.csproj @@ -48,7 +48,7 @@ - + diff --git a/packages/blazor-workspace/SprightBlazor/packages.lock.json b/packages/blazor-workspace/SprightBlazor/packages.lock.json index 1c1c08f9d1..dd7a57ccd5 100644 --- a/packages/blazor-workspace/SprightBlazor/packages.lock.json +++ b/packages/blazor-workspace/SprightBlazor/packages.lock.json @@ -18,13 +18,13 @@ }, "NI.CSharp.Analyzers": { "type": "Direct", - "requested": "[2.0.27, )", - "resolved": "2.0.27", - "contentHash": "tMPs5HuiMwvqrWJZo9Q3ShHFg3jDxubAYWLmbb8ooyVchLVNhON1GGYw7Wvg6iaM3AKHpj4t0jv2ZWaDZp/Z9w==", + "requested": "[2.0.28, )", + "resolved": "2.0.28", + "contentHash": "elpqlHHGeZObXFxMoQnIu7yS2kWpXEJemFS7rIp2W5vANPXvmHQPkEiYFRu2P+uhvyHB9DCVQVjv+WjYQ0uPRw==", "dependencies": { "Microsoft.CodeAnalysis.Analyzers": "3.3.3", "Microsoft.CodeAnalysis.CSharp": "4.2.0", - "Microsoft.CodeAnalysis.NetAnalyzers": "8.0.0", + "Microsoft.CodeAnalysis.NetAnalyzers": "9.0.0", "Microsoft.VisualStudio.Threading.Analyzers": "17.10.48", "Roslynator.Analyzers": "4.1.1", "StyleCop.Analyzers": "1.2.0-beta.556" @@ -96,8 +96,8 @@ }, "Microsoft.CodeAnalysis.NetAnalyzers": { "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "DxiTgkCl3CGq1rYmBX2wjY7XGbxiBdL4J+/AJIAFLKy5z70NxhnVRnPghnicXZ8oF6JKVXlW3xwznRbI3ioEKg==" + "resolved": "9.0.0", + "contentHash": "JajbvkrBgtdRghavIjcJuNHMOja4lqBmEezbhZyqWPYh2cpLhT5mPpfC7NQVDO4IehWQum9t/nwF4v+qQGtYWg==" }, "Microsoft.Extensions.DependencyInjection": { "type": "Transitive", diff --git a/packages/blazor-workspace/Tests/BlazorWorkspace.Testing.Acceptance/BlazorWorkspace.Testing.Acceptance.csproj b/packages/blazor-workspace/Tests/BlazorWorkspace.Testing.Acceptance/BlazorWorkspace.Testing.Acceptance.csproj index 761bc863ad..180033ad96 100644 --- a/packages/blazor-workspace/Tests/BlazorWorkspace.Testing.Acceptance/BlazorWorkspace.Testing.Acceptance.csproj +++ b/packages/blazor-workspace/Tests/BlazorWorkspace.Testing.Acceptance/BlazorWorkspace.Testing.Acceptance.csproj @@ -8,7 +8,7 @@ - CA1716;CS1591 + CA1716;CS1591;CA1515 Properties @@ -22,7 +22,7 @@ - + diff --git a/packages/blazor-workspace/Tests/BlazorWorkspace.Testing.Acceptance/packages.lock.json b/packages/blazor-workspace/Tests/BlazorWorkspace.Testing.Acceptance/packages.lock.json index 705f67722f..b3fe87a00a 100644 --- a/packages/blazor-workspace/Tests/BlazorWorkspace.Testing.Acceptance/packages.lock.json +++ b/packages/blazor-workspace/Tests/BlazorWorkspace.Testing.Acceptance/packages.lock.json @@ -52,13 +52,13 @@ }, "NI.CSharp.Analyzers": { "type": "Direct", - "requested": "[2.0.27, )", - "resolved": "2.0.27", - "contentHash": "tMPs5HuiMwvqrWJZo9Q3ShHFg3jDxubAYWLmbb8ooyVchLVNhON1GGYw7Wvg6iaM3AKHpj4t0jv2ZWaDZp/Z9w==", + "requested": "[2.0.28, )", + "resolved": "2.0.28", + "contentHash": "elpqlHHGeZObXFxMoQnIu7yS2kWpXEJemFS7rIp2W5vANPXvmHQPkEiYFRu2P+uhvyHB9DCVQVjv+WjYQ0uPRw==", "dependencies": { "Microsoft.CodeAnalysis.Analyzers": "3.3.3", "Microsoft.CodeAnalysis.CSharp": "4.2.0", - "Microsoft.CodeAnalysis.NetAnalyzers": "8.0.0", + "Microsoft.CodeAnalysis.NetAnalyzers": "9.0.0", "Microsoft.VisualStudio.Threading.Analyzers": "17.10.48", "Roslynator.Analyzers": "4.1.1", "StyleCop.Analyzers": "1.2.0-beta.556" @@ -196,8 +196,8 @@ }, "Microsoft.CodeAnalysis.NetAnalyzers": { "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "DxiTgkCl3CGq1rYmBX2wjY7XGbxiBdL4J+/AJIAFLKy5z70NxhnVRnPghnicXZ8oF6JKVXlW3xwznRbI3ioEKg==" + "resolved": "9.0.0", + "contentHash": "JajbvkrBgtdRghavIjcJuNHMOja4lqBmEezbhZyqWPYh2cpLhT5mPpfC7NQVDO4IehWQum9t/nwF4v+qQGtYWg==" }, "Microsoft.CodeCoverage": { "type": "Transitive", diff --git a/packages/blazor-workspace/Tests/NimbleBlazor.Tests.Acceptance.Client/NimbleBlazor.Tests.Acceptance.Client.csproj b/packages/blazor-workspace/Tests/NimbleBlazor.Tests.Acceptance.Client/NimbleBlazor.Tests.Acceptance.Client.csproj index 497b44449e..018e0393cd 100644 --- a/packages/blazor-workspace/Tests/NimbleBlazor.Tests.Acceptance.Client/NimbleBlazor.Tests.Acceptance.Client.csproj +++ b/packages/blazor-workspace/Tests/NimbleBlazor.Tests.Acceptance.Client/NimbleBlazor.Tests.Acceptance.Client.csproj @@ -15,7 +15,7 @@ - + diff --git a/packages/blazor-workspace/Tests/NimbleBlazor.Tests.Acceptance.Client/Program.cs b/packages/blazor-workspace/Tests/NimbleBlazor.Tests.Acceptance.Client/Program.cs index 2e98568675..8843155c49 100644 --- a/packages/blazor-workspace/Tests/NimbleBlazor.Tests.Acceptance.Client/Program.cs +++ b/packages/blazor-workspace/Tests/NimbleBlazor.Tests.Acceptance.Client/Program.cs @@ -2,7 +2,7 @@ using Microsoft.AspNetCore.Components.WebAssembly.Hosting; namespace NimbleBlazor.Tests.Acceptance.Client; -public static class Program +internal static class Program { public static async Task Main(string[] args) { diff --git a/packages/blazor-workspace/Tests/NimbleBlazor.Tests.Acceptance.Client/packages.lock.json b/packages/blazor-workspace/Tests/NimbleBlazor.Tests.Acceptance.Client/packages.lock.json index 9a7cfb7200..18ec0392ba 100644 --- a/packages/blazor-workspace/Tests/NimbleBlazor.Tests.Acceptance.Client/packages.lock.json +++ b/packages/blazor-workspace/Tests/NimbleBlazor.Tests.Acceptance.Client/packages.lock.json @@ -29,13 +29,13 @@ }, "NI.CSharp.Analyzers": { "type": "Direct", - "requested": "[2.0.27, )", - "resolved": "2.0.27", - "contentHash": "tMPs5HuiMwvqrWJZo9Q3ShHFg3jDxubAYWLmbb8ooyVchLVNhON1GGYw7Wvg6iaM3AKHpj4t0jv2ZWaDZp/Z9w==", + "requested": "[2.0.28, )", + "resolved": "2.0.28", + "contentHash": "elpqlHHGeZObXFxMoQnIu7yS2kWpXEJemFS7rIp2W5vANPXvmHQPkEiYFRu2P+uhvyHB9DCVQVjv+WjYQ0uPRw==", "dependencies": { "Microsoft.CodeAnalysis.Analyzers": "3.3.3", "Microsoft.CodeAnalysis.CSharp": "4.2.0", - "Microsoft.CodeAnalysis.NetAnalyzers": "8.0.0", + "Microsoft.CodeAnalysis.NetAnalyzers": "9.0.0", "Microsoft.VisualStudio.Threading.Analyzers": "17.10.48", "Roslynator.Analyzers": "4.1.1", "StyleCop.Analyzers": "1.2.0-beta.556" @@ -125,8 +125,8 @@ }, "Microsoft.CodeAnalysis.NetAnalyzers": { "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "DxiTgkCl3CGq1rYmBX2wjY7XGbxiBdL4J+/AJIAFLKy5z70NxhnVRnPghnicXZ8oF6JKVXlW3xwznRbI3ioEKg==" + "resolved": "9.0.0", + "contentHash": "JajbvkrBgtdRghavIjcJuNHMOja4lqBmEezbhZyqWPYh2cpLhT5mPpfC7NQVDO4IehWQum9t/nwF4v+qQGtYWg==" }, "Microsoft.Extensions.Configuration": { "type": "Transitive", diff --git a/packages/blazor-workspace/Tests/NimbleBlazor.Tests.Acceptance/NimbleBlazor.Tests.Acceptance.csproj b/packages/blazor-workspace/Tests/NimbleBlazor.Tests.Acceptance/NimbleBlazor.Tests.Acceptance.csproj index 4b81fc3720..2e62c5283e 100644 --- a/packages/blazor-workspace/Tests/NimbleBlazor.Tests.Acceptance/NimbleBlazor.Tests.Acceptance.csproj +++ b/packages/blazor-workspace/Tests/NimbleBlazor.Tests.Acceptance/NimbleBlazor.Tests.Acceptance.csproj @@ -10,11 +10,11 @@ - CA1716;LRT001;NU1701;CA1707;CS0122;CS1573;CS1591,@(RoslynTransition_DisabledRule) + CA1716;LRT001;NU1701;CA1707;CS0122;CS1573;CA1515;CS1591,@(RoslynTransition_DisabledRule) - CA1716;LRT001;NU1701;CA1707;CS0122;CS1573;CS1591,@(RoslynTransition_DisabledRule) + CA1716;LRT001;NU1701;CA1707;CS0122;CS1573;CA1515;CS1591,@(RoslynTransition_DisabledRule) @@ -36,7 +36,7 @@ - + diff --git a/packages/blazor-workspace/Tests/NimbleBlazor.Tests.Acceptance/packages.lock.json b/packages/blazor-workspace/Tests/NimbleBlazor.Tests.Acceptance/packages.lock.json index 47ced23156..78c00abff9 100644 --- a/packages/blazor-workspace/Tests/NimbleBlazor.Tests.Acceptance/packages.lock.json +++ b/packages/blazor-workspace/Tests/NimbleBlazor.Tests.Acceptance/packages.lock.json @@ -46,13 +46,13 @@ }, "NI.CSharp.Analyzers": { "type": "Direct", - "requested": "[2.0.27, )", - "resolved": "2.0.27", - "contentHash": "tMPs5HuiMwvqrWJZo9Q3ShHFg3jDxubAYWLmbb8ooyVchLVNhON1GGYw7Wvg6iaM3AKHpj4t0jv2ZWaDZp/Z9w==", + "requested": "[2.0.28, )", + "resolved": "2.0.28", + "contentHash": "elpqlHHGeZObXFxMoQnIu7yS2kWpXEJemFS7rIp2W5vANPXvmHQPkEiYFRu2P+uhvyHB9DCVQVjv+WjYQ0uPRw==", "dependencies": { "Microsoft.CodeAnalysis.Analyzers": "3.3.3", "Microsoft.CodeAnalysis.CSharp": "4.2.0", - "Microsoft.CodeAnalysis.NetAnalyzers": "8.0.0", + "Microsoft.CodeAnalysis.NetAnalyzers": "9.0.0", "Microsoft.VisualStudio.Threading.Analyzers": "17.10.48", "Roslynator.Analyzers": "4.1.1", "StyleCop.Analyzers": "1.2.0-beta.556" @@ -207,8 +207,8 @@ }, "Microsoft.CodeAnalysis.NetAnalyzers": { "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "DxiTgkCl3CGq1rYmBX2wjY7XGbxiBdL4J+/AJIAFLKy5z70NxhnVRnPghnicXZ8oF6JKVXlW3xwznRbI3ioEKg==" + "resolved": "9.0.0", + "contentHash": "JajbvkrBgtdRghavIjcJuNHMOja4lqBmEezbhZyqWPYh2cpLhT5mPpfC7NQVDO4IehWQum9t/nwF4v+qQGtYWg==" }, "Microsoft.CodeCoverage": { "type": "Transitive", @@ -1092,7 +1092,7 @@ "Microsoft.Extensions.Configuration": "[8.0.0, )", "Microsoft.NET.Test.Sdk": "[16.11.0, )", "Microsoft.Playwright": "[1.44.0, 1.44.0]", - "NI.CSharp.Analyzers": "[2.0.27, )", + "NI.CSharp.Analyzers": "[2.0.28, )", "NimbleBlazor": "[1.0.0, )", "System.ComponentModel": "[4.3.0, )", "xunit": "[2.9.2, )", @@ -1110,7 +1110,7 @@ "type": "Project", "dependencies": { "Microsoft.AspNetCore.Components.WebAssembly": "[8.0.11, )", - "NI.CSharp.Analyzers": "[2.0.27, )", + "NI.CSharp.Analyzers": "[2.0.28, )", "NimbleBlazor": "[1.0.0, )" } } diff --git a/packages/blazor-workspace/Tests/NimbleBlazor.Tests/NimbleBlazor.Tests.csproj b/packages/blazor-workspace/Tests/NimbleBlazor.Tests/NimbleBlazor.Tests.csproj index 77d04bfbd6..60593a57b6 100644 --- a/packages/blazor-workspace/Tests/NimbleBlazor.Tests/NimbleBlazor.Tests.csproj +++ b/packages/blazor-workspace/Tests/NimbleBlazor.Tests/NimbleBlazor.Tests.csproj @@ -13,12 +13,12 @@ True ;CS0122 - ;NU1701;CA1707;CS0122;CS1573;CS1591,@(RoslynTransition_DisabledRule) + ;NU1701;CA1707;CS0122;CS1573;CA1515;CS1591,@(RoslynTransition_DisabledRule) ;CS0122 - ;NU1701;CA1707;CS0122;CS1573;CS1591,@(RoslynTransition_DisabledRule) + ;NU1701;CA1707;CS0122;CS1573;CA1515;CS1591,@(RoslynTransition_DisabledRule) @@ -31,7 +31,7 @@ - + diff --git a/packages/blazor-workspace/Tests/NimbleBlazor.Tests/packages.lock.json b/packages/blazor-workspace/Tests/NimbleBlazor.Tests/packages.lock.json index f5ff17463c..b9af0e3cab 100644 --- a/packages/blazor-workspace/Tests/NimbleBlazor.Tests/packages.lock.json +++ b/packages/blazor-workspace/Tests/NimbleBlazor.Tests/packages.lock.json @@ -63,13 +63,13 @@ }, "NI.CSharp.Analyzers": { "type": "Direct", - "requested": "[2.0.27, )", - "resolved": "2.0.27", - "contentHash": "tMPs5HuiMwvqrWJZo9Q3ShHFg3jDxubAYWLmbb8ooyVchLVNhON1GGYw7Wvg6iaM3AKHpj4t0jv2ZWaDZp/Z9w==", + "requested": "[2.0.28, )", + "resolved": "2.0.28", + "contentHash": "elpqlHHGeZObXFxMoQnIu7yS2kWpXEJemFS7rIp2W5vANPXvmHQPkEiYFRu2P+uhvyHB9DCVQVjv+WjYQ0uPRw==", "dependencies": { "Microsoft.CodeAnalysis.Analyzers": "3.3.3", "Microsoft.CodeAnalysis.CSharp": "4.2.0", - "Microsoft.CodeAnalysis.NetAnalyzers": "8.0.0", + "Microsoft.CodeAnalysis.NetAnalyzers": "9.0.0", "Microsoft.VisualStudio.Threading.Analyzers": "17.10.48", "Roslynator.Analyzers": "4.1.1", "StyleCop.Analyzers": "1.2.0-beta.556" @@ -240,8 +240,8 @@ }, "Microsoft.CodeAnalysis.NetAnalyzers": { "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "DxiTgkCl3CGq1rYmBX2wjY7XGbxiBdL4J+/AJIAFLKy5z70NxhnVRnPghnicXZ8oF6JKVXlW3xwznRbI3ioEKg==" + "resolved": "9.0.0", + "contentHash": "JajbvkrBgtdRghavIjcJuNHMOja4lqBmEezbhZyqWPYh2cpLhT5mPpfC7NQVDO4IehWQum9t/nwF4v+qQGtYWg==" }, "Microsoft.CodeCoverage": { "type": "Transitive", diff --git a/packages/blazor-workspace/Tests/SprightBlazor.Tests.Acceptance/SprightBlazor.Tests.Acceptance.csproj b/packages/blazor-workspace/Tests/SprightBlazor.Tests.Acceptance/SprightBlazor.Tests.Acceptance.csproj index afb6ef4666..95a9956316 100644 --- a/packages/blazor-workspace/Tests/SprightBlazor.Tests.Acceptance/SprightBlazor.Tests.Acceptance.csproj +++ b/packages/blazor-workspace/Tests/SprightBlazor.Tests.Acceptance/SprightBlazor.Tests.Acceptance.csproj @@ -9,11 +9,11 @@ - CA1716;LRT001;NU1701;CA1707;CS0122;CS1573;CS1591,@(RoslynTransition_DisabledRule) + CA1716;LRT001;NU1701;CA1707;CS0122;CS1573;CA1515;CS1591,@(RoslynTransition_DisabledRule) - CA1716;LRT001;NU1701;CA1707;CS0122;CS1573;CS1591,@(RoslynTransition_DisabledRule) + CA1716;LRT001;NU1701;CA1707;CS0122;CS1573;CA1515;CS1591,@(RoslynTransition_DisabledRule) @@ -35,7 +35,7 @@ - + diff --git a/packages/blazor-workspace/Tests/SprightBlazor.Tests.Acceptance/packages.lock.json b/packages/blazor-workspace/Tests/SprightBlazor.Tests.Acceptance/packages.lock.json index 1ab05d4f26..559006bd58 100644 --- a/packages/blazor-workspace/Tests/SprightBlazor.Tests.Acceptance/packages.lock.json +++ b/packages/blazor-workspace/Tests/SprightBlazor.Tests.Acceptance/packages.lock.json @@ -46,13 +46,13 @@ }, "NI.CSharp.Analyzers": { "type": "Direct", - "requested": "[2.0.27, )", - "resolved": "2.0.27", - "contentHash": "tMPs5HuiMwvqrWJZo9Q3ShHFg3jDxubAYWLmbb8ooyVchLVNhON1GGYw7Wvg6iaM3AKHpj4t0jv2ZWaDZp/Z9w==", + "requested": "[2.0.28, )", + "resolved": "2.0.28", + "contentHash": "elpqlHHGeZObXFxMoQnIu7yS2kWpXEJemFS7rIp2W5vANPXvmHQPkEiYFRu2P+uhvyHB9DCVQVjv+WjYQ0uPRw==", "dependencies": { "Microsoft.CodeAnalysis.Analyzers": "3.3.3", "Microsoft.CodeAnalysis.CSharp": "4.2.0", - "Microsoft.CodeAnalysis.NetAnalyzers": "8.0.0", + "Microsoft.CodeAnalysis.NetAnalyzers": "9.0.0", "Microsoft.VisualStudio.Threading.Analyzers": "17.10.48", "Roslynator.Analyzers": "4.1.1", "StyleCop.Analyzers": "1.2.0-beta.556" @@ -195,8 +195,8 @@ }, "Microsoft.CodeAnalysis.NetAnalyzers": { "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "DxiTgkCl3CGq1rYmBX2wjY7XGbxiBdL4J+/AJIAFLKy5z70NxhnVRnPghnicXZ8oF6JKVXlW3xwznRbI3ioEKg==" + "resolved": "9.0.0", + "contentHash": "JajbvkrBgtdRghavIjcJuNHMOja4lqBmEezbhZyqWPYh2cpLhT5mPpfC7NQVDO4IehWQum9t/nwF4v+qQGtYWg==" }, "Microsoft.CodeCoverage": { "type": "Transitive", @@ -1072,7 +1072,7 @@ "Microsoft.Extensions.Configuration": "[8.0.0, )", "Microsoft.NET.Test.Sdk": "[16.11.0, )", "Microsoft.Playwright": "[1.44.0, 1.44.0]", - "NI.CSharp.Analyzers": "[2.0.27, )", + "NI.CSharp.Analyzers": "[2.0.28, )", "NimbleBlazor": "[1.0.0, )", "System.ComponentModel": "[4.3.0, )", "xunit": "[2.9.2, )", diff --git a/packages/blazor-workspace/Tests/SprightBlazor.Tests/SprightBlazor.Tests.csproj b/packages/blazor-workspace/Tests/SprightBlazor.Tests/SprightBlazor.Tests.csproj index f9cfeadbaf..84228f137a 100644 --- a/packages/blazor-workspace/Tests/SprightBlazor.Tests/SprightBlazor.Tests.csproj +++ b/packages/blazor-workspace/Tests/SprightBlazor.Tests/SprightBlazor.Tests.csproj @@ -12,12 +12,12 @@ True ;CS0122 - ;NU1701;CA1707;CS0122;CS1573;CS1591,@(RoslynTransition_DisabledRule) + ;NU1701;CA1707;CS0122;CS1573;CA1515;CS1591,@(RoslynTransition_DisabledRule) ;CS0122 - ;NU1701;CA1707;CS0122;CS1573;CS1591,@(RoslynTransition_DisabledRule) + ;NU1701;CA1707;CS0122;CS1573;CA1515;CS1591,@(RoslynTransition_DisabledRule) @@ -30,7 +30,7 @@ - + diff --git a/packages/blazor-workspace/Tests/SprightBlazor.Tests/packages.lock.json b/packages/blazor-workspace/Tests/SprightBlazor.Tests/packages.lock.json index 6cea74e0ce..5906321f11 100644 --- a/packages/blazor-workspace/Tests/SprightBlazor.Tests/packages.lock.json +++ b/packages/blazor-workspace/Tests/SprightBlazor.Tests/packages.lock.json @@ -63,13 +63,13 @@ }, "NI.CSharp.Analyzers": { "type": "Direct", - "requested": "[2.0.27, )", - "resolved": "2.0.27", - "contentHash": "tMPs5HuiMwvqrWJZo9Q3ShHFg3jDxubAYWLmbb8ooyVchLVNhON1GGYw7Wvg6iaM3AKHpj4t0jv2ZWaDZp/Z9w==", + "requested": "[2.0.28, )", + "resolved": "2.0.28", + "contentHash": "elpqlHHGeZObXFxMoQnIu7yS2kWpXEJemFS7rIp2W5vANPXvmHQPkEiYFRu2P+uhvyHB9DCVQVjv+WjYQ0uPRw==", "dependencies": { "Microsoft.CodeAnalysis.Analyzers": "3.3.3", "Microsoft.CodeAnalysis.CSharp": "4.2.0", - "Microsoft.CodeAnalysis.NetAnalyzers": "8.0.0", + "Microsoft.CodeAnalysis.NetAnalyzers": "9.0.0", "Microsoft.VisualStudio.Threading.Analyzers": "17.10.48", "Roslynator.Analyzers": "4.1.1", "StyleCop.Analyzers": "1.2.0-beta.556" @@ -235,8 +235,8 @@ }, "Microsoft.CodeAnalysis.NetAnalyzers": { "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "DxiTgkCl3CGq1rYmBX2wjY7XGbxiBdL4J+/AJIAFLKy5z70NxhnVRnPghnicXZ8oF6JKVXlW3xwznRbI3ioEKg==" + "resolved": "9.0.0", + "contentHash": "JajbvkrBgtdRghavIjcJuNHMOja4lqBmEezbhZyqWPYh2cpLhT5mPpfC7NQVDO4IehWQum9t/nwF4v+qQGtYWg==" }, "Microsoft.CodeCoverage": { "type": "Transitive",