File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
deadlock-dotnet-sdk/Domain Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -465,7 +465,7 @@ public unsafe (PS_PROTECTION? v, Exception? ex) ProcessProtection
465465
466466 try
467467 {
468- return processMainModulePath = ( GetFullProcessImageName ( ( uint ) ProcessId ) , null ) ;
468+ return processMainModulePath = ( GetFullProcessImageName ( ) , null ) ;
469469 }
470470 catch ( Win32Exception ex ) when ( ex . NativeErrorCode is Win32ErrorCode . ERROR_GEN_FAILURE )
471471 {
@@ -518,7 +518,7 @@ public unsafe (PS_PROTECTION? v, Exception? ex) ProcessProtection
518518 /// <exception cref="ArgumentException">The process handle <paramref name="hProcess"/> is invalid</exception>
519519 /// <exception cref="Win32Exception">QueryFullProcessImageName failed. See Exception message for details.</exception>
520520 /// <exception cref="UnauthorizedAccessException">Failed to open process handle for processId; </exception>
521- private unsafe string GetFullProcessImageName ( uint processId )
521+ private unsafe string GetFullProcessImageName ( )
522522 {
523523 //TODO: inline
524524 uint size = 260 + 1 ;
You can’t perform that action at this time.
0 commit comments