Base:
property
IsInvalid
System.Runtime.InteropServices.SafeHandle.IsInvalid
28 references to IsInvalid
System.Core (28)
System\Diagnostics\Eventing\Reader\EventLogConfiguration.cs (1)
257
if ( handle != null && !handle.
IsInvalid
)
System\Diagnostics\Eventing\Reader\EventLogPropertySelector.cs (1)
80
if (renderContextHandleValues != null && !renderContextHandleValues.
IsInvalid
)
System\Diagnostics\Eventing\Reader\EventLogReader.cs (3)
121
if (!bookmarkHandle.
IsInvalid
) {
211
if (handle != null && !handle.
IsInvalid
)
334
if (queryHandle.
IsInvalid
)
System\Diagnostics\Eventing\Reader\EventLogRecord.cs (1)
376
if ( this.handle != null && !this.handle.
IsInvalid
)
System\Diagnostics\Eventing\Reader\EventLogSession.cs (6)
76
if (!this.renderContextHandleSystem.
IsInvalid
)
79
if (this.renderContextHandleSystem.
IsInvalid
) {
92
if (this.renderContextHandleUser.
IsInvalid
) {
168
!this.renderContextHandleSystem.
IsInvalid
)
172
!this.renderContextHandleUser.
IsInvalid
)
175
if (handle != null && !handle.
IsInvalid
)
System\Diagnostics\Eventing\Reader\EventLogWatcher.cs (1)
148
if (handle != null && !handle.
IsInvalid
)
System\Diagnostics\Eventing\Reader\NativeWrapper.cs (12)
72
if (handle.
IsInvalid
)
115
if (handle.
IsInvalid
)
176
if (handle.
IsInvalid
)
195
if (emEnumHandle.
IsInvalid
)
206
if (emHandle.
IsInvalid
) {
222
if (channelEnum.
IsInvalid
)
234
if (pubEnum.
IsInvalid
)
246
if (handle.
IsInvalid
)
268
if (logHandle.
IsInvalid
)
341
if (renderContextHandleValues.
IsInvalid
)
380
if (handle.
IsInvalid
)
392
if (handle.
IsInvalid
)
System\Diagnostics\Eventing\Reader\ProviderMetadata.cs (3)
214
if ( this.defaultProviderHandle.
IsInvalid
) {
363
if (this.defaultProviderHandle.
IsInvalid
) {
556
if (handle != null && !handle.
IsInvalid
)