BUTR/Bannerlord.BLSE

View on GitHub
src/Bannerlord.LauncherEx/Helpers/Input/WindowsClipboard.cs

Summary

Maintainability
A
2 hrs
Test Coverage

Method InnerSet has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private static unsafe void InnerSet(string text)
    {
        PInvoke.EmptyClipboard();
        var hGlobal = (HGLOBAL) IntPtr.Zero;
        try
Severity: Minor
Found in src/Bannerlord.LauncherEx/Helpers/Input/WindowsClipboard.cs - About 1 hr to fix

    Method InnerGet has 29 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        private static unsafe string? InnerGet()
        {
            var handle = (HGLOBAL) IntPtr.Zero;
    
            var pointer = IntPtr.Zero;
    Severity: Minor
    Found in src/Bannerlord.LauncherEx/Helpers/Input/WindowsClipboard.cs - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status