660 references to Empty
ComSvcConfig (7)
ComAdminWrapper.cs (2)
96
clsid = Guid.
Empty
;
546
appId = Guid.
Empty
;
EndpointConfigContainer.cs (4)
505
Guid clsid = Guid.
Empty
;
506
Guid appId = Guid.
Empty
;
552
ec = new EndpointConfig(Guid.
Empty
,
563
ec = new EndpointConfig(Guid.
Empty
,
SvcFileManager.cs (1)
121
appid = Guid.
Empty
;
mscorlib (89)
microsoft\win32\unsafenativemethods.cs (1)
187
Guid emptyGuid = Guid.
Empty
;
system\diagnostics\eventing\activitytracker.cs (3)
93
activityId = Guid.
Empty
;
94
relatedActivityId = Guid.
Empty
;
169
activityId = Guid.
Empty
;
system\diagnostics\eventing\eventsource.cs (13)
404
Guid g = Guid.
Empty
;
545
if (activityId == Guid.
Empty
)
622
if (retval == Guid.
Empty
)
1190
Guid activityId = Guid.
Empty
;
1191
Guid relActivityId = Guid.
Empty
;
1205
if (activityId != Guid.
Empty
)
1207
if (relActivityId != Guid.
Empty
)
1482
if (eventSourceGuid == Guid.
Empty
)
1920
Guid activityId = Guid.
Empty
;
1921
Guid relatedActivityId = Guid.
Empty
;
1937
if (activityId != Guid.
Empty
)
1939
if (relatedActivityId != Guid.
Empty
)
4792
if (activityId == Guid.
Empty
)
System\Diagnostics\Eventing\TraceLogging\TraceLoggingEventSource.cs (5)
313
relatedActivityId == Guid.
Empty
? null : pRelated);
619
Guid activityId = Guid.
Empty
;
620
Guid relatedActivityId = Guid.
Empty
;
632
if (activityId != Guid.
Empty
)
634
if (relatedActivityId != Guid.
Empty
)
system\globalization\sortversion.cs (1)
32
if(customVersion == Guid.
Empty
) {
system\guid.cs (7)
176
parsedGuid = Guid.
Empty
;
240
this = Guid.
Empty
;
279
result = Guid.
Empty
;
331
result = Guid.
Empty
;
355
result = Guid.
Empty
;
366
result = Guid.
Empty
;
1149
Contract.Ensures(Contract.Result<Guid>() != Guid.
Empty
);
system\reflection\emit\unmanagedmarshal.cs (5)
36
return new UnmanagedMarshal(unmanagedType, Guid.
Empty
, 0, (UnmanagedType) 0);
40
return new UnmanagedMarshal(UnmanagedType.ByValTStr, Guid.
Empty
, elemCount, (UnmanagedType) 0);
45
return new UnmanagedMarshal(UnmanagedType.SafeArray, Guid.
Empty
, 0, elemType);
50
return new UnmanagedMarshal(UnmanagedType.ByValArray, Guid.
Empty
, elemCount, (UnmanagedType) 0);
55
return new UnmanagedMarshal(UnmanagedType.LPArray, Guid.
Empty
, 0, elemType);
system\runtime\remoting\channelservices.cs (1)
1061
Guid g = Guid.
Empty
;
system\runtime\remoting\crosscontextchannel.cs (3)
74
Guid g = Guid.
Empty
;
235
Guid g = Guid.
Empty
;
337
Guid g = Guid.
Empty
;
system\runtime\remoting\terminatorsinks.cs (1)
859
Guid g = Guid.
Empty
;
system\security\accesscontrol\acl.cs (28)
1275
objectType = Guid.
Empty
;
1276
inheritedObjectType = Guid.
Empty
;
1301
Guid objectType = ( ace is ObjectAce ) ? (( ObjectAce ) ace ).ObjectAceType : Guid.
Empty
;
1302
Guid newObjectType = ( newAce is ObjectAce ) ? (( ObjectAce ) newAce ).ObjectAceType : Guid.
Empty
;
1309
Guid inheritedObjectType = ( ace is ObjectAce ) ? (( ObjectAce ) ace ).InheritedObjectAceType : Guid.
Empty
;
1310
Guid newInheritedObjectType = ( newAce is ObjectAce ) ? (( ObjectAce ) newAce ).InheritedObjectAceType : Guid.
Empty
;
2425
Guid ps_ObjectAceType = Guid.
Empty
;
2426
Guid ps_InheritedObjectAceType = Guid.
Empty
;
2432
Guid as_ObjectAceType = Guid.
Empty
;
2433
Guid as_InheritedObjectAceType = Guid.
Empty
;
2439
Guid ms_ObjectAceType = Guid.
Empty
;
2440
Guid ms_InheritedObjectAceType = Guid.
Empty
;
2975
AddQualifiedAce( sid, AceQualifier.SystemAudit, accessMask, GenericAce.AceFlagsFromAuditFlags( auditFlags ) | GenericAce.AceFlagsFromInheritanceFlags( inheritanceFlags, propagationFlags ), ObjectAceFlags.None, Guid.
Empty
, Guid.
Empty
);
2981
SetQualifiedAce( sid, AceQualifier.SystemAudit, accessMask, GenericAce.AceFlagsFromAuditFlags( auditFlags ) | GenericAce.AceFlagsFromInheritanceFlags( inheritanceFlags, propagationFlags ), ObjectAceFlags.None, Guid.
Empty
, Guid.
Empty
);
2986
return RemoveQualifiedAces(sid, AceQualifier.SystemAudit, accessMask, GenericAce.AceFlagsFromAuditFlags( auditFlags ) | GenericAce.AceFlagsFromInheritanceFlags( inheritanceFlags, propagationFlags ), true, ObjectAceFlags.None, Guid.
Empty
, Guid.
Empty
);
2991
RemoveQualifiedAcesSpecific( sid, AceQualifier.SystemAudit, accessMask, GenericAce.AceFlagsFromAuditFlags( auditFlags ) | GenericAce.AceFlagsFromInheritanceFlags( inheritanceFlags, propagationFlags ), ObjectAceFlags.None, Guid.
Empty
, Guid.
Empty
);
3132
AddQualifiedAce( sid, accessType == AccessControlType.Allow ? AceQualifier.AccessAllowed : AceQualifier.AccessDenied, accessMask, GenericAce.AceFlagsFromInheritanceFlags( inheritanceFlags, propagationFlags ), ObjectAceFlags.None, Guid.
Empty
, Guid.
Empty
);
3140
SetQualifiedAce( sid, accessType == AccessControlType.Allow ? AceQualifier.AccessAllowed : AceQualifier.AccessDenied, accessMask, GenericAce.AceFlagsFromInheritanceFlags( inheritanceFlags, propagationFlags ), ObjectAceFlags.None, Guid.
Empty
, Guid.
Empty
);
3147
return RemoveQualifiedAces( sid, accessType == AccessControlType.Allow ? AceQualifier.AccessAllowed : AceQualifier.AccessDenied, accessMask, GenericAce.AceFlagsFromInheritanceFlags( inheritanceFlags, propagationFlags ), false, ObjectAceFlags.None, Guid.
Empty
, Guid.
Empty
);
3154
RemoveQualifiedAcesSpecific(sid, accessType == AccessControlType.Allow ? AceQualifier.AccessAllowed : AceQualifier.AccessDenied, accessMask, GenericAce.AceFlagsFromInheritanceFlags( inheritanceFlags, propagationFlags ), ObjectAceFlags.None, Guid.
Empty
, Guid.
Empty
);
system\security\accesscontrol\directoryobjectsecurity.cs (12)
304
_securityDescriptor.DiscretionaryAcl.RemoveAccess(AccessControlType.Deny, sid, -1, InheritanceFlags.ContainerInherit, 0, ObjectAceFlags.None, Guid.
Empty
, Guid.
Empty
);
313
result = _securityDescriptor.DiscretionaryAcl.RemoveAccess(AccessControlType.Allow, sid, -1, InheritanceFlags.ContainerInherit, 0, ObjectAceFlags.None, Guid.
Empty
, Guid.
Empty
);
345
_securityDescriptor.DiscretionaryAcl.RemoveAccess(AccessControlType.Allow, sid, -1, InheritanceFlags.ContainerInherit, 0, ObjectAceFlags.None, Guid.
Empty
, Guid.
Empty
);
354
result = _securityDescriptor.DiscretionaryAcl.RemoveAccess(AccessControlType.Deny, sid, -1, InheritanceFlags.ContainerInherit, 0, ObjectAceFlags.None, Guid.
Empty
, Guid.
Empty
);
435
_securityDescriptor.SystemAcl.RemoveAudit(AuditFlags.Failure | AuditFlags.Success, sid, -1, InheritanceFlags.ContainerInherit, 0, ObjectAceFlags.None, Guid.
Empty
, Guid.
Empty
);
444
result = _securityDescriptor.SystemAcl.RemoveAudit(AuditFlags.Failure | AuditFlags.Success, sid, -1, InheritanceFlags.ContainerInherit, 0, ObjectAceFlags.None, Guid.
Empty
, Guid.
Empty
);
system\security\accesscontrol\rules.cs (8)
192
if (( !objectType.Equals( Guid.
Empty
)) && (( accessMask & ObjectAce.AccessMaskWithObjectType ) != 0 ))
199
_objectType = Guid.
Empty
;
202
if (( !inheritedObjectType.Equals( Guid.
Empty
)) && ((inheritanceFlags & InheritanceFlags.ContainerInherit ) != 0 ))
209
_inheritedObjectType = Guid.
Empty
;
300
if (( !objectType.Equals( Guid.
Empty
)) && (( accessMask & ObjectAce.AccessMaskWithObjectType ) != 0 ))
307
_objectType = Guid.
Empty
;
310
if (( !inheritedObjectType.Equals( Guid.
Empty
)) && ((inheritanceFlags & InheritanceFlags.ContainerInherit ) != 0 ))
317
_inheritedObjectType = Guid.
Empty
;
system\threading\Tasks\TaskContinuation.cs (1)
667
Guid savedActivityId = Guid.
Empty
;
PresentationCore (24)
Core\CSharp\MS\Internal\Ink\ExtendedProperty.cs (1)
35
if (id == Guid.
Empty
)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\CustomAttributeSerializer.cs (3)
466
System.Diagnostics.Debug.Assert(guid == Guid.
Empty
);
470
if (guid == Guid.
Empty
)
825
if (id == Guid.
Empty
)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (1)
162
if (guid == Guid.
Empty
)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\GuidTagList.cs (4)
122
return Guid.
Empty
;
146
return Guid.
Empty
;
164
if (Guid.
Empty
!= guid)
173
if (Guid.
Empty
!= guid)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (3)
763
if (guid == Guid.
Empty
)
1616
if (guid == Guid.
Empty
)
1656
if (guid == Guid.
Empty
)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\StrokeSerializer.cs (2)
207
if (guid == Guid.
Empty
)
331
if (guid == Guid.
Empty
)
Core\CSharp\MS\Win32\UnsafeNativeMethodsPenimc.cs (1)
385
Guid unused = Guid.
Empty
;
Core\CSharp\System\Windows\Ink\StrokeCollection.cs (1)
208
if ( propertyDataId == Guid.
Empty
)
Core\CSharp\System\Windows\Media\Imaging\BitmapDecoder.cs (5)
91
Guid clsId = Guid.
Empty
;
155
Guid clsId = Guid.
Empty
;
179
if (clsId != Guid.
Empty
&& clsId != expectedClsId)
294
Guid clsId = Guid.
Empty
;
1620
clsId = Guid.
Empty
;
Core\CSharp\System\Windows\Media\Imaging\BitmapEncoder.cs (2)
109
if (containerFormat == Guid.
Empty
)
534
return Guid.
Empty
;
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (1)
1890
guidFormat = Guid.
Empty
;
PresentationFramework (18)
src\Framework\MS\Internal\AppModel\Journaling.cs (2)
376
if (endingPF.ParentPageFunctionId == Guid.
Empty
)
394
Debug.Assert(endingPF.ParentPageFunctionId == Guid.
Empty
,
src\Framework\MS\Internal\AppModel\OleCmdHelper.cs (1)
196
else if(guidCmdGroup.Equals(Guid.
Empty
))
src\Framework\System\Windows\Annotations\Annotation.cs (3)
94
_id = Guid.
Empty
;
161
if (id.Equals(Guid.
Empty
))
699
if (_id.Equals(Guid.
Empty
))
src\Framework\System\Windows\Annotations\AnnotationResource.cs (3)
98
if (Guid.
Empty
.Equals(id))
464
Guid tempId = Guid.
Empty
;
493
if (Guid.
Empty
.Equals(tempId))
src\Framework\System\Windows\Controls\WebBrowser.cs (1)
448
Guid guid = Guid.
Empty
;
src\Framework\System\Windows\Interop\DocobjHost.cs (1)
704
if (launcherApp != null && guidCommandGroup == Guid.
Empty
)
src\Framework\System\Windows\Interop\DynamicScriptObject.cs (3)
258
Guid guid = Guid.
Empty
;
608
Guid guid = Guid.
Empty
;
671
Guid guid = Guid.
Empty
;
src\Framework\System\Windows\Navigation\NavigationService.cs (3)
1085
if (!pf._Resume && pf.ParentPageFunctionId == Guid.
Empty
&& _bp is PageFunctionBase)
1088
Debug.Assert(pf.ParentPageFunctionId != Guid.
Empty
);
4376
private Guid _guidId = Guid.
Empty
;
src\Framework\System\Windows\Navigation\PageFunction.cs (1)
42
ParentPageFunctionId = Guid.
Empty
;
SMDiagnostics (3)
System\ServiceModel\Diagnostics\Activity.cs (1)
26
if (activityId != Guid.
Empty
)
System\ServiceModel\Diagnostics\ExceptionUtility.cs (1)
264
ExceptionUtility.activityId = Guid.
Empty
;
System\ServiceModel\Diagnostics\LegacyDiagnosticTrace.cs (1)
148
using ((this.ShouldUseActivity && Guid.
Empty
!= activityId) ? Activity.CreateActivity(activityId) : null)
SMSvcHost (1)
System\ServiceModel\Activation\MsmqActivation.cs (1)
323
Interlocked.Increment(ref queueIdCounter), Guid.
Empty
);
System (2)
compmod\system\diagnostics\CorrelationManager.cs (1)
27
return Guid.
Empty
;
compmod\system\diagnostics\XmlWriterTraceListener.cs (1)
216
InternalWrite(Guid.
Empty
.ToString("B"));
System.Activities (28)
System\Activities\BookmarkScope.cs (4)
58
Fx.Assert(value != Guid.
Empty
, "Cannot set this to Guid.Empty.");
121
return this.IsInitialized && this.id == Guid.
Empty
;
132
if (id == Guid.
Empty
)
187
Fx.Assert(this.id != Guid.
Empty
, "If we're not the default but we're initialized then we must have a non-Empty Guid.");
System\Activities\BookmarkScopeHandle.cs (1)
82
this.bookmarkScope = context.CreateBookmarkScope(Guid.
Empty
, this);
System\Activities\DurableInstancing\LoadWorkflowByInstanceKeyCommand.cs (3)
45
return (this.keysToAssociate == null || this.keysToAssociate.Count == 0) && AssociateInstanceKeyToInstanceId == Guid.
Empty
;
68
if (LookupInstanceKey == Guid.
Empty
)
73
if (AssociateInstanceKeyToInstanceId == Guid.
Empty
)
System\Activities\HandleInitializationContext.cs (1)
97
return this.executor.BookmarkScopeManager.CreateAndRegisterScope(Guid.
Empty
);
System\Activities\NativeActivityContext.cs (3)
362
return CreateBookmarkScope(Guid.
Empty
);
374
if (scopeId != Guid.
Empty
&& !this.executor.KeysAllowed)
393
Fx.Assert(id != Guid.
Empty
, "The caller should make sure this isn't empty.");
System\Activities\Runtime\ActivityExecutor.cs (3)
383
this.instanceIdSet = value != Guid.
Empty
;
1473
oldActivityId = Guid.
Empty
;
1495
oldActivityId = Guid.
Empty
;
System\Activities\Runtime\BookmarkScopeManager.cs (2)
32
this.defaultScope = CreateAndRegisterScope(Guid.
Empty
);
425
if (scopeId == Guid.
Empty
)
System\Activities\Runtime\Scheduler.cs (3)
233
Guid oldActivityId = Guid.
Empty
;
396
Guid oldActivityId = Guid.
Empty
;
397
Guid workflowInstanceId = Guid.
Empty
;
System\Activities\Tracking\CustomTrackingRecord.cs (1)
29
: this(Guid.
Empty
, name, level)
System\Activities\Tracking\EtwTrackingParticipant.cs (2)
43
if (EtwDiagnosticTrace.DefaultEtwProviderId == Guid.
Empty
)
64
if (value == Guid.
Empty
)
System\Activities\WorkflowApplication.cs (5)
630
Fx.Assert(this.Id != Guid.
Empty
, "should have a valid Id at this point");
1635
if (instanceId == Guid.
Empty
)
1656
if (instanceId == Guid.
Empty
)
1806
if (instanceId == Guid.
Empty
)
2130
if (instanceId == Guid.
Empty
)
System.Activities.DurableInstancing (14)
System\Activities\DurableInstancing\CreateWorkflowOwnerAsyncResult.cs (1)
90
parameters.Add(new SqlParameter { ParameterName = "@workflowHostType", SqlDbType = SqlDbType.UniqueIdentifier, Value = (base.Store.WorkflowHostType != Guid.
Empty
) ? base.Store.WorkflowHostType : (object) DBNull.Value });
System\Activities\DurableInstancing\InstanceLockTracking.cs (1)
17
this.InstanceId = Guid.
Empty
;
System\Activities\DurableInstancing\LoadWorkflowAsyncResult.cs (1)
84
GenerateLoadSqlCommand(command, loadType, Guid.
Empty
, instanceId, null);
System\Activities\DurableInstancing\SaveWorkflowAsyncResult.cs (2)
142
if ((this.serviceDeploymentHash != Guid.
Empty
) && (this.serviceDeploymentId == 0))
429
if ((this.serviceDeploymentHash != Guid.
Empty
) && (this.serviceDeploymentId == 0))
System\Activities\DurableInstancing\SerializationUtilities.cs (4)
295
Guid idHash = Guid.
Empty
;
296
Guid idAnyRevisionHash = Guid.
Empty
;
390
xmlWriter.WriteElementString("DefinitionIdentityHash", Guid.
Empty
.ToString());
391
xmlWriter.WriteElementString("DefinitionIdentityAnyRevisionHash", Guid.
Empty
.ToString());
System\Activities\DurableInstancing\SqlWorkflowInstanceStoreAsyncResult.cs (2)
208
Guid instanceId = (thisPtr.InstancePersistenceContext != null) ? thisPtr.InstancePersistenceContext.InstanceView.InstanceId : Guid.
Empty
;
274
Guid instanceId = (this.InstancePersistenceContext != null) ? this.InstancePersistenceContext.InstanceView.InstanceId : Guid.
Empty
;
System\Activities\DurableInstancing\StoreUtilities.cs (2)
71
returnValue = new InstanceKeyCollisionException(commandName, Guid.
Empty
,
72
new InstanceKey(reader.GetGuid(1)), Guid.
Empty
);
System\Activities\DurableInstancing\TryLoadRunnableWorkflowAsyncResult.cs (1)
31
if (base.Store.WorkflowHostType == Guid.
Empty
)
System.Activities.Presentation (4)
System.Activities.Presentation\System\Activities\Presentation\ObjectReferenceService.cs (1)
110
return Guid.
Empty
;
System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (3)
479
error.SourceReferenceId = Guid.
Empty
;
499
if (error.SourceReferenceId != Guid.
Empty
)
842
if (sourceReferenceId == Guid.
Empty
)
System.AddIn (3)
System\Addin\Hosting\AddInProcess.cs (2)
165
return Guid.
Empty
;
215
_guid = Guid.
Empty
;
System\Addin\Hosting\RemotingHelper.cs (1)
15
internal static readonly String s_emptyGuid = Guid.
Empty
.ToString();
System.Core (11)
Microsoft\Scripting\Ast\SymbolDocumentInfo.cs (2)
47
get { return Guid.
Empty
; }
54
get { return Guid.
Empty
; }
System\Diagnostics\Eventing\EventProvider.cs (7)
515
return WriteTransferEvent(ref eventDescriptor, Guid.
Empty
, eventPayload);
568
(activityId == Guid.
Empty
) ? null : &activityId,
619
(activityId == Guid.
Empty
) ? null : &activityId,
752
if (relatedActivityId == Guid.
Empty
&& s_preWin7)
766
(activityId == Guid.
Empty
) ? null : &activityId,
767
(relatedActivityId == Guid.
Empty
&& !s_preWin7)? null : &relatedActivityId,
794
(activityId == Guid.
Empty
) ? null : &activityId,
System\Diagnostics\Eventing\Reader\EventTask.cs (1)
62
this.guid = Guid.
Empty
;
System\Diagnostics\Eventing\Reader\NativeWrapper.cs (1)
1195
return (val.GuidReference == IntPtr.Zero) ? Guid.
Empty
: Marshal.PtrToStructure(val.GuidReference, typeof(Guid));
System.Data (19)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\ObjectReferenceService.cs (1)
110
return Guid.
Empty
;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (3)
479
error.SourceReferenceId = Guid.
Empty
;
499
if (error.SourceReferenceId != Guid.
Empty
)
842
if (sourceReferenceId == Guid.
Empty
)
fx\src\data\System\Data\OleDb\DBPropSet.cs (1)
200
Debug.Assert(Guid.
Empty
!= propertySet, "invalid propertySet");
fx\src\data\System\Data\OleDb\OLEDB_Util.cs (1)
526
static internal Guid IID_NULL = Guid.
Empty
;
fx\src\data\System\Data\OleDb\OleDbCommand.cs (1)
906
tableID.uGuid = Guid.
Empty
;
fx\src\data\System\Data\OleDb\OleDbDataReader.cs (1)
517
info.guid = Guid.
Empty
;
fx\src\data\System\Data\SqlClient\SqlConnection.cs (2)
290
private Guid _originalConnectionId = Guid.
Empty
;
709
return Guid.
Empty
;
fx\src\data\System\Data\SqlClient\SqlDependencyListener.cs (3)
507
Guid handle = Guid.
Empty
; // Conversation_handle. Always close this!
570
handle = Guid.
Empty
;
581
if (handle == Guid.
Empty
) { // This should only happen if failure occurred, or if non-QN format received.
fx\src\data\System\Data\SqlClient\SqlException.cs (4)
27
private Guid _clientConnectionId = Guid.
Empty
;
135
return CreateException(errorCollection, serverVersion, Guid.
Empty
);
139
Guid connectionId = (internalConnection == null) ? Guid.
Empty
: internalConnection._clientConnectionId;
143
if ((internalConnection.OriginalClientConnectionId != Guid.
Empty
) && (internalConnection.OriginalClientConnectionId != internalConnection.ClientConnectionId)) {
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (2)
305
internal Guid _clientConnectionId = Guid.
Empty
;
309
private Guid _originalClientConnectionId = Guid.
Empty
;
System.Data.Entity (2)
System\Data\Metadata\MetadataWorkspace.cs (2)
125
private Guid _metadataWorkspaceId = Guid.
Empty
;
1484
if (Guid.Equals(Guid.
Empty
, _metadataWorkspaceId))
System.Data.SqlXml (1)
System\Xml\Xsl\IlGen\XmlILModule.cs (1)
283
symDoc = ((ModuleBuilder) this.typeBldr.Module).DefineDocument(fileName, LanguageGuid, VendorGuid, Guid.
Empty
);
System.Messaging (4)
System\Messaging\Message.cs (2)
740
return Guid.
Empty
;
751
if (value.Equals(Guid.
Empty
))
System\Messaging\MessageQueueInstaller.cs (2)
36
private Guid category = Guid.
Empty
;
548
return !Category.Equals(Guid.
Empty
);
System.Net (20)
net\PeerToPeer\Collaboration\Peer.cs (2)
291
Guid guid = Guid.
Empty
;
428
return InternalGetAllObjects(Guid.
Empty
, false);
net\PeerToPeer\Collaboration\PeerApplication.cs (1)
246
if (m_id.Equals(Guid.
Empty
)){
net\PeerToPeer\Collaboration\PeerCollaboration.cs (1)
566
if (application.Id.Equals(Guid.
Empty
)){
net\PeerToPeer\Collaboration\PeerContact.cs (11)
635
if (appGuid.Equals(Guid.
Empty
))
655
if (applicationToInvite.Id == Guid.
Empty
)
724
if (appGuid.Equals(Guid.
Empty
))
747
if (applicationToInvite.Id == Guid.
Empty
)
782
if (appGuid.Equals(Guid.
Empty
))
815
if (applicationToInvite.Id == Guid.
Empty
)
848
if (appGuid.Equals(Guid.
Empty
))
881
if (applicationToInvite.Id == Guid.
Empty
)
909
return InternalGetAllApplications(Guid.
Empty
, false);
936
return InternalGetApplications(Guid.
Empty
, false, peerEndPoint);
1127
return InternalGetObjects(Guid.
Empty
, false, peerEndPoint);
net\PeerToPeer\Collaboration\PeerNearMe.cs (4)
694
if (applicationToInvite.Id == Guid.
Empty
)
728
if (appGuid.Equals(Guid.
Empty
))
764
if (appGuid.Equals(Guid.
Empty
))
791
if (applicationToInvite.Id == Guid.
Empty
)
net\PeerToPeer\Collaboration\PeerObject.cs (1)
198
if (m_id.Equals(Guid.
Empty
))
System.Runtime.DurableInstancing (48)
System\Runtime\DurableInstancing\InstanceCollisionException.cs (1)
52
if (instanceId != Guid.
Empty
)
System\Runtime\DurableInstancing\InstanceCompleteException.cs (1)
52
if (instanceId != Guid.
Empty
)
System\Runtime\DurableInstancing\InstanceHandle.cs (7)
49
Fx.Assert(instanceId != Guid.
Empty
, "Should be validating this.");
83
return Guid.
Empty
;
90
Fx.Assert(value != Guid.
Empty
, "Cannot set an empty Id.");
91
Fx.Assert(this.id == Guid.
Empty
, "Cannot set Id more than once.");
326
Fx.Assert(instanceId != Guid.
Empty
, "BindInstance called with empty Guid.");
333
Fx.Assert(Id == Guid.
Empty
, "Instance already boud in BindInstance.");
355
Fx.Assert(Id != Guid.
Empty
, "Bind called before instance bound.");
System\Runtime\DurableInstancing\InstanceHandleConflictException.cs (1)
52
if (instanceId != Guid.
Empty
)
System\Runtime\DurableInstancing\InstanceKey.cs (3)
24
this.Value = Guid.
Empty
;
35
if (value == Guid.
Empty
)
119
if (value.CompareTo(Guid.
Empty
) == 0)
System\Runtime\DurableInstancing\InstanceKeyCollisionException.cs (4)
56
InstanceKey = guid == Guid.
Empty
? null : new InstanceKey(guid);
71
info.AddValue(InstanceKeyName, (InstanceKey != null && InstanceKey.IsValid) ? InstanceKey.Value : Guid.
Empty
, typeof(Guid));
78
if (instanceId != Guid.
Empty
&& conflictingInstanceId != Guid.
Empty
)
System\Runtime\DurableInstancing\InstanceKeyCompleteException.cs (3)
38
: this(commandName, Guid.
Empty
, instanceKey, ToMessage(instanceKey), innerException)
53
InstanceKey = guid == Guid.
Empty
? null : new InstanceKey(guid);
65
info.AddValue(InstanceKeyName, (InstanceKey != null && InstanceKey.IsValid) ? InstanceKey.Value : Guid.
Empty
, typeof(Guid));
System\Runtime\DurableInstancing\InstanceKeyNotReadyException.cs (3)
38
: this(commandName, Guid.
Empty
, instanceKey, ToMessage(instanceKey), innerException)
53
InstanceKey = guid == Guid.
Empty
? null : new InstanceKey(guid);
65
info.AddValue(InstanceKeyName, (InstanceKey != null && InstanceKey.IsValid) ? InstanceKey.Value : Guid.
Empty
, typeof(Guid));
System\Runtime\DurableInstancing\InstanceLockedException.cs (4)
45
: this(commandName, instanceId, Guid.
Empty
, null, message, innerException)
96
if (instanceId == Guid.
Empty
)
105
if (instanceId == Guid.
Empty
)
109
if (instanceOwnerId == Guid.
Empty
)
System\Runtime\DurableInstancing\InstanceLockLostException.cs (1)
52
if (instanceId != Guid.
Empty
)
System\Runtime\DurableInstancing\InstanceNotReadyException.cs (1)
52
if (instanceId != Guid.
Empty
)
System\Runtime\DurableInstancing\InstanceOwner.cs (6)
76
Fx.Assert(handle.Id != Guid.
Empty
, "Unbind called on a handle not even bound to an instance.");
178
Fx.Assert(reference.InstanceHandle.Id != Guid.
Empty
, "Must be bound to an instance already.");
244
Fx.Assert(reference.InstanceHandle.Id != Guid.
Empty
, "InstanceBound called, but the handle isn't bound.");
354
if (wasBoundToInstanceId != Guid.
Empty
)
389
if (handleRef.InstanceHandle.Id == Guid.
Empty
)
421
else if (handleRef.InstanceHandle.Id != Guid.
Empty
)
System\Runtime\DurableInstancing\InstanceOwnerException.cs (1)
68
if (instanceOwnerId == Guid.
Empty
)
System\Runtime\DurableInstancing\InstancePersistenceContext.cs (9)
91
return InstanceHandle.Owner == null ? Guid.
Empty
: InstanceHandle.Owner.OwnerToken;
143
if (instanceOwnerId == Guid.
Empty
)
147
if (lockToken == Guid.
Empty
)
163
if (instanceId == Guid.
Empty
)
430
if (key == Guid.
Empty
)
452
if (key == Guid.
Empty
)
494
if (key == Guid.
Empty
)
529
if (key == Guid.
Empty
)
594
if (key == Guid.
Empty
)
System\Runtime\DurableInstancing\InstanceStore.cs (1)
56
if (instanceId == Guid.
Empty
)
System\Runtime\DurableInstancing\InstanceView.cs (2)
42
Fx.Assert(instanceId != Guid.
Empty
, "Null instanceId passed to InstanceView ctor.");
258
Fx.Assert(instanceId != Guid.
Empty
, "Null instanceId passed to BindInstance.");
System.Runtime.Serialization (2)
System\Xml\UniqueID.cs (1)
296
guid = Guid.
Empty
;
System\Xml\XmlDictionaryReader.cs (1)
928
value = Guid.
Empty
;
System.ServiceModel (95)
System\ServiceModel\Channels\CommunicationObject.cs (41)
125
throw TraceUtility.ThrowHelperError(this.CreateBaseClassMethodNotCalledException("OnClosing"), Guid.
Empty
, this);
131
throw TraceUtility.ThrowHelperError(this.CreateBaseClassMethodNotCalledException("OnClosed"), Guid.
Empty
, this);
180
throw TraceUtility.ThrowHelperError(this.CreateFaultedException(), Guid.
Empty
, this);
191
throw TraceUtility.ThrowHelperError(this.CreateBaseClassMethodNotCalledException("OnClosing"), Guid.
Empty
, this);
243
throw TraceUtility.ThrowHelperError(this.CreateBaseClassMethodNotCalledException("OnOpening"), Guid.
Empty
, this);
299
throw TraceUtility.ThrowHelperError(this.CreateFaultedException(), Guid.
Empty
, this);
312
throw TraceUtility.ThrowHelperError(this.CreateBaseClassMethodNotCalledException("OnClosing"), Guid.
Empty
, this);
318
throw TraceUtility.ThrowHelperError(this.CreateBaseClassMethodNotCalledException("OnClosed"), Guid.
Empty
, this);
434
throw TraceUtility.ThrowHelperError(this.CreateNotOpenException(), Guid.
Empty
, this);
437
throw TraceUtility.ThrowHelperError(this.CreateNotOpenException(), Guid.
Empty
, this);
589
throw TraceUtility.ThrowHelperError(this.CreateBaseClassMethodNotCalledException("OnOpening"), Guid.
Empty
, this);
595
throw TraceUtility.ThrowHelperError(this.CreateBaseClassMethodNotCalledException("OnOpened"), Guid.
Empty
, this);
790
throw TraceUtility.ThrowHelperError(this.CreateFaultedException(), Guid.
Empty
, this);
801
throw TraceUtility.ThrowHelperError(CreateAbortedException(), Guid.
Empty
, this);
836
throw TraceUtility.ThrowHelperError(this.CreateClosedException(), Guid.
Empty
, this);
839
throw TraceUtility.ThrowHelperError(this.CreateFaultedException(), Guid.
Empty
, this);
867
throw TraceUtility.ThrowHelperError(this.CreateClosedException(), Guid.
Empty
, this);
870
throw TraceUtility.ThrowHelperError(this.CreateClosedException(), Guid.
Empty
, this);
873
throw TraceUtility.ThrowHelperError(this.CreateFaultedException(), Guid.
Empty
, this);
893
throw TraceUtility.ThrowHelperError(this.CreateImmutableException(), Guid.
Empty
, this);
896
throw TraceUtility.ThrowHelperError(this.CreateImmutableException(), Guid.
Empty
, this);
899
throw TraceUtility.ThrowHelperError(this.CreateClosedException(), Guid.
Empty
, this);
902
throw TraceUtility.ThrowHelperError(this.CreateFaultedException(), Guid.
Empty
, this);
919
throw TraceUtility.ThrowHelperError(this.CreateImmutableException(), Guid.
Empty
, this);
922
throw TraceUtility.ThrowHelperError(this.CreateImmutableException(), Guid.
Empty
, this);
925
throw TraceUtility.ThrowHelperError(this.CreateClosedException(), Guid.
Empty
, this);
928
throw TraceUtility.ThrowHelperError(this.CreateClosedException(), Guid.
Empty
, this);
931
throw TraceUtility.ThrowHelperError(this.CreateFaultedException(), Guid.
Empty
, this);
945
throw TraceUtility.ThrowHelperError(this.CreateNotOpenException(), Guid.
Empty
, this);
948
throw TraceUtility.ThrowHelperError(this.CreateNotOpenException(), Guid.
Empty
, this);
954
throw TraceUtility.ThrowHelperError(this.CreateClosedException(), Guid.
Empty
, this);
957
throw TraceUtility.ThrowHelperError(this.CreateClosedException(), Guid.
Empty
, this);
960
throw TraceUtility.ThrowHelperError(this.CreateFaultedException(), Guid.
Empty
, this);
970
throw TraceUtility.ThrowHelperError(this.CreateNotOpenException(), Guid.
Empty
, this);
980
throw TraceUtility.ThrowHelperError(this.CreateNotOpenException(), Guid.
Empty
, this);
983
throw TraceUtility.ThrowHelperError(this.CreateNotOpenException(), Guid.
Empty
, this);
992
throw TraceUtility.ThrowHelperError(this.CreateClosedException(), Guid.
Empty
, this);
995
throw TraceUtility.ThrowHelperError(this.CreateFaultedException(), Guid.
Empty
, this);
1012
throw TraceUtility.ThrowHelperError(exception, Guid.
Empty
, this);
1123
Guid.
Empty
, this.communicationObject);
1197
Guid.
Empty
, this.communicationObject);
System\ServiceModel\Channels\HttpRequestContext.cs (1)
203
Guid relatedId = this.eventTraceActivity != null ? this.eventTraceActivity.ActivityId : Guid.
Empty
;
System\ServiceModel\Channels\ServiceChannel.cs (6)
665
if (Trace.CorrelationManager.ActivityId == Guid.
Empty
)
704
Guid previousId = rpc.EventTraceActivity != null ? rpc.EventTraceActivity.ActivityId : Guid.
Empty
;
979
if (TraceUtility.MessageFlowTracingOnly && rpc.ActivityId != Guid.
Empty
)
1044
if (rpc.ActivityId != Guid.
Empty
)
1047
System.Runtime.Diagnostics.DiagnosticTraceBase.ActivityId = Guid.
Empty
;
1048
rpc.ActivityId = Guid.
Empty
;
System\ServiceModel\Channels\SharedTcpTransportManager.cs (1)
76
OnOpenInternal(0, Guid.
Empty
);
System\ServiceModel\ComIntegration\ComPlusDiagnosticTraceRecords.cs (4)
184
Guid guidLogicalThreadID = Guid.
Empty
;
185
Guid guidActivityID = Guid.
Empty
;
216
Guid guidContextTrsansactionID = Guid.
Empty
;
230
if (guidContextTrsansactionID != Guid.
Empty
)
System\ServiceModel\ComIntegration\ComPlusInstanceContextInitializer.cs (1)
98
Guid assemblyGuid = Guid.
Empty
;
System\ServiceModel\ComIntegration\ComPlusInstanceProvider.cs (1)
44
Guid incomingTransactionID = Guid.
Empty
;
System\ServiceModel\ComIntegration\ComPlusSynchronizationContext.cs (1)
72
Guid guidLogicalThreadID = Guid.
Empty
;
System\ServiceModel\ComIntegration\ComPlusThreadInitializer.cs (2)
90
Guid incomingTransactionID = Guid.
Empty
;
160
Guid currentTransactionID = Guid.
Empty
;
System\ServiceModel\ComIntegration\DllHostInitializer.cs (2)
115
Guid clsidToCompare = Guid.
Empty
;
116
Guid appIdToCompare = Guid.
Empty
;
System\ServiceModel\ComIntegration\TypeCacheManager.cs (1)
269
Assembly asm = ResolveAssemblyFromTypeLibID(Guid.
Empty
, typeLibId, typeLibVersion, false, noAssemblyGeneration);
System\ServiceModel\ComIntegration\WebHostedComPlusServiceHost.cs (2)
95
Guid clsidFromConfig = Guid.
Empty
;
96
Guid appidFromConfig = Guid.
Empty
;
System\ServiceModel\Diagnostics\ActivityIdHeader.cs (4)
37
Guid guid = Guid.
Empty
;
77
activityId = Guid.
Empty
;
78
correlationId = Guid.
Empty
;
93
return activityId != Guid.
Empty
;
System\ServiceModel\Diagnostics\EventTraceActivityHelper.cs (1)
100
guid = Guid.
Empty
;
System\ServiceModel\Diagnostics\ServiceModelActivity.cs (3)
238
if (activityId != Guid.
Empty
)
401
using (DiagnosticUtility.ShouldUseActivity && Guid.
Empty
== activityId ? null : Activity.CreateActivity(this.Id))
475
if (DiagnosticUtility.TracingEnabled && activityId != Guid.
Empty
)
System\ServiceModel\Diagnostics\TraceUtility.cs (6)
584
return activity == null ? Guid.
Empty
: activity.Id;
947
DiagnosticTraceBase.ActivityId != Guid.
Empty
;
975
Guid etwProviderId = Guid.
Empty
;
1058
DiagnosticTraceBase.ActivityId = Guid.
Empty
;
1101
Guid guid = Guid.
Empty
;
1109
if (guid == Guid.
Empty
)
System\ServiceModel\Dispatcher\AsyncMethodInvoker.cs (3)
73
if (activityId != Guid.
Empty
)
82
if (activityId != Guid.
Empty
)
178
if (activityId != Guid.
Empty
)
System\ServiceModel\Dispatcher\ChannelDispatcher.cs (1)
800
(this.host != null && host.EventTraceActivity != null) ? this.host.EventTraceActivity.ActivityId : Guid.
Empty
);
System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (2)
822
else if (TraceUtility.ShouldPropagateActivity && reply != null && rpc.ResponseActivityId != Guid.
Empty
)
838
if (rpc.ResponseActivityId != Guid.
Empty
)
System\ServiceModel\Dispatcher\MessageRpc.cs (3)
157
this.ResponseActivityId = Guid.
Empty
;
461
if (Guid.
Empty
== DiagnosticTraceBase.ActivityId)
464
if (Guid.
Empty
!= receivedActivityId)
System\ServiceModel\Dispatcher\ProxyRpc.cs (1)
42
this.ActivityId = Guid.
Empty
;
System\ServiceModel\Dispatcher\SyncMethodInvoker.cs (2)
147
if (activityId != Guid.
Empty
)
156
if (activityId != Guid.
Empty
)
System\ServiceModel\PeerResolvers\CustomPeerResolverService.cs (3)
392
if (updateInfo.RegistrationId == Guid.
Empty
|| meshEntry == null)
498
if (!unregisterInfo.HasBody() || String.IsNullOrEmpty(unregisterInfo.MeshId) || unregisterInfo.RegistrationId == Guid.
Empty
)
533
if (!refreshInfo.HasBody() || String.IsNullOrEmpty(refreshInfo.MeshId) || refreshInfo.RegistrationId == Guid.
Empty
)
System\ServiceModel\Security\IssuanceTokenProviderBase.cs (1)
256
throw TraceUtility.ThrowHelperError(e, Guid.
Empty
, this);
System\ServiceModel\Transactions\WsatProxy.cs (1)
106
if (transactionId == Guid.
Empty
)
System\ServiceModel\Transactions\WsatRegistrationHeader.cs (1)
146
if (transactionId == Guid.
Empty
)
System.ServiceModel.Activities (28)
System\ServiceModel\Activities\Dispatcher\ControlOperationInvoker.cs (2)
535
if (!thisPtr.instanceKey.IsValid && thisPtr.instanceId == Guid.
Empty
)
803
if (this.instanceId == Guid.
Empty
)
System\ServiceModel\Activities\Dispatcher\DurableInstanceManager.cs (2)
1168
this.instanceKey, Guid.
Empty
, this.additionalKeys, this.transaction,
1408
IAsyncResult result = this.instanceManager.BeginGetInstance(Guid.
Empty
, null, null, this.instanceManager.Host.PersistTimeout,
System\ServiceModel\Activities\Dispatcher\PersistenceContext.cs (1)
64
Fx.Assert(instanceId != Guid.
Empty
, "Cannot provide an empty instance ID.");
System\ServiceModel\Activities\Dispatcher\PersistenceProviderDirectory.cs (10)
160
if (key.Value == Guid.
Empty
)
165
return new LoadOrCreateAsyncResult(this, key, Guid.
Empty
, false,
173
if (instanceId == Guid.
Empty
&& !loadAny)
177
Fx.Assert(!loadAny || instanceId == Guid.
Empty
, "instanceId must be Empty for loadAny!");
200
if (key.Value == Guid.
Empty
)
481
if (key != null || suggestedIdOrId != Guid.
Empty
)
524
AssociateInstanceKeyToInstanceId = suggestedIdOrId == Guid.
Empty
? Guid.NewGuid() : suggestedIdOrId,
564
handle = this.store.CreateInstanceHandle(this.owner, suggestedIdOrId == Guid.
Empty
? Guid.NewGuid() : suggestedIdOrId);
957
this.context = new PersistenceContext(this.ppd, this.suggestedIdOrId == Guid.
Empty
? Guid.NewGuid() : this.suggestedIdOrId, this.key, this.associatedKeys);
963
if (this.suggestedIdOrId == Guid.
Empty
)
System\ServiceModel\Activities\Dispatcher\WorkflowServiceInstance.cs (1)
320
Fx.Assert(instanceId != Guid.
Empty
, "instanceId cannot be empty.");
System\ServiceModel\Activities\InternalReceiveMessage.cs (3)
464
Guid receivedActivityId = Guid.
Empty
;
493
if (receivedActivityId != Guid.
Empty
&& DiagnosticTraceBase.ActivityId != receivedActivityId)
825
instance.AmbientActivityId = Guid.
Empty
;
System\ServiceModel\Activities\InternalSendMessage.cs (6)
745
if (e2eTracingId == Guid.
Empty
)
1070
instance.AmbientActivityId = Guid.
Empty
;
1132
if (instance.E2EActivityId == Guid.
Empty
)
1213
if (e2eActivityId != Guid.
Empty
)
2024
this.ambientActivityId = Guid.
Empty
;
2030
if (this.instance.E2EActivityId != Guid.
Empty
)
System\ServiceModel\Activities\WorkflowHostingEndpoint.cs (1)
64
return Guid.
Empty
;
System\ServiceModel\Activities\WorkflowOperationContext.cs (2)
339
if ((this.E2EActivityId != Guid.
Empty
) && (this.E2EActivityId != InternalReceiveMessage.TraceCorrelationActivityId))
423
this.ambientActivityId = Guid.
Empty
;
System.ServiceModel.Internals (9)
System\Runtime\ActionItem.cs (1)
304
Guid previous = Guid.
Empty
;
System\Runtime\Diagnostics\DiagnosticTraceBase.cs (1)
517
return id == null ? Guid.
Empty
: (Guid)id;
System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (2)
61
defaultEtwProviderId = Guid.
Empty
;
554
if (etwProviderId != Guid.
Empty
&& EtwDiagnosticTrace.isVistaOrGreater)
System\Runtime\Diagnostics\EventTraceActivity.cs (3)
41
empty = new EventTraceActivity(Guid.
Empty
);
59
if (guid == Guid.
Empty
)
66
Trace.CorrelationManager.ActivityId = Guid.
Empty
;
System\Runtime\Fx.cs (2)
405
Guid result = Guid.
Empty
;
428
result = Guid.
Empty
;
System.Transactions (82)
System\Transactions\Enlistment.cs (3)
79
Guid returnValue = Guid.
Empty
;
285
Guid.
Empty
,
293
Guid.
Empty
,
System\Transactions\EnlistmentState.cs (15)
68
throw TransactionException.CreateEnlistmentStateException(SR.GetString(SR.TraceSourceLtm), null, enlistment == null ? Guid.
Empty
: enlistment.DistributedTxId);
74
throw TransactionException.CreateEnlistmentStateException(SR.GetString(SR.TraceSourceLtm), null, enlistment == null ? Guid.
Empty
: enlistment.DistributedTxId);
80
throw TransactionException.CreateEnlistmentStateException(SR.GetString(SR.TraceSourceLtm), null, enlistment == null ? Guid.
Empty
: enlistment.DistributedTxId);
86
throw TransactionException.CreateEnlistmentStateException(SR.GetString(SR.TraceSourceLtm), null, enlistment == null ? Guid.
Empty
: enlistment.DistributedTxId);
92
throw TransactionException.CreateEnlistmentStateException(SR.GetString(SR.TraceSourceLtm), null, enlistment == null ? Guid.
Empty
: enlistment.DistributedTxId);
98
throw TransactionException.CreateEnlistmentStateException(SR.GetString(SR.TraceSourceLtm), null, enlistment == null ? Guid.
Empty
: enlistment.DistributedTxId);
104
throw TransactionException.CreateEnlistmentStateException(SR.GetString(SR.TraceSourceLtm), null, enlistment == null ? Guid.
Empty
: enlistment.DistributedTxId);
111
throw TransactionException.CreateEnlistmentStateException(SR.GetString(SR.TraceSourceLtm), null, enlistment == null ? Guid.
Empty
: enlistment.DistributedTxId);
118
throw TransactionException.CreateEnlistmentStateException(SR.GetString(SR.TraceSourceLtm), null, enlistment == null ? Guid.
Empty
: enlistment.DistributedTxId);
125
throw TransactionException.CreateEnlistmentStateException(SR.GetString(SR.TraceSourceLtm), null, enlistment == null ? Guid.
Empty
: enlistment.DistributedTxId);
132
throw TransactionException.CreateEnlistmentStateException(SR.GetString(SR.TraceSourceLtm), null, enlistment == null ? Guid.
Empty
: enlistment.DistributedTxId);
139
throw TransactionException.CreateEnlistmentStateException(SR.GetString(SR.TraceSourceLtm), null, enlistment == null ? Guid.
Empty
: enlistment.DistributedTxId);
146
throw TransactionException.CreateEnlistmentStateException(SR.GetString(SR.TraceSourceLtm), null, enlistment == null ? Guid.
Empty
: enlistment.DistributedTxId);
153
throw TransactionException.CreateEnlistmentStateException(SR.GetString(SR.TraceSourceLtm), null, enlistment == null ? Guid.
Empty
: enlistment.DistributedTxId);
160
throw TransactionException.CreateEnlistmentStateException(SR.GetString(SR.TraceSourceLtm), null, enlistment == null ? Guid.
Empty
: enlistment.DistributedTxId);
System\Transactions\InternalTransaction.cs (4)
47
internal Guid promoterType = Guid.
Empty
;
57
internal Guid distributedTransactionIdentifierNonMSDTC = Guid.
Empty
;
283
if ((this.promoterType != Guid.
Empty
) && (this.promoterType != TransactionInterop.PromoterTypeDtc))
294
if ((this.promoterType != Guid.
Empty
) && (this.promoterType != TransactionInterop.PromoterTypeDtc))
System\Transactions\Oletx\OletxEnlistment.cs (3)
56
Guid transactionGuid = Guid.
Empty
;
92
Guid myGuid = Guid.
Empty
;
127
Guid myGuid = Guid.
Empty
;
System\Transactions\Oletx\OletxResourceManager.cs (6)
317
Guid txUow = Guid.
Empty
;
395
comException, enlistment == null ? Guid.
Empty
: enlistment.DistributedTxId );
997
Guid returnValue = Guid.
Empty
;
1020
Guid resourceManagerId = Guid.
Empty
;
1032
this.transactionGuidString = Guid.
Empty
.ToString();
1047
Guid rmId = Guid.
Empty
;
System\Transactions\Oletx\OleTxTransaction.cs (5)
96
Guid returnValue = Guid.
Empty
;
639
if ( txGuid.Equals( Guid.
Empty
) )
651
Guid returnValue = Guid.
Empty
;
1253
System.Guid tempGuid = Guid.
Empty
;
1417
if ( Guid.
Empty
!= this.txGuid )
System\Transactions\Oletx\OletxTransactionManager.cs (2)
600
Guid txIdentifier = Guid.
Empty
;
781
if ( resourceManagerIdentifier == Guid.
Empty
)
System\Transactions\Trace\Activity.cs (2)
21
if (DiagnosticTrace.ShouldCorrelate && newGuid != Guid.
Empty
)
41
(newGuid != Guid.
Empty
) &&
System\Transactions\Trace\DiagnosticTrace.cs (2)
50
internal static Guid EmptyGuid = Guid.
Empty
;
451
return id == null ? Guid.
Empty
: (Guid)id;
System\Transactions\Transaction.cs (6)
401
Guid returnValue = Guid.
Empty
;
707
if (resourceManagerIdentifier == Guid.
Empty
)
765
if (resourceManagerIdentifier == Guid.
Empty
)
1284
if (promoterType == Guid.
Empty
)
1330
if (resourceManagerIdentifier == Guid.
Empty
)
1391
if (distributedTransactionIdentifier == Guid.
Empty
)
System\Transactions\TransactionException.cs (1)
16
return (distributedTxId != Guid.
Empty
&& AppSettings.IncludeDistributedTxIdInExceptionMessage);
System\Transactions\TransactionInterop.cs (3)
195
Guid txIdentifier = Guid.
Empty
;
574
Guid txIdentifier = Guid.
Empty
;
618
xactInfo.uow = Guid.
Empty
;
System\Transactions\TransactionManager.cs (2)
182
if ( resourceManagerIdentifier == Guid.
Empty
)
308
if ( resourceManagerIdentifier == Guid.
Empty
)
System\Transactions\TransactionScope.cs (5)
696
current == null ? Guid.
Empty
: current.DistributedTxId);
723
current == null ? Guid.
Empty
: current.DistributedTxId );
802
current == null ? Guid.
Empty
: current.DistributedTxId);
1276
newCurrent == null ? Guid.
Empty
: newCurrent.DistributedTxId);
1279
throw TransactionException.Create(SR.GetString(SR.TraceSourceBase), e.Message, e, newCurrent == null ? Guid.
Empty
: newCurrent.DistributedTxId);
System\Transactions\TransactionState.cs (22)
868
return Guid.
Empty
;
1452
Debug.Assert(tx.promoterType != Guid.
Empty
, "InternalTransaction.PromoterType was not set in PSPEInitialize");
1769
Debug.Assert(tx.promoterType != Guid.
Empty
, "InternalTransaction.PromoterType was not set in Phase0PSPEInitialize");
2592
return Guid.
Empty
;
2917
Debug.Assert((tx.promoterType == Guid.
Empty
) || (tx.promoterType == TransactionInterop.PromoterTypeDtc), "Promoted to MSTC but PromoterType is not TransactionInterop.PromoterTypeDtc");
3457
throw TransactionException.Create(SR.GetString(SR.TooLate), tx == null ? Guid.
Empty
: tx.DistributedTxId);
3463
throw TransactionException.Create(SR.GetString(SR.TooLate), tx == null ? Guid.
Empty
: tx.DistributedTxId);
3469
throw TransactionException.Create(SR.GetString(SR.TooLate), tx == null ? Guid.
Empty
: tx.DistributedTxId);
3475
throw TransactionException.Create(SR.GetString(SR.TooLate), tx == null ? Guid.
Empty
: tx.DistributedTxId);
3637
tx == null ? Guid.
Empty
: tx.DistributedTxId
4074
SR.GetString(SR.CannotPromoteSnapshot), null, tx == null ? Guid.
Empty
: tx.DistributedTxId);
4640
throw TransactionException.Create(SR.GetString(SR.TooLate), tx == null ? Guid.
Empty
: tx.DistributedTxId);
4650
throw TransactionException.Create(SR.GetString(SR.TooLate), tx == null ? Guid.
Empty
: tx.DistributedTxId);
4659
throw TransactionException.Create(SR.GetString(SR.TooLate), tx == null ? Guid.
Empty
: tx.DistributedTxId);
4664
throw TransactionException.Create(SR.GetString(SR.TooLate), tx == null ? Guid.
Empty
: tx.DistributedTxId);
4669
throw TransactionException.Create(SR.GetString(SR.TooLate), tx == null ? Guid.
Empty
: tx.DistributedTxId);
4743
throw TransactionException.Create(SR.GetString(SR.TooLate), tx == null ? Guid.
Empty
: tx.DistributedTxId);
4753
throw TransactionException.Create(SR.GetString(SR.TooLate), tx == null ? Guid.
Empty
: tx.DistributedTxId);
4762
throw TransactionException.Create(SR.GetString(SR.TooLate), tx == null ? Guid.
Empty
: tx.DistributedTxId);
4767
throw TransactionException.Create(SR.GetString(SR.TooLate), tx == null ? Guid.
Empty
: tx.DistributedTxId);
4772
throw TransactionException.Create(SR.GetString(SR.TooLate), tx == null ? Guid.
Empty
: tx.DistributedTxId);
4794
tx == null ? Guid.
Empty
: tx.DistributedTxId
System\Transactions\VolatileEnlistmentState.cs (1)
263
SR.GetString( SR.VolEnlistNoRecoveryInfo), null, enlistment == null ? Guid.
Empty
: enlistment.DistributedTxId );
System.Web (9)
AspNetEventSource.cs (1)
62
if (ActivityIdHelper.Instance == null || _writeEventWithRelatedActivityIdCoreDel == null || iisActivityId == Guid.
Empty
) {
Hosting\ISAPIWorkerRequest.cs (1)
1697
_traceId = Guid.
Empty
;
Management\WebEvents.cs (3)
128
Guid _id = Guid.
Empty
;
224
if (_id == Guid.
Empty
) {
226
if (_id == Guid.
Empty
) {
OutputCacheModule.cs (1)
1257
Guid cachedVaryId = (cachedVary != null) ? cachedVary.CachedVaryId : Guid.
Empty
;
RootedObjects.cs (1)
220
Debug.Assert(_requestActivityId != Guid.
Empty
);
ThreadContext.cs (2)
82
if (g != Guid.
Empty
) {
196
if (g != Guid.
Empty
) {
System.Windows.Forms (32)
winforms\Managed\System\WinForms\AxHost.cs (6)
3962
if (rval == null || riid.Equals(Guid.
Empty
))
6159
if (rval == null || riid.Equals(Guid.
Empty
))
6988
if (!Guid.
Empty
.Equals(g)) {
7081
if (ippb == null) return Guid.
Empty
;
7092
return Guid.
Empty
;
7286
if (!Guid.
Empty
.Equals(g)) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2AboutBoxPropertyDescriptor.cs (1)
164
Guid g = Guid.
Empty
;
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2ComponentEditor.cs (4)
24
Guid guid = Guid.
Empty
;
26
if ((hr == NativeMethods.S_OK) && !guid.Equals(Guid.
Empty
)) {
64
Guid guid = Guid.
Empty
;
67
if (!guid.Equals(Guid.
Empty
)) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IPerPropertyBrowsingHandler.cs (3)
45
return Guid.
Empty
;
72
bool validPropPage = !Guid.
Empty
.Equals(GetPropertyPageGuid(target, sender.DISPID));
170
if (!Guid.
Empty
.Equals(g)){
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IProvidePropertyBuilderHandler.cs (1)
42
strGuidBldr = Guid.
Empty
.ToString();
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (2)
876
Guid g = Guid.
Empty
;
1248
Guid g = Guid.
Empty
;
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (5)
184
Guid g = Guid.
Empty
;
235
bool dontProcess = typeGuid != Guid.
Empty
&& processedLibraries != null && processedLibraries.Contains(typeGuid);
263
if (typeGuid != Guid.
Empty
) {
289
Guid g = Guid.
Empty
;
403
if (!Guid.
Empty
.Equals(g)){
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\ComNativeDescriptor.cs (2)
165
Guid g = Guid.
Empty
;
200
Guid g = Guid.
Empty
;
winforms\Managed\System\WinForms\Control.cs (3)
16828
Guid g = Guid.
Empty
;
17770
: this(obj, addRefIntPtr, Guid.
Empty
) {
17808
if (iid != Guid.
Empty
) {
winforms\Managed\System\WinForms\FileDialogCustomPlace.cs (2)
24
private Guid _knownFolderGuid = Guid.
Empty
;
49
this._knownFolderGuid = Guid.
Empty
;
winforms\Managed\System\WinForms\HtmlDocument.cs (1)
557
Guid g = Guid.
Empty
;
winforms\Managed\System\WinForms\HtmlElement.cs (1)
606
Guid g = Guid.
Empty
;
winforms\Managed\System\WinForms\RichTextBox.cs (1)
3839
if (realClsid == Guid.
Empty
)
System.Workflow.Activities (16)
Common\CompModHelpers.cs (1)
1248
while (contextGuid == Guid.
Empty
&& contextActivity.Parent != null)
Delay.cs (4)
120
if (this.SubscriptionID != Guid.
Empty
)
287
System.Diagnostics.Debug.Assert(this.SubscriptionID != Guid.
Empty
);
336
System.Diagnostics.Debug.Assert(this.SubscriptionID != Guid.
Empty
);
367
this.SubscriptionID = Guid.
Empty
;
Executors\WorkflowWebService.cs (1)
153
Guid workflowInstanceId = Guid.
Empty
;
InvokeSchedule.cs (2)
43
public static readonly DependencyProperty InstanceIdProperty = DependencyProperty.Register("InstanceId", typeof(Guid), typeof(InvokeWorkflowActivity), new PropertyMetadata(Guid.
Empty
));
177
if (instanceId == Guid.
Empty
)
LocalService\MessageEventSubscriptionService.cs (1)
49
: this(queueName, Guid.
Empty
, interfaceType, operation, subscriptionId)
LocalService\MethodMessage.cs (2)
95
if (callbackCookie != Guid.
Empty
)
110
callbackCookie = Guid.
Empty
;
LocalService\WorkflowMessageEventArgs.cs (1)
94
: this(Guid.
Empty
, null, null, false)
StateMachineWorkflowInstance.cs (1)
41
if (instanceId == Guid.
Empty
)
Task.cs (3)
539
childStateInfo.RunId = Guid.
Empty
;
588
childStateInfo.RunId = Guid.
Empty
;
823
if (this[i, false].RunId != Guid.
Empty
)
System.Workflow.ComponentModel (9)
AuthoringOM\Activity.cs (1)
155
public static readonly DependencyProperty ActivityContextGuidProperty = DependencyProperty.RegisterAttached("ActivityContextGuid", typeof(Guid), typeof(Activity), new PropertyMetadata(Guid.
Empty
));
AuthoringOM\ActivityExecutionContextCollection.cs (1)
375
private Guid contextGuid = Guid.
Empty
; //
AuthoringOM\Compiler\TypeSystem\DesignTimeType.cs (2)
35
private Guid guid = Guid.
Empty
;
266
if (this.guid == Guid.
Empty
)
AuthoringOM\ScheduleChanges.cs (1)
30
internal static DependencyProperty WorkflowChangeVersionProperty = DependencyProperty.RegisterAttached("WorkflowChangeVersion", typeof(Guid), typeof(WorkflowChanges), new PropertyMetadata(Guid.
Empty
, DependencyPropertyOptions.NonSerialized));
AuthoringOM\Serializer\ActivitySurrogate.cs (1)
198
private Guid workflowChangeVersion = Guid.
Empty
;
AuthoringOM\Utility.cs (2)
13
Guid result = Guid.
Empty
;
35
result = Guid.
Empty
;
Shared\CompModHelpers.cs (1)
1246
while (contextGuid == Guid.
Empty
&& contextActivity.Parent != null)
System.Workflow.Runtime (63)
AmbientEnvironment.cs (2)
132
return Guid.
Empty
;
189
System.Diagnostics.Debug.Assert(instanceId != Guid.
Empty
, "IsInServiceThread expects valid guid.");
DebugEngine\DebugController.cs (2)
275
this.programId = Guid.
Empty
;
381
this.programId = Guid.
Empty
;
Hosting\DefaultWorkflowSchedulerService.cs (6)
102
if (workflowInstanceId == Guid.
Empty
)
115
if (timerId == Guid.
Empty
)
117
if (workflowInstanceId == Guid.
Empty
)
132
if (timerId == Guid.
Empty
)
207
Trace.CorrelationManager.ActivityId = Guid.
Empty
;
286
Trace.CorrelationManager.ActivityId = Guid.
Empty
;
Hosting\ManualWorkflowSchedulerService.cs (9)
107
if (workflowInstanceId.Equals(Guid.
Empty
))
129
if (workflowInstanceId.Equals(Guid.
Empty
))
131
if (timerId.Equals(Guid.
Empty
))
143
if (timerId.Equals(Guid.
Empty
))
200
timerId = Guid.
Empty
;
207
Guid timerId = Guid.
Empty
;
246
if (workflowInstanceId.Equals(Guid.
Empty
))
340
WorkflowTrace.Host.TraceEvent(TraceEventType.Error, 0, "Timeout for instance, {0} threw exception {1}", ci == null ? Guid.
Empty
: ci.InstanceId, e.Message);
346
WorkflowTrace.Host.TraceEvent(TraceEventType.Error, 0, "Timeout for instance, {0} threw exception {1}", ci == null ? Guid.
Empty
: ci.InstanceId, e.Message);
Hosting\SqlWorkflowPersistenceService.cs (8)
155
if (ownerId == Guid.
Empty
)
195
p2.Value = Guid.
Empty
;
336
instanceId = Guid.
Empty
;
435
p2.Value = Guid.
Empty
;
577
Guid currentOwnerId = Guid.
Empty
;
686
private Guid _serviceInstanceId = Guid.
Empty
;
882
if (Guid.
Empty
== _serviceInstanceId)
942
RaiseServicesExceptionNotHandledEvent(e, Guid.
Empty
);
System\Activities\Statements\InteropEnvironment.cs (2)
115
activity.Parent == null ? Guid.
Empty
: activity.Parent.ContextGuid,
133
activity.Parent == null ? Guid.
Empty
: activity.Parent.ContextGuid,
System\Activities\Statements\InteropExecutor.cs (3)
216
Guid timerId = Guid.
Empty
;
1028
if (timerId == Guid.
Empty
)
1045
if (timerId == Guid.
Empty
)
Tracking.cs (12)
376
Guid callerInstanceId = Guid.
Empty
;
380
Guid context = GetContext(exec.RootActivity), callerContext = Guid.
Empty
, callerParentContext = Guid.
Empty
;
390
Debug.Assert(Guid.
Empty
!= trackingCallingState.CallerWorkflowInstanceId, "Instance has an ActivityCallPath but CallerInstanceId is empty");
463
Guid callerInstanceId = Guid.
Empty
;
464
Guid context = GetContext(exec.RootActivity), callerContext = Guid.
Empty
, callerParentContext = Guid.
Empty
;
476
Debug.Assert(Guid.
Empty
!= trackingCallingState.CallerWorkflowInstanceId, "Instance has an ActivityCallPath but CallerInstanceId is empty");
635
Guid parentContextGuid = Guid.
Empty
, contextGuid = Guid.
Empty
;
873
Debug.Assert(contextGuid != Guid.
Empty
, "TrackingContext is empty");
874
Debug.Assert(parentContextGuid != Guid.
Empty
, "Parent TrackingContext is empty");
Tracking\SqlTrackingQuery.cs (1)
139
inst.InvokingWorkflowInstanceId = Guid.
Empty
;
Tracking\SqlTrackingService.cs (2)
876
if ((Guid.
Empty
== _parameters.InstanceId) || (null == record))
1252
if (Guid.
Empty
!= _parameters.CallerInstanceId)
Tracking\SqlTrackingWorkflowInstance.cs (1)
45
Guid _invoker = Guid.
Empty
;
Tracking\TrackingParameters.cs (5)
17
private Guid _instanceId = Guid.
Empty
;
18
private Guid _callerInstanceId = Guid.
Empty
;
21
private Guid _contextGuid = Guid.
Empty
, _callerContextGuid = Guid.
Empty
, _callerParentContextGuid = Guid.
Empty
;
Tracking\TrackingRecord.cs (4)
54
private Guid _contextGuid = Guid.
Empty
, _parentContextGuid = Guid.
Empty
;
161
private Guid _contextGuid = Guid.
Empty
, _parentContextGuid = Guid.
Empty
;
WorkflowEnvironment.cs (1)
36
if (currentInstanceId == Guid.
Empty
)
WorkflowExecutor.cs (2)
2576
Guid parentContextGuid = Guid.
Empty
;
2836
Guid instanceId = Guid.
Empty
;
WorkflowInstance.cs (1)
32
if (instanceId == Guid.
Empty
)
WorkflowRuntime.cs (1)
254
if (instanceId == Guid.
Empty
)
WorkflowStateRollbackService.cs (1)
96
WorkflowExecutor newWorkflowExecutor = new WorkflowExecutor(Guid.
Empty
); // use a dummy guid while swapping executors
System.WorkflowServices (13)
System\ServiceModel\Activities\Description\WorkflowRuntimeEndpoint.cs (1)
51
Guid instanceId = Guid.
Empty
;
System\ServiceModel\Dispatcher\DurableInstanceContextProvider.cs (3)
61
if (instanceId != Guid.
Empty
) //Not an activation request.
100
if (instanceId == Guid.
Empty
) //Activation Request.
211
return Guid.
Empty
;
System\ServiceModel\Dispatcher\ServiceDurableInstance.cs (1)
52
: base(contextManager, persistenceProvider == null ? Guid.
Empty
: persistenceProvider.Id)
System\ServiceModel\Dispatcher\WorkflowOperationAsyncResult.cs (1)
108
Fx.Assert(!this.instanceIdGuid.Equals(Guid.
Empty
), "WorkflowOperationInvokerAsyncResut.instanceIdGuid != Guid.Empty");
System\ServiceModel\Persistence\SqlPersistenceProviderFactory.cs (1)
209
if (Guid.
Empty
== id)
System\Workflow\Activities\ContractType.cs (2)
26
private Guid guid = Guid.
Empty
;
117
if (this.guid == Guid.
Empty
)
System\Workflow\Activities\ReceiveContext.cs (2)
20
static string emptyGuid = Guid.
Empty
.ToString();
21
Guid contextId = Guid.
Empty
;
System\Workflow\Runtime\Hosting\ChannelManagerService.cs (2)
215
if (workflowId == Guid.
Empty
)
282
if (workflowId == Guid.
Empty
)
System.Xml (1)
System\Xml\XmlConvert.cs (1)
1326
result = Guid.
Empty
;
WindowsBase (1)
Base\System\Windows\SplashScreen.cs (1)
417
Guid vendor = Guid.
Empty
;
WsatUI (2)
MMCUI\ACLWrapper.cs (2)
95
this.ObjectType = Guid.
Empty
;
313
Guid objectType = Guid.
Empty
;