88 references to BOOL
System.Private.CoreLib (88)
src\libraries\Common\src\Interop\Windows\Kernel32\Interop.FreeEnvironmentStrings.cs (1)
11
internal static unsafe partial
BOOL
FreeEnvironmentStringsW(char* lpszEnvironmentBlock);
src\libraries\Common\src\Interop\Windows\Kernel32\Interop.Globalization.cs (5)
108
BOOL
bIgnoreCase);
120
internal static unsafe partial
BOOL
GetUserPreferredUILanguages(uint dwFlags, uint* pulNumLanguages, char* pwszLanguagesBuffer, uint* pcchLanguagesBuffer);
127
internal static unsafe partial bool EnumSystemLocalesEx(delegate* unmanaged<char*, uint, void*,
BOOL
> lpLocaleEnumProcEx, uint dwFlags, void* lParam, IntPtr reserved);
131
internal static unsafe partial bool EnumTimeFormatsEx(delegate* unmanaged<char*, void*,
BOOL
> lpTimeFmtEnumProcEx, string lpLocaleName, uint dwFlags, void* lParam);
147
internal static unsafe partial bool EnumCalendarInfoExEx(delegate* unmanaged<char*, uint, IntPtr, void*,
BOOL
> pCalInfoEnumProcExEx, string lpLocaleName, uint Calendar, string? lpReserved, uint CalType, void* lParam);
src\libraries\Common\src\Interop\Windows\Normaliz\Interop.Normalization.cs (1)
12
internal static unsafe partial
BOOL
IsNormalizedString(NormalizationForm normForm, char* source, int length);
src\libraries\System.Private.CoreLib\src\System\Environment.Variables.Windows.cs (2)
129
Interop.
BOOL
success = Interop.Kernel32.FreeEnvironmentStringsW(stringPtr);
130
Debug.Assert(success != Interop.
BOOL
.FALSE);
src\libraries\System.Private.CoreLib\src\System\Globalization\CalendarData.Nls.cs (6)
62
private static unsafe Interop.
BOOL
EnumCalendarInfoCallback(char* lpCalendarInfoString, uint calendar, IntPtr pReserved, void* lParam)
76
return Interop.
BOOL
.TRUE;
80
return Interop.
BOOL
.FALSE;
94
private static unsafe Interop.
BOOL
EnumCalendarsCallback(char* lpCalendarInfoString, uint calendar, IntPtr reserved, void* lParam)
103
return Interop.
BOOL
.TRUE;
107
return Interop.
BOOL
.FALSE;
src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.Nls.cs (2)
66
bIgnoreCase ? Interop.
BOOL
.TRUE : Interop.
BOOL
.FALSE);
src\libraries\System.Private.CoreLib\src\System\Globalization\CultureData.Nls.cs (10)
348
private static unsafe Interop.
BOOL
EnumSystemLocalesProc(char* lpLocaleString, uint flags, void* contextHandle)
358
return Interop.
BOOL
.FALSE; // we found a match, then stop the enumeration
361
return Interop.
BOOL
.TRUE;
365
return Interop.
BOOL
.FALSE;
371
private static unsafe Interop.
BOOL
EnumAllSystemLocalesProc(char* lpLocaleString, uint flags, void* contextHandle)
376
return Interop.
BOOL
.TRUE;
380
return Interop.
BOOL
.FALSE;
392
private static unsafe Interop.
BOOL
EnumTimeCallback(char* lpTimeFormatString, void* lParam)
397
return Interop.
BOOL
.TRUE;
401
return Interop.
BOOL
.FALSE;
src\libraries\System.Private.CoreLib\src\System\Globalization\Normalization.Nls.cs (2)
21
Interop.
BOOL
result;
32
return result != Interop.
BOOL
.FALSE;
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\TypeMapLazyDictionary.cs (10)
79
delegate* unmanaged<CallbackContext*, ProcessAttributesCallbackArg*, Interop.
BOOL
> newExternalTypeEntry,
80
delegate* unmanaged<CallbackContext*, ProcessAttributesCallbackArg*, Interop.
BOOL
> newProxyTypeEntry,
122
private static unsafe Interop.
BOOL
NewExternalTypeEntry(CallbackContext* context, ProcessAttributesCallbackArg* arg)
142
return Interop.
BOOL
.FALSE; // Stop processing.
145
return Interop.
BOOL
.TRUE; // Continue processing.
149
private static unsafe Interop.
BOOL
NewProxyTypeEntry(CallbackContext* context, ProcessAttributesCallbackArg* arg)
177
return Interop.
BOOL
.FALSE; // Stop processing.
184
return Interop.
BOOL
.TRUE; // Continue processing.
189
delegate* unmanaged<CallbackContext*, ProcessAttributesCallbackArg*, Interop.
BOOL
> newExternalTypeEntry,
190
delegate* unmanaged<CallbackContext*, ProcessAttributesCallbackArg*, Interop.
BOOL
> newProxyTypeEntry)
src\System\Enum.CoreCLR.cs (3)
15
private static partial void GetEnumValuesAndNames(QCallTypeHandle enumType, ObjectHandleOnStack values, ObjectHandleOnStack names, Interop.
BOOL
getNames);
114
getNames ? Interop.
BOOL
.TRUE : Interop.
BOOL
.FALSE);
src\System\Reflection\RuntimeAssembly.cs (2)
256
internal static partial Interop.
BOOL
GetIsCollectible(QCallAssembly assembly);
263
return GetIsCollectible(new QCallAssembly(ref runtimeAssembly)) != Interop.
BOOL
.FALSE;
src\System\Reflection\RuntimeCustomAttributeData.cs (1)
1706
new QCallModule(ref decoratedModule)) != Interop.
BOOL
.FALSE;
src\System\Reflection\RuntimeMethodInfo.CoreCLR.cs (1)
322
public override bool IsCollectible => RuntimeMethodHandle.GetIsCollectible(new RuntimeMethodHandleInternal(m_handle)) != Interop.
BOOL
.FALSE;
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (2)
1227
return CanCastTo_NoCacheLookup(srcTH.m_asTAddr, destTH.m_asTAddr) != Interop.
BOOL
.FALSE;
1231
private static partial Interop.
BOOL
CanCastTo_NoCacheLookup(void* fromTypeHnd, void* toTypeHnd);
src\System\RuntimeHandles.cs (25)
342
Interop.
BOOL
fCtorIsPublicTemp = default;
353
ctorIsPublic = fCtorIsPublicTemp != Interop.
BOOL
.FALSE;
363
Interop.
BOOL
* pfCtorIsPublic);
539
private static partial Interop.
BOOL
GetFields(MethodTable* pMT, Span<IntPtr> data, ref int usedCount);
553
bool success = GetFields(typeHandle.AsMethodTable(), buffer, ref countLocal) != Interop.
BOOL
.FALSE;
737
internal static partial void GetInstantiation(QCallTypeHandle type, ObjectHandleOnStack types, Interop.
BOOL
fAsRuntimeTypeArray);
743
GetInstantiation(new QCallTypeHandle(ref nativeHandle), ObjectHandleOnStack.Create(ref types), Interop.
BOOL
.TRUE);
751
GetInstantiation(new QCallTypeHandle(ref nativeHandle), ObjectHandleOnStack.Create(ref types), Interop.
BOOL
.FALSE);
828
internal static partial Interop.
BOOL
IsCollectible(QCallTypeHandle handle);
858
private static partial Interop.
BOOL
SatisfiesConstraints(QCallTypeHandle paramType, QCallTypeHandle pTypeContext, RuntimeMethodHandleInternal pMethodContext, QCallTypeHandle toType);
863
bool result = SatisfiesConstraints(new QCallTypeHandle(ref paramType), new QCallTypeHandle(ref typeContext!), methodContextRaw, new QCallTypeHandle(ref toType)) != Interop.
BOOL
.FALSE;
1057
internal static partial Interop.
BOOL
GetIsCollectible(RuntimeMethodHandleInternal handle);
1060
internal static partial Interop.
BOOL
IsCAVisibleFromDecoratedType(
1161
private static partial void InvokeMethod(ObjectHandleOnStack target, void** arguments, ObjectHandleOnStack sig, Interop.
BOOL
isConstructor, ObjectHandleOnStack result);
1172
isConstructor ? Interop.
BOOL
.TRUE : Interop.
BOOL
.FALSE,
1215
private static partial void GetMethodInstantiation(RuntimeMethodHandleInternal method, ObjectHandleOnStack types, Interop.
BOOL
fAsRuntimeTypeArray);
1220
GetMethodInstantiation(EnsureNonNullMethodInfo(method).Value, ObjectHandleOnStack.Create(ref types), Interop.
BOOL
.TRUE);
1228
GetMethodInstantiation(method, ObjectHandleOnStack.Create(ref types), Interop.
BOOL
.TRUE);
1235
GetMethodInstantiation(EnsureNonNullMethodInfo(method).Value, ObjectHandleOnStack.Create(ref types), Interop.
BOOL
.FALSE);
2103
private static partial Interop.
BOOL
AreEqual(
2111
sig2._sig, sig2._csig, new QCallTypeHandle(ref sig2._declaringType)) != Interop.
BOOL
.FALSE;
2169
Interop.
BOOL
required,
2179
required ? Interop.
BOOL
.TRUE : Interop.
BOOL
.FALSE,
src\System\RuntimeType.CoreCLR.cs (1)
3235
return RuntimeTypeHandle.IsCollectible(new QCallTypeHandle(ref thisType)) != Interop.
BOOL
.FALSE;
src\System\StubHelpers.cs (3)
150
Interop.
BOOL
defaultCharUsed = Interop.
BOOL
.FALSE;
171
if (defaultCharUsed != Interop.
BOOL
.FALSE)
src\System\Threading\Thread.CoreCLR.cs (11)
93
StartInternal(GetNativeHandle(), _startHelper?._maxStackSize ?? 0, _priority, _isThreadPool ? Interop.
BOOL
.TRUE : Interop.
BOOL
.FALSE, pThreadName);
99
private static unsafe partial void StartInternal(ThreadHandle t, int stackSize, int priority, Interop.
BOOL
isThreadPool, char* pThreadName);
150
private static partial Interop.
BOOL
YieldInternal();
152
public static bool Yield() => YieldInternal() != Interop.
BOOL
.FALSE;
205
Interop.
BOOL
res = GetIsBackground(GetNativeHandle());
207
return res != Interop.
BOOL
.FALSE;
216
SetIsBackground(GetNativeHandle(), value ? Interop.
BOOL
.TRUE : Interop.
BOOL
.FALSE);
227
private static partial Interop.
BOOL
GetIsBackground(ThreadHandle t);
230
private static partial void SetIsBackground(ThreadHandle t, Interop.
BOOL
value);