How do i find what is leaking in C#?
I have some C# code. I use code analyses to find all the places where i am not using `using(){}` or not calling dispose. That is done. Yet it still leaks. The code doesn't call DllImport except two functions (SetWindowPos, SetForegroundWindow) but those are never called (main instance doesnt use it. Other instance do but they live for a few seconds).

Somehow this code is leaking. How do i find out what the problem is?
How do i find what is leaking in C#?
===

I have some C# code. I use code analyses to find all the places where i am not using `using(){}` or not calling dispose. That is done. Yet it still leaks. The code doesn't call DllImport except two functions (SetWindowPos, SetForegroundWindow) but those are never called (main instance doesnt use it. Other instance do but they live for a few seconds).

Somehow this code is leaking. How do i find out what the problem is?