[Build] Upgraded NetAnalyzers to 7.0.1 (#24792)

* upgraded NetAnalyzers to 7.0.1

* fix spellcheck

* Microsoft.CodeAnalysis.NetAnalyzers 7.0.1

* rebase and fix
This commit is contained in:
Davide Giacometti
2023-03-16 15:51:31 +01:00
committed by GitHub
parent 5492b4ae62
commit 5cbe9dd911
61 changed files with 124 additions and 107 deletions

View File

@@ -13,7 +13,7 @@ namespace PreviewHandlerCommonUnitTests
[TestClass]
public class FormHandlerControlTests
{
private class TestFormControl : FormHandlerControl
private sealed class TestFormControl : FormHandlerControl
{
}

View File

@@ -10,7 +10,7 @@ namespace PreviewHandlerCommon.ComInterop
/// <summary>
/// Interop methods
/// </summary>
internal class NativeMethods
internal sealed class NativeMethods
{
/// <summary>
/// Changes the parent window of the specified child window.

View File

@@ -73,7 +73,7 @@ namespace Common
}
/// <inheritdoc />
public void SetRect(Rectangle rect)
public void SetRect(Rectangle windowBounds)
{
this.UpdateWindowBounds(parentHwnd);
}