16 references to IsValid
System.Runtime.DurableInstancing (6)
System\Runtime\DurableInstancing\InstanceKeyCollisionException.cs (2)
71
info.AddValue(InstanceKeyName, (InstanceKey != null && InstanceKey.
IsValid
) ? InstanceKey.Value : Guid.Empty, typeof(Guid));
76
if (instanceKey != null && instanceKey.
IsValid
)
System\Runtime\DurableInstancing\InstanceKeyCompleteException.cs (2)
65
info.AddValue(InstanceKeyName, (InstanceKey != null && InstanceKey.
IsValid
) ? InstanceKey.Value : Guid.Empty, typeof(Guid));
70
if (instanceKey != null && instanceKey.
IsValid
)
System\Runtime\DurableInstancing\InstanceKeyNotReadyException.cs (2)
65
info.AddValue(InstanceKeyName, (InstanceKey != null && InstanceKey.
IsValid
) ? InstanceKey.Value : Guid.Empty, typeof(Guid));
70
if (instanceKey != null && instanceKey.
IsValid
)
System.ServiceModel (1)
System\ServiceModel\Channels\CorrelationKey.cs (1)
78
if (!
IsValid
)
System.ServiceModel.Activities (9)
System\ServiceModel\Activities\CorrelationHandle.cs (1)
307
if (this.Scope != null || this.CallbackContext != null || this.Context != null || this.ResponseContext != null || this.RequestContext != null || (this.InstanceKey != null && this.InstanceKey.
IsValid
))
System\ServiceModel\Activities\Description\WorkflowOperationBehavior.cs (1)
195
Fx.Assert((instanceKey != null) && (instanceKey.
IsValid
), "InstanceKey is null or invalid in GetInstanceTransaction");
System\ServiceModel\Activities\Dispatcher\ControlOperationInvoker.cs (3)
251
if (instanceKey == null || !instanceKey.
IsValid
)
392
if (!this.invoker.isControlOperation && this.instanceKey != null && this.instanceKey.
IsValid
)
535
if (!thisPtr.instanceKey.
IsValid
&& thisPtr.instanceId == Guid.Empty)
System\ServiceModel\Activities\Dispatcher\DurableInstanceManager.cs (1)
1165
if (this.instanceKey != null && this.instanceKey.
IsValid
)
System\ServiceModel\Activities\Dispatcher\PersistenceProviderDirectory.cs (1)
363
Fx.Assert(key.
IsValid
, "Cannot call TryAddAssociations with an invalid key.");
System\ServiceModel\Activities\MessagingActivityHelper.cs (2)
122
if (instanceKey != null && instanceKey.
IsValid
)
156
Fx.Assert(key != null && key.
IsValid
, "only valid keys should be passed into InitializeCorrelationHandles");