11 references to ResultCode
System.Private.CoreLib (11)
src\libraries\Common\src\Interop\Interop.Calendar.cs (1)
16internal static unsafe partial ResultCode GetCalendarInfo(string localeName, CalendarId calendarId, CalendarDataType calendarDataType, char* result, int resultCapacity);
src\libraries\Common\src\Interop\Interop.Collation.cs (1)
14internal static unsafe partial ResultCode GetSortHandle(string localeName, out IntPtr sortHandle);
src\libraries\Common\src\Interop\Interop.TimeZoneInfo.cs (1)
12internal static unsafe partial ResultCode GetTimeZoneDisplayName(
src\libraries\Common\src\Interop\Interop.Utils.cs (5)
15SpanFunc<char, TArg1, TArg2, TArg3, Globalization.ResultCode> interopCall, 23Globalization.ResultCode resultCode = interopCall(buffer, arg1, arg2, arg3); 25if (resultCode == Globalization.ResultCode.Success) 31if (resultCode == Globalization.ResultCode.InsufficientBuffer) 35if (interopCall(buffer, arg1, arg2, arg3) == Globalization.ResultCode.Success)
src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.Icu.cs (3)
969Interop.Globalization.ResultCode resultCode = Interop.Globalization.GetSortHandle(sortName, out result); 971if (resultCode == Interop.Globalization.ResultCode.OutOfMemory) 973else if (resultCode != Interop.Globalization.ResultCode.Success)