9 references to ERROR_SUCCESS
System.Private.CoreLib (9)
src\libraries\Common\src\System\IO\Win32Marshal.cs (1)
29
Debug.Assert(errorCode != Interop.Errors.
ERROR_SUCCESS
);
src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.Nls.cs (2)
71
Debug.Assert(ret >= 0 || Marshal.GetLastPInvokeError() == Interop.Errors.
ERROR_SUCCESS
);
303
Debug.Assert(result >= 0 || Marshal.GetLastPInvokeError() == Interop.Errors.
ERROR_SUCCESS
);
src\libraries\System.Private.CoreLib\src\System\Globalization\Normalization.Nls.cs (4)
71
case Interop.Errors.
ERROR_SUCCESS
:
142
case Interop.Errors.
ERROR_SUCCESS
:
185
case Interop.Errors.
ERROR_SUCCESS
:
208
case Interop.Errors.
ERROR_SUCCESS
:
src\libraries\System.Private.CoreLib\src\System\IO\Path.Unix.cs (1)
19
bool result = Interop.Sys.LStat(fullPath, out Interop.Sys.FileStatus fileInfo) == Interop.Errors.
ERROR_SUCCESS
;
src\System\Threading\Mutex.CoreCLR.Unix.cs (1)
150
errorCode = mutexHandle.IsInvalid ? Marshal.GetLastPInvokeError() : Interop.Errors.
ERROR_SUCCESS
;