src/Bannerlord.LauncherEx/Helpers/Input/WindowsClipboard.cs
Method InnerSet
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static unsafe void InnerSet(string text)
{
PInvoke.EmptyClipboard();
var hGlobal = (HGLOBAL) IntPtr.Zero;
try
Method InnerGet
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static unsafe string? InnerGet()
{
var handle = (HGLOBAL) IntPtr.Zero;
var pointer = IntPtr.Zero;