Base:
27 references to IsInvalid
System.Diagnostics.EventLog (27)
System\Diagnostics\Reader\EventLogConfiguration.cs (1)
275
if (_handle != null && !_handle.
IsInvalid
)
System\Diagnostics\Reader\EventLogPropertySelector.cs (1)
47
if (Handle != null && !Handle.
IsInvalid
)
System\Diagnostics\Reader\EventLogReader.cs (3)
104
if (!bookmarkHandle.
IsInvalid
)
193
if (_handle != null && !_handle.
IsInvalid
)
306
if (queryHandle.
IsInvalid
)
System\Diagnostics\Reader\EventLogRecord.cs (1)
398
if (Handle != null && !Handle.
IsInvalid
)
System\Diagnostics\Reader\EventLogSession.cs (6)
58
if (!this.renderContextHandleSystem.
IsInvalid
)
62
if (this.renderContextHandleSystem.
IsInvalid
)
75
if (this.renderContextHandleUser.
IsInvalid
)
141
!this.renderContextHandleSystem.
IsInvalid
)
145
!this.renderContextHandleUser.
IsInvalid
)
148
if (Handle != null && !Handle.
IsInvalid
)
System\Diagnostics\Reader\EventLogWatcher.cs (1)
143
if (_handle != null && !_handle.
IsInvalid
)
System\Diagnostics\Reader\NativeWrapper.cs (11)
60
if (handle.
IsInvalid
)
127
if (handle.
IsInvalid
)
150
if (emEnumHandle.
IsInvalid
)
165
if (emHandle.
IsInvalid
)
180
if (channelEnum.
IsInvalid
)
193
if (pubEnum.
IsInvalid
)
206
if (handle.
IsInvalid
)
227
if (logHandle.
IsInvalid
)
283
if (renderContextHandleValues.
IsInvalid
)
327
if (handle.
IsInvalid
)
336
if (handle.
IsInvalid
)
System\Diagnostics\Reader\ProviderMetadata.cs (3)
206
if (_defaultProviderHandle.
IsInvalid
)
359
if (_defaultProviderHandle.
IsInvalid
)
543
if (_handle != null && !_handle.
IsInvalid
)