get last error before calling a method that might fail as well (#54667)
authorAdam Sitnik <adam.sitnik@gmail.com>
Thu, 24 Jun 2021 10:38:53 +0000 (12:38 +0200)
committerGitHub <noreply@github.com>
Thu, 24 Jun 2021 10:38:53 +0000 (12:38 +0200)
commit72deae88e543b815339a7ba5a3d83a649e90b555
tree19339d54beec17eb6ea7a633b49d9f8810cc8da0
parent7833828914a42f8c99dfa6f18ccd47f99dc2b56e
get last error before calling a method that might fail as well (#54667)
src/libraries/System.Private.CoreLib/src/Microsoft/Win32/SafeHandles/SafeFileHandle.Unix.cs