59 overrides of IsInvalid
mscorlib (5)
microsoft\win32\safehandles\win32safehandles.cs (2)
45
public override bool
IsInvalid
{
71
public override bool
IsInvalid
{
system\security\safesecurityhandles.cs (1)
32
public override bool
IsInvalid
system\threading\compressedstack.cs (1)
119
public override bool
IsInvalid
{
system\threading\hostexecutioncontextmanager.cs (1)
107
public override bool
IsInvalid
{
PresentationCore (2)
Core\CSharp\MS\Win32\UnsafeNativeMethodsTablet.cs (2)
161
public override bool
IsInvalid
220
public override bool
IsInvalid
System (3)
net\System\Net\_SafeNetHandles.cs (3)
1081
public override bool
IsInvalid
1416
public override bool
IsInvalid
{
2358
public override bool
IsInvalid
System.Core (3)
System\Diagnostics\Eventing\Reader\CoTaskMemSafeHandle.cs (1)
43
public override bool
IsInvalid
{
System\Diagnostics\Eventing\Reader\CoTaskMemUnicodeSafeHandle.cs (1)
48
public override bool
IsInvalid
{
System\Diagnostics\Eventing\Reader\EventLogHandle.cs (1)
41
public override bool
IsInvalid
{
System.Data (10)
fx\src\bid\inc\cs\bidPrivateBase.cs (1)
961
public override bool
IsInvalid
{
fx\src\data\System\Data\Odbc\OdbcHandle.cs (1)
126
public override bool
IsInvalid
{
fx\src\data\System\Data\OleDb\DBPropSet.cs (1)
113
public override bool
IsInvalid
{
fx\src\data\System\Data\OleDb\PropertyInfoSet.cs (1)
57
public override bool
IsInvalid
{
fx\src\data\System\Data\OleDb\SafeHandles.cs (1)
65
public override bool
IsInvalid
{
fx\src\data\System\Data\ProviderBase\DbBuffer.cs (1)
53
public override bool
IsInvalid
{
fx\src\data\System\Data\ProviderBase\WrappedIUnknown.cs (1)
40
public override bool
IsInvalid
{
fx\src\data\System\Data\SqlClient\TdsParserSafeHandles.cs (3)
54
public override bool
IsInvalid
{
166
public override bool
IsInvalid
{
200
public override bool
IsInvalid
{
System.Drawing (2)
commonui\System\Drawing\Advanced\SafeCustomLineCapHandle.cs (1)
52
public override bool
IsInvalid
{
commonui\System\Drawing\Printing\PrintController.cs (1)
47
public override bool
IsInvalid
System.IdentityModel (2)
System\IdentityModel\SspiSafeHandles.cs (2)
149
public override bool
IsInvalid
970
public override bool
IsInvalid
System.IdentityModel.Selectors (5)
infocard\client\System\IdentityModel\Selectors\CryptoHandle.cs (1)
263
public override bool
IsInvalid
infocard\client\System\IdentityModel\Selectors\SafeTokenHandle.cs (1)
42
public override bool
IsInvalid
infocard\common\managed\GlobalAllocSafeHandle.cs (1)
50
public override bool
IsInvalid
infocard\common\managed\HGlobalSafeHandle.cs (1)
63
public override bool
IsInvalid
infocard\Diagnostics\Managed\Microsoft\InfoCards\Diagnostics\InfocardTrace.cs (1)
151
public override bool
IsInvalid
System.IO.Log (5)
System\IO\Log\CoTaskMemHandle.cs (1)
18
public override bool
IsInvalid
System\IO\Log\SafeArchiveContext.cs (1)
18
public override bool
IsInvalid
System\IO\Log\SafeMarshalContext.cs (1)
18
public override bool
IsInvalid
System\IO\Log\SafeReadContext.cs (1)
19
public override bool
IsInvalid
System\IO\Log\SmuggledIUnknown.cs (1)
29
public override bool
IsInvalid
System.ServiceModel (4)
System\ServiceModel\Channels\PeerUnsafeNativeCryptMethods.cs (4)
61
public override bool
IsInvalid
95
public override bool
IsInvalid
120
public override bool
IsInvalid
144
public override bool
IsInvalid
System.Transactions (2)
System\Transactions\Oletx\CoTaskMemHandle.cs (1)
20
public override bool
IsInvalid
System\Transactions\SafeIUnknown.cs (1)
38
public override bool
IsInvalid
System.Web (1)
PerfCounters.cs (1)
24
public override bool
IsInvalid
{
System.Windows.Forms (1)
winforms\Managed\System\WinForms\Control.cs (1)
17840
public sealed override bool
IsInvalid
{
UIAutomationClient (5)
MS\Internal\Automation\SafeHandles.cs (3)
32
public override bool
IsInvalid
55
public override bool
IsInvalid
75
public override bool
IsInvalid
System\Windows\Automation\Condition.cs (1)
38
public override bool
IsInvalid
System\Windows\Automation\Text\TextRange.cs (1)
42
public override bool
IsInvalid
WindowsBase (5)
Base\MS\Internal\Security\RightsManagement\SafeRightsManagementEnvironmentHandle.cs (1)
73
public override bool
IsInvalid
Base\MS\Internal\Security\RightsManagement\SafeRightsManagementHandle.cs (1)
73
public override bool
IsInvalid
Base\MS\Internal\Security\RightsManagement\SafeRightsManagementPubHandle.cs (1)
73
public override bool
IsInvalid
Base\MS\Internal\Security\RightsManagement\SafeRightsManagementQueryHandle.cs (1)
73
public override bool
IsInvalid
Base\MS\Internal\Security\RightsManagement\SafeRightsManagementSessionHandle.cs (1)
73
public override bool
IsInvalid
WsatConfig (2)
Configuration\ClusterSafeNativeMethods.cs (1)
27
public override bool
IsInvalid
Configuration\SafeIUnknown.cs (1)
38
public override bool
IsInvalid
WsatUI (2)
Configuration\ClusterSafeNativeMethods.cs (1)
27
public override bool
IsInvalid
Configuration\SafeIUnknown.cs (1)
38
public override bool
IsInvalid
26 references to IsInvalid
mscorlib (2)
system\security\accesscontrol\win32.cs (2)
146
if (handle.
IsInvalid
)
324
if (handle.
IsInvalid
)
PresentationCore (4)
Core\CSharp\System\Windows\Input\Cursor.cs (4)
111
if (! cursorHandle.
IsInvalid
)
215
if (_cursorHandle == null || _cursorHandle.
IsInvalid
)
297
if (_cursorHandle == null || _cursorHandle.
IsInvalid
)
348
if (_cursorHandle == null || _cursorHandle.
IsInvalid
)
SMDiagnostics (1)
System\ServiceModel\Diagnostics\Utility.cs (1)
35
Fx.Assert(handle.
IsInvalid
, "CloseInvalidOutSafeHandle called with a valid handle!");
System (12)
net\System\Net\_SSPIWrapper.cs (2)
882
if (safeHandle.
IsInvalid
) {
947
if (safeHandle.
IsInvalid
) {
net\System\Net\WebSockets\InternalClientWebSocket.cs (1)
33
if (m_SessionHandle == null || m_SessionHandle.
IsInvalid
)
net\System\Net\WebSockets\ServerWebSocket.cs (1)
36
if (m_SessionHandle == null || m_SessionHandle.
IsInvalid
)
net\System\Net\WebSockets\WebSocketBase.cs (1)
482
if (SessionHandle != null && !SessionHandle.IsClosed && !SessionHandle.
IsInvalid
)
net\System\Net\WebSockets\WebSocketProtocolComponent.cs (7)
572
Contract.Assert(webSocketHandle != null && !webSocketHandle.
IsInvalid
,
596
Contract.Assert(webSocket.SessionHandle != null && !webSocket.SessionHandle.
IsInvalid
,
620
Contract.Assert(webSocket.SessionHandle != null && !webSocket.SessionHandle.
IsInvalid
,
643
Contract.Assert(webSocket.SessionHandle != null && !webSocket.SessionHandle.
IsInvalid
,
672
Contract.Assert(webSocket.SessionHandle != null && !webSocket.SessionHandle.
IsInvalid
,
718
Contract.Assert(webSocket.SessionHandle != null && !webSocket.SessionHandle.
IsInvalid
,
753
Contract.Assert(webSocketHandle != null && !webSocketHandle.
IsInvalid
,
System.Core (3)
Microsoft\Win32\SafeHandles\NCryptSafeHandles.cs (1)
83
if (parentHandle.IsClosed || parentHandle.
IsInvalid
)
System\IO\Pipes\IOCancellationHelper.cs (2)
33
Contract.Assert(!handle.
IsInvalid
, "Handle cannot be invalid");
86
if (handle != null && !handle.
IsInvalid
&& overlapped != null) {
System.IdentityModel (2)
System\IdentityModel\SspiWrapper.cs (2)
170
if (safeHandle.
IsInvalid
)
208
if (safeHandle.
IsInvalid
)
System.ServiceModel (1)
System\ServiceModel\Security\TlsSspiNegotiation.cs (1)
191
return (this.securityContext != null && this.securityContext.
IsInvalid
== false);
System.ServiceModel.Activation (1)
System\ServiceModel\Activation\HostedImpersonationContext.cs (1)
65
Fx.Assert(handle.
IsInvalid
, "CloseInvalidOutSafeHandle called with a valid handle!");