23 references to Errors
System.Private.CoreLib (23)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.Nls.cs (3)
72
Debug.Assert(ret >= 0 || Marshal.GetLastPInvokeError() == Interop.
Errors
.ERROR_SUCCESS);
291
Debug.Assert(result >= 0 || Marshal.GetLastPInvokeError() == Interop.
Errors
.ERROR_SUCCESS);
460
if (Marshal.GetLastPInvokeError() == Interop.
Errors
.ERROR_INSUFFICIENT_BUFFER)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\IdnMapping.Nls.cs (1)
177
lastError == Interop.
Errors
.ERROR_INVALID_NAME ? SR.Argument_IdnIllegalName :
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\Normalization.Nls.cs (18)
71
case Interop.
Errors
.ERROR_SUCCESS:
78
case Interop.
Errors
.ERROR_INSUFFICIENT_BUFFER:
92
case Interop.
Errors
.ERROR_INVALID_PARAMETER:
93
case Interop.
Errors
.ERROR_NO_UNICODE_TRANSLATION:
97
case Interop.
Errors
.ERROR_NOT_ENOUGH_MEMORY:
142
case Interop.
Errors
.ERROR_SUCCESS:
147
case Interop.
Errors
.ERROR_INSUFFICIENT_BUFFER:
151
case Interop.
Errors
.ERROR_INVALID_PARAMETER:
152
case Interop.
Errors
.ERROR_NO_UNICODE_TRANSLATION:
156
case Interop.
Errors
.ERROR_NOT_ENOUGH_MEMORY:
185
case Interop.
Errors
.ERROR_SUCCESS:
188
case Interop.
Errors
.ERROR_INVALID_PARAMETER:
189
case Interop.
Errors
.ERROR_NO_UNICODE_TRANSLATION:
193
case Interop.
Errors
.ERROR_NOT_ENOUGH_MEMORY:
208
case Interop.
Errors
.ERROR_SUCCESS:
211
case Interop.
Errors
.ERROR_INVALID_PARAMETER:
212
case Interop.
Errors
.ERROR_NO_UNICODE_TRANSLATION:
215
case Interop.
Errors
.ERROR_NOT_ENOUGH_MEMORY:
src\runtime\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;