543 references to Empty
Aspire.Hosting.Azure.Tests (1)
ProvisioningContextTests.cs (1)
224Assert.NotEqual(Guid.Empty, principal.Id);
dotnet-svcutil-lib (72)
FrameworkFork\Microsoft.Xml\Xml\XmlConvert.cs (1)
1468result = Guid.Empty;
FrameworkFork\System.Runtime.Serialization\System\Xml\UniqueId.cs (1)
338guid = Guid.Empty;
FrameworkFork\System.ServiceModel\Internals\System\Runtime\ActionItem.cs (1)
169Guid previous = Guid.Empty;
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (2)
23private static Guid s_defaultEtwProviderId = Guid.Empty; 33s_defaultEtwProviderId = Guid.Empty;
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Diagnostics\EventTraceActivity.cs (2)
38s_empty = new EventTraceActivity(Guid.Empty); 55return new EventTraceActivity(Guid.Empty);
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Fx.cs (2)
295Guid result = Guid.Empty; 318result = Guid.Empty;
FrameworkFork\System.ServiceModel\SMDiagnostics\System\ServiceModel\Diagnostics\Activity.cs (1)
26if (activityId != Guid.Empty)
FrameworkFork\System.ServiceModel\SMDiagnostics\System\ServiceModel\Diagnostics\ExceptionUtility.cs (1)
136ExceptionUtility.s_activityId = Guid.Empty;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CommunicationObject.cs (35)
103throw TraceUtility.ThrowHelperError(this.CreateBaseClassMethodNotCalledException("OnClosing"), Guid.Empty, this); 109throw TraceUtility.ThrowHelperError(this.CreateBaseClassMethodNotCalledException("OnClosed"), Guid.Empty, this); 177throw TraceUtility.ThrowHelperError(this.CreateFaultedException(), Guid.Empty, this); 190throw TraceUtility.ThrowHelperError(this.CreateBaseClassMethodNotCalledException("OnClosing"), Guid.Empty, this); 196throw TraceUtility.ThrowHelperError(this.CreateBaseClassMethodNotCalledException("OnClosed"), Guid.Empty, this); 264throw TraceUtility.ThrowHelperError(this.CreateNotOpenException(), Guid.Empty, this); 267throw TraceUtility.ThrowHelperError(this.CreateNotOpenException(), Guid.Empty, this); 346throw TraceUtility.ThrowHelperError(this.CreateBaseClassMethodNotCalledException("OnOpening"), Guid.Empty, this); 353throw TraceUtility.ThrowHelperError(this.CreateBaseClassMethodNotCalledException("OnOpened"), Guid.Empty, this); 524throw TraceUtility.ThrowHelperError(this.CreateFaultedException(), Guid.Empty, this); 535throw TraceUtility.ThrowHelperError(CreateAbortedException(), Guid.Empty, this); 570throw TraceUtility.ThrowHelperError(this.CreateClosedException(), Guid.Empty, this); 573throw TraceUtility.ThrowHelperError(this.CreateFaultedException(), Guid.Empty, this); 601throw TraceUtility.ThrowHelperError(this.CreateClosedException(), Guid.Empty, this); 604throw TraceUtility.ThrowHelperError(this.CreateClosedException(), Guid.Empty, this); 607throw TraceUtility.ThrowHelperError(this.CreateFaultedException(), Guid.Empty, this); 627throw TraceUtility.ThrowHelperError(this.CreateImmutableException(), Guid.Empty, this); 630throw TraceUtility.ThrowHelperError(this.CreateImmutableException(), Guid.Empty, this); 633throw TraceUtility.ThrowHelperError(this.CreateClosedException(), Guid.Empty, this); 636throw TraceUtility.ThrowHelperError(this.CreateFaultedException(), Guid.Empty, this); 653throw TraceUtility.ThrowHelperError(this.CreateImmutableException(), Guid.Empty, this); 656throw TraceUtility.ThrowHelperError(this.CreateImmutableException(), Guid.Empty, this); 659throw TraceUtility.ThrowHelperError(this.CreateClosedException(), Guid.Empty, this); 662throw TraceUtility.ThrowHelperError(this.CreateClosedException(), Guid.Empty, this); 665throw TraceUtility.ThrowHelperError(this.CreateFaultedException(), Guid.Empty, this); 679throw TraceUtility.ThrowHelperError(this.CreateNotOpenException(), Guid.Empty, this); 682throw TraceUtility.ThrowHelperError(this.CreateNotOpenException(), Guid.Empty, this); 688throw TraceUtility.ThrowHelperError(this.CreateClosedException(), Guid.Empty, this); 691throw TraceUtility.ThrowHelperError(this.CreateClosedException(), Guid.Empty, this); 694throw TraceUtility.ThrowHelperError(this.CreateFaultedException(), Guid.Empty, this); 704throw TraceUtility.ThrowHelperError(this.CreateNotOpenException(), Guid.Empty, this); 714throw TraceUtility.ThrowHelperError(this.CreateNotOpenException(), Guid.Empty, this); 717throw TraceUtility.ThrowHelperError(this.CreateNotOpenException(), Guid.Empty, this); 726throw TraceUtility.ThrowHelperError(this.CreateClosedException(), Guid.Empty, this); 729throw TraceUtility.ThrowHelperError(this.CreateFaultedException(), Guid.Empty, this);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannel.cs (5)
647Guid previousId = rpc.EventTraceActivity != null ? rpc.EventTraceActivity.ActivityId : Guid.Empty; 914if (TraceUtility.MessageFlowTracingOnly && rpc.ActivityId != Guid.Empty) 977if (rpc.ActivityId != Guid.Empty) 980DiagnosticTraceBase.ActivityId = Guid.Empty; 981rpc.ActivityId = Guid.Empty;
FrameworkFork\System.ServiceModel\System\ServiceModel\Diagnostics\ActivityIdHeader.cs (4)
36Guid guid = Guid.Empty; 71activityId = Guid.Empty; 72correlationId = Guid.Empty; 87return activityId != Guid.Empty;
FrameworkFork\System.ServiceModel\System\ServiceModel\Diagnostics\EventTraceActivityHelper.cs (1)
96guid = Guid.Empty;
FrameworkFork\System.ServiceModel\System\ServiceModel\Diagnostics\ServiceModelActivity.cs (1)
233if (activityId != Guid.Empty)
FrameworkFork\System.ServiceModel\System\ServiceModel\Diagnostics\TraceUtility.cs (4)
107return activity == null ? Guid.Empty : activity.Id; 412DiagnosticTraceBase.ActivityId = Guid.Empty; 442Guid guid = Guid.Empty; 450if (guid == Guid.Empty)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ChannelDispatcher.cs (1)
578(this.Listener != null) ? this.Listener.Uri.ToString() : string.Empty, Guid.Empty);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (2)
328else if (TraceUtility.ShouldPropagateActivity && reply != null && rpc.ResponseActivityId != Guid.Empty) 344if (rpc.ResponseActivityId != Guid.Empty)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\MessageRpc.cs (3)
133this.ResponseActivityId = Guid.Empty; 301if (Guid.Empty == DiagnosticTraceBase.ActivityId) 304if (Guid.Empty != receivedActivityId)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\ProxyRpc.cs (1)
41this.ActivityId = Guid.Empty;
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\SyncMethodInvoker.cs (2)
120if (activityId != Guid.Empty) 129if (activityId != Guid.Empty)
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\TaskMethodInvoker.cs (2)
179if (activityId != Guid.Empty) 188if (activityId != Guid.Empty)
ILAssembler (4)
GrammarVisitor.cs (4)
95private Guid _currentLanguageGuid = Guid.Empty; 96private Guid _currentLanguageVendorGuid = Guid.Empty; 97private Guid _currentDocumentTypeGuid = Guid.Empty; 402var languageGuidHandle = _currentLanguageGuid != Guid.Empty
Microsoft.AspNetCore.OutputCaching (1)
Memory\MemoryOutputCacheStore.cs (1)
144Debug.Assert(entryId != Guid.Empty);
Microsoft.Build (1)
BackEnd\BuildManager\BuildManager.cs (1)
680if (_coordinatorClient.GrantId != Guid.Empty)
Microsoft.Build.Framework (4)
Coordinator\Messages\NodeGrantMessage.cs (4)
19/// The root grant token that nested clients can use to join this grant, or <see cref="Guid.Empty"/> if 27: this(grantId: Guid.Empty, grantedNodes, ExtendedFields.None) 40(extendedFields & ExtendedFields.GrantId) != 0 || grantId == Guid.Empty, 62: Guid.Empty;
Microsoft.Build.Tasks.CodeAnalysis (4)
src\roslyn\src\Compilers\Core\MSBuildTask\CopyRefAssembly.cs (3)
44var source = Guid.Empty; 54if (source.Equals(Guid.Empty)) 64if (!source.Equals(Guid.Empty) && source.Equals(destination))
src\roslyn\src\Compilers\Core\MSBuildTask\MvidReader.cs (1)
13private static readonly Guid s_empty = Guid.Empty;
Microsoft.CodeAnalysis (3)
PEWriter\FullMetadataWriter.cs (2)
120get { return Guid.Empty; } 125get { return Guid.Empty; }
PEWriter\MetadataWriter.DynamicAnalysis.cs (1)
103if (guid == Guid.Empty)
Microsoft.CodeAnalysis.CSharp (1)
Binder\Binder_Expressions.cs (1)
7222guidString = System.Guid.Empty.ToString("D");
Microsoft.CodeAnalysis.Features (8)
CodeLens\CodeLensHelpers.cs (1)
35guid = Guid.Empty;
EditAndContinue\DebuggingSession.cs (4)
273/// The MVID is <see cref="Guid.Empty"/> if either the project is not built, or the MVID can't be read from the module binary. 292return (Mvid: Guid.Empty, Error: null); 297return (Mvid: Guid.Empty, Error: Diagnostic.Create(descriptor, Location.None, [outputs.AssemblyDisplayPath, e.Message])); 481if (mvid == Guid.Empty)
EditAndContinue\EditSession.cs (1)
1194if (mvid == Guid.Empty)
Emit\CompilationOutputs.cs (2)
68/// Returns <see cref="Guid.Empty"/> if the assembly is not available. 75return Guid.Empty;
Microsoft.CodeAnalysis.Workspaces (5)
Rename\ConflictEngine\ConflictResolver.cs (1)
412.OrderBy(l => l.IsInSource ? solution.GetDocumentId(l.SourceTree)!.Id : Guid.Empty)
Workspace\IsolatedAnalyzerReferenceSet.cs (1)
52return Guid.Empty;
Workspace\Solution\DocumentId.cs (1)
54if (id == Guid.Empty)
Workspace\Solution\ProjectId.cs (1)
61if (id == Guid.Empty)
Workspace\Solution\SolutionId.cs (1)
45if (id == Guid.Empty)
Microsoft.CSharp (4)
Microsoft\CSharp\RuntimeBinder\ComInterop\ComEventsSink.Extended.cs (2)
66_iidSourceItf = Guid.Empty; 89if (sink._iidSourceItf == Guid.Empty)
Microsoft\CSharp\RuntimeBinder\ComInterop\ComRuntimeHelpers.cs (1)
329Guid empty = Guid.Empty;
Microsoft\CSharp\RuntimeBinder\ComInterop\IDispatchComObject.cs (1)
122Guid emptyRiid = Guid.Empty;
Microsoft.Diagnostics.NETCore.Client (4)
DiagnosticsClient\DiagnosticsClient.cs (2)
704if (profilerGuid == null || profilerGuid == Guid.Empty) 756if (profilerGuid == null || profilerGuid == Guid.Empty)
DiagnosticsIpc\IpcAdvertise.cs (1)
117public Guid RuntimeInstanceCookie { get; } = Guid.Empty;
DiagnosticsServerRouter\DiagnosticsServerRouterFactory.cs (1)
1206_runtimeInstanceId = Guid.Empty;
Microsoft.Extensions.AI.Abstractions.Tests (2)
test\Shared\JsonSchemaExporter\TestTypes.cs (2)
98yield return new TestData<Guid>(Guid.Empty, """{"type":"string","format":"uuid"}"""); 117yield return new TestData<Guid?>(Guid.Empty, """{"type":["string","null"],"format":"uuid"}""");
Microsoft.Extensions.Caching.Hybrid.Tests (2)
LocalInvalidationTests.cs (2)
63Guid lastValue = Guid.Empty; 83if (lastValue != Guid.Empty)
Microsoft.Extensions.DataIngestion.Tests (3)
IngestionPipelineTests.cs (3)
104Assert.NotEqual(Guid.Empty, (Guid)retrieved[i]["key"]!); 138Assert.NotEqual(Guid.Empty, (Guid)retrieved[i]["key"]!); 169Assert.NotEqual(Guid.Empty, (Guid)retrieved[i]["key"]!);
Microsoft.Interop.ComInterfaceGenerator (2)
ComInterfaceInfo.cs (2)
109guid ?? Guid.Empty, 168Guid.Empty,
Microsoft.NET.Sdk.Publish.Tasks (2)
MsDeploy\VsMSDeployObject.cs (1)
89if (string.Equals(Guid.Empty.ToString(), vSMSDeployObject.UserName, StringComparison.OrdinalIgnoreCase))
Tasks\Http\HttpClientExtensions.cs (1)
16private static readonly string s_azureADUserName = Guid.Empty.ToString();
Microsoft.Private.Windows.Core (2)
Windows\Win32\System\Com\IDispatch.cs (2)
30Guid riid = Guid.Empty; 94Guid guid = Guid.Empty;
Microsoft.TemplateSearch.Common (1)
TemplateDiscoveryMetadata\BlobStorageTemplateInfo.cs (1)
99Guid ITemplateLocator.GeneratorId => Guid.Empty;
Microsoft.TestPlatform.AdapterUtilities (2)
TestIdProvider.cs (2)
15private Guid _id = Guid.Empty; 101if (_id != Guid.Empty)
Microsoft.TestPlatform.CrossPlatEngine (2)
Execution\MSTestV1TelemetryHelper.cs (2)
46var testType = testResult!.GetPropertyValue(s_testTypeProperty, Guid.Empty); 47var hasTestType = testType != Guid.Empty;
Microsoft.TestPlatform.Extensions.BlameDataCollector (1)
BlameTestObject.cs (1)
34Id = Guid.Empty;
Microsoft.VisualStudio.TestPlatform.Common (2)
DataCollection\DataCollectionAttachmentManager.cs (1)
348if (!testCaseId.Equals(Guid.Empty))
DataCollection\DataCollectionTelemetryManager.cs (1)
89return Guid.TryParse(profilerGuid, out var guid) ? guid : Guid.Empty;
Microsoft.VisualStudio.TestPlatform.Extensions.Html.TestLogger (6)
HtmlLogger.cs (6)
250if (parentExecutionId == Guid.Empty) 398? Guid.Empty 399: testResult.GetPropertyValue(parentExecutionIdProperty, Guid.Empty); 411var executionId = Guid.Empty; 415executionId = testResult.GetPropertyValue(executionIdProperty, Guid.Empty); 418return executionId.Equals(Guid.Empty) ? Guid.NewGuid() : executionId;
Microsoft.VisualStudio.TestPlatform.Extensions.Trx.TestLogger (28)
ObjectModel\TestEntry.cs (1)
110if (ParentExecutionId != Guid.Empty)
ObjectModel\TestExecId.cs (1)
37public static TestExecId Empty { get; } = new TestExecId(Guid.Empty);
ObjectModel\TestId.cs (1)
49public static TestId Empty { get; } = new TestId(Guid.Empty);
ObjectModel\TestLink.cs (1)
19if (id == Guid.Empty)
ObjectModel\TestListCategoryId.cs (1)
37public static TestListCategoryId Root { get; } = new TestListCategoryId(Guid.Empty);
ObjectModel\TestResult.cs (4)
119if (ExecutionId != Guid.Empty) 121if (ParentExecutionId != Guid.Empty) 240TPDebug.Assert(!Guid.Empty.Equals(executionId), "ExecutionId is empty"); 241TPDebug.Assert(!Guid.Empty.Equals(testId), "TestId is empty");
ObjectModel\TestRun.cs (1)
81EqtAssert.IsTrue(!Guid.Empty.Equals(runId), "Can't use Guid.Empty for run ID.");
ObjectModel\TestType.cs (1)
20if (id == Guid.Empty)
TrxLogger.cs (4)
315if (parentTestResult == null || parentTestElement == null || parentExecutionId == Guid.Empty) 319parentExecutionId = Guid.Empty; 641if (executionId != Guid.Empty) 815if (executionId != Guid.Empty)
Utility\Converter.cs (12)
185CollectorDataEntry collectorEntry = ToCollectorEntry(attachmentSet, Guid.Empty, testRun, trxFileDirectory); 208IList<string> testResultFiles = ToResultFiles(attachmentSet, Guid.Empty, testRun, trxFileDirectory); 295Guid testId = Guid.Empty; 302testId = rockSteadyTestCase.GetPropertyValue(tmiTestIdProperty, Guid.Empty); 305if (Guid.Empty.Equals(testId)) 323Guid.Empty : 324testResult.GetPropertyValue(parentExecutionIdProperty, Guid.Empty); 337var executionId = Guid.Empty; 339executionId = testResult.GetPropertyValue(executionIdProperty, Guid.Empty); 341return executionId.Equals(Guid.Empty) ? Guid.NewGuid() : executionId; 444if (!testResultExecutionId.Equals(Guid.Empty)) 500if (!Equals(testResultExecutionId, Guid.Empty))
XML\XmlPersistence.cs (1)
80private static readonly string EmptyGuidString = Guid.Empty.ToString();
Microsoft.VisualStudio.TestPlatform.ObjectModel (19)
DataCollector\Common\RequestId.cs (1)
20public static readonly RequestId Empty = new(Guid.Empty);
DataCollector\Common\Session.cs (1)
26public static SessionId Empty { get; } = new SessionId(Guid.Empty);
DataCollector\Common\TestExecId.cs (1)
27public static TestExecId Empty { get; } = new TestExecId(Guid.Empty);
DataCollector\Events\SessionEvents.cs (3)
28: this(new DataCollectionContext(new SessionId(Guid.Empty)), new Dictionary<string, object?>()) 41: this(new DataCollectionContext(new SessionId(Guid.Empty)), properties) 111public SessionEndEventArgs() : this(new DataCollectionContext(new SessionId(Guid.Empty)))
DataCollector\Events\TestCaseEvents.cs (4)
66: this(context, Guid.Empty, null, false) 146public TestCaseStartEventArgs(TestCase testElement) : this(new DataCollectionContext(new SessionId(Guid.Empty)), testElement) 227public TestCaseEndEventArgs(TestCase testElement, TestOutcome testOutcome) : this(new DataCollectionContext(new SessionId(Guid.Empty)), testElement, testOutcome) 352: this(new DataCollectionContext(new SessionId(Guid.Empty)), testResult)
TestCase.cs (8)
22private Guid _defaultId = Guid.Empty; 61_defaultId = Guid.Empty; 77if (_id == Guid.Empty) 79if (_defaultId == Guid.Empty) 136_defaultId = Guid.Empty; 210_defaultId = Guid.Empty; 216_defaultId = Guid.Empty; 275Id = Guid.Empty;
Utilities\EqtHash.cs (1)
35TPDebug.Assert(Guid.Empty.ToByteArray().Length == 16, "Expected Guid to be 16 bytes");
Mono.Cecil (3)
Mono.Cecil\AssemblyReader.cs (1)
3775 marshaler.guid = !string.IsNullOrEmpty (guid_value) ? new Guid (guid_value) : Guid.Empty;
Mono.Cecil\AssemblyWriter.cs (2)
111 module.Mvid = Guid.Empty; 3305 WriteUTF8String (marshaler.guid != Guid.Empty ? marshaler.guid.ToString () : string.Empty);
Mono.Cecil.Pdb (3)
Microsoft.Cci.Pdb\PdbFile.cs (3)
553Guid languageGuid = Guid.Empty; 554Guid vendorGuid = Guid.Empty; 555Guid checksumAlgoGuid = Guid.Empty;
NuGet.Commands (1)
RestoreCommand\OriginalCaseGlobalPackageFolder.cs (1)
35this(request, Guid.Empty)
NuGet.Common (5)
ActivityCorrelationId.cs (1)
27private static readonly string DefaultCorrelationId = Guid.Empty.ToString();
Telemetry\TelemetryActivity.cs (4)
125if (ParentId != Guid.Empty) 130if (OperationId != Guid.Empty) 161return Create(Guid.Empty, new TelemetryEvent(eventName)); 169return Create(Guid.Empty, telemetryEvent);
NuGet.PackageManagement (1)
PackagePreFetcherResult.cs (1)
193if (parentId != Guid.Empty)
NuGet.Protocol (1)
Utility\OfflineFeedUtility.cs (1)
213parentId: Guid.Empty);
Shared.Tests (2)
JsonSchemaExporter\TestTypes.cs (2)
98yield return new TestData<Guid>(Guid.Empty, """{"type":"string","format":"uuid"}"""); 117yield return new TestData<Guid?>(Guid.Empty, """{"type":["string","null"],"format":"uuid"}""");
System.Data.OleDb (4)
DbPropSet.cs (1)
226Debug.Assert(Guid.Empty != propertySet, "invalid propertySet");
OleDb_Util.cs (1)
585internal static readonly Guid IID_NULL = Guid.Empty;
OleDbCommand.cs (1)
982tableID.uGuid = Guid.Empty;
OleDbDataReader.cs (1)
553info.guid = Guid.Empty;
System.Diagnostics.EventLog (2)
System\Diagnostics\Reader\EventTask.cs (1)
51_guid = Guid.Empty;
System\Diagnostics\Reader\NativeWrapper.cs (1)
1164return (val.GuidReference == IntPtr.Zero) ? Guid.Empty : Marshal.PtrToStructure<Guid>(val.GuidReference);
System.Diagnostics.TextWriterTraceListener (1)
System\Diagnostics\XmlWriterTraceListener.cs (1)
243InternalWrite(eventCache != null ? Trace.CorrelationManager.ActivityId : Guid.Empty);
System.DirectoryServices (66)
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchemaClass.cs (2)
988SetProperty(PropertyManager.SchemaIDGuid, (value.Equals(Guid.Empty)) ? null : value.ToByteArray()); 990_schemaGuidBinaryForm = (value.Equals(Guid.Empty)) ? null : value.ToByteArray();
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchemaProperty.cs (2)
1076SetProperty(PropertyManager.SchemaIDGuid, (value.Equals(Guid.Empty)) ? null : value.ToByteArray()); 1078_schemaGuidBinaryForm = (value.Equals(Guid.Empty)) ? null : value.ToByteArray();
System\DirectoryServices\ActiveDirectory\ADAMInstance.cs (1)
767if (cachedNtdsaObjectGuid == Guid.Empty)
System\DirectoryServices\ActiveDirectory\DirectoryServer.cs (2)
24internal Guid cachedNtdsaObjectGuid = Guid.Empty; 694Guid guid = Guid.Empty;
System\DirectoryServices\ActiveDirectory\DomainController.cs (1)
829if (cachedNtdsaObjectGuid.Equals(Guid.Empty))
System\DirectoryServices\ActiveDirectorySecurity.cs (58)
261Guid.Empty, 265Guid.Empty); 301Guid.Empty, 305Guid.Empty); 533Guid.Empty, 537Guid.Empty 555Guid.Empty) 568Guid.Empty, 572Guid.Empty) 590Guid.Empty) 604Guid.Empty, 680Guid.Empty, 684Guid.Empty 697Guid.Empty, 701Guid.Empty) 714Guid.Empty, 736Guid.Empty, // all child objects 740Guid.Empty) 756Guid.Empty) 768Guid.Empty, // all child objects 772Guid.Empty) 789Guid.Empty) 802Guid.Empty, // all child objects 841Guid.Empty, // all child objects 845Guid.Empty) 861Guid.Empty) 873Guid.Empty, // all child objects 877Guid.Empty) 894Guid.Empty) 907Guid.Empty, // all child objects 946Guid.Empty, // all properties 950Guid.Empty) 967Guid.Empty) 980Guid.Empty, // all properties 984Guid.Empty) 1002Guid.Empty) 1016Guid.Empty, // all properties 1063Guid.Empty) 1081Guid.Empty) 1117Guid.Empty, // all extended rights 1121Guid.Empty) 1137Guid.Empty) 1149Guid.Empty, // all extended rights 1153Guid.Empty) 1170Guid.Empty) 1183Guid.Empty, // all extended rights 1222Guid.Empty, 1226Guid.Empty) 1238Guid.Empty, 1242Guid.Empty) 1255Guid.Empty, 1278Guid.Empty, 1282Guid.Empty 1300Guid.Empty) 1313Guid.Empty, 1317Guid.Empty) 1335Guid.Empty) 1349Guid.Empty,
System.DirectoryServices.AccountManagement (1)
System\DirectoryServices\AccountManagement\AD\ADStoreKey.cs (1)
22Debug.Assert(guid != Guid.Empty);
System.Drawing.Common (2)
System\Drawing\Image.cs (2)
231if (encoder == Guid.Empty) 248if (encoder == Guid.Empty)
System.IO.FileSystem.AccessControl (12)
System\Security\AccessControl\DirectoryObjectSecurity.cs (12)
306SecurityDescriptor.DiscretionaryAcl.RemoveAccess(AccessControlType.Deny, sid, -1, InheritanceFlags.ContainerInherit, 0, ObjectAceFlags.None, Guid.Empty, Guid.Empty); 317result = SecurityDescriptor.DiscretionaryAcl.RemoveAccess(AccessControlType.Allow, sid, -1, InheritanceFlags.ContainerInherit, 0, ObjectAceFlags.None, Guid.Empty, Guid.Empty); 351SecurityDescriptor.DiscretionaryAcl.RemoveAccess(AccessControlType.Allow, sid, -1, InheritanceFlags.ContainerInherit, 0, ObjectAceFlags.None, Guid.Empty, Guid.Empty); 362result = SecurityDescriptor.DiscretionaryAcl.RemoveAccess(AccessControlType.Deny, sid, -1, InheritanceFlags.ContainerInherit, 0, ObjectAceFlags.None, Guid.Empty, Guid.Empty); 445SecurityDescriptor.SystemAcl.RemoveAudit(AuditFlags.Failure | AuditFlags.Success, sid, -1, InheritanceFlags.ContainerInherit, 0, ObjectAceFlags.None, Guid.Empty, Guid.Empty); 456result = SecurityDescriptor.SystemAcl.RemoveAudit(AuditFlags.Failure | AuditFlags.Success, sid, -1, InheritanceFlags.ContainerInherit, 0, ObjectAceFlags.None, Guid.Empty, Guid.Empty);
System.Linq.Expressions (2)
System\Linq\Expressions\SymbolDocumentInfo.cs (2)
28public virtual Guid Language => Guid.Empty; 33public virtual Guid LanguageVendor => Guid.Empty;
System.Net.Http (1)
System\Net\Http\DiagnosticsHandler.cs (1)
110Guid loggingRequestId = Guid.Empty;
System.Private.CoreLib (21)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\ActivityTracker.cs (4)
80activityId = Guid.Empty; 81relatedActivityId = Guid.Empty; 156activityId = Guid.Empty; 592EventSource.SetCurrentThreadActivityId(Guid.Empty);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (10)
1369Guid activityId = Guid.Empty; 1370Guid relActivityId = Guid.Empty; 1384if (activityId != Guid.Empty) 1386if (relActivityId != Guid.Empty) 1663if (eventSourceGuid == Guid.Empty) 2016Guid activityId = Guid.Empty; 2017Guid relatedActivityId = Guid.Empty; 2033if (activityId != Guid.Empty) 2035if (relatedActivityId != Guid.Empty) 4201if (_activityId == Guid.Empty)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\TraceLoggingEventSource.cs (5)
291relatedActivityId == Guid.Empty ? null : pRelated, 625Guid activityId = Guid.Empty; 626Guid relatedActivityId = Guid.Empty; 640if (activityId != Guid.Empty) 642if (relatedActivityId != Guid.Empty)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\SortVersion.cs (1)
30if (customVersion == Guid.Empty)
System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.cs (1)
233return Guid.Empty;
System.Private.DataContractSerialization (1)
System\Xml\UniqueId.cs (1)
269guid = Guid.Empty;
System.Private.Windows.Core (2)
Windows\Win32\System\Com\IDispatch.cs (2)
30Guid riid = Guid.Empty; 94Guid guid = Guid.Empty;
System.Private.Windows.GdiPlus (3)
System\Drawing\CoreImageExtensions.cs (2)
16if (encoder == Guid.Empty) 40if (format == PInvokeCore.ImageFormatJPEG || encoder == Guid.Empty)
System\Drawing\ImageCodecInfoHelper.cs (1)
30return Guid.Empty;
System.Private.Xml (1)
System\Xml\XmlConvert.cs (1)
1270result = Guid.Empty;
System.Reflection.Metadata (1)
System\Reflection\Metadata\Ecma335\MetadataBuilder.Heaps.cs (1)
390if (guid == Guid.Empty)
System.Reflection.MetadataLoadContext (3)
System\Reflection\TypeLoading\Types\RoFunctionPointerType.cs (1)
194public sealed override Guid GUID => Guid.Empty;
System\Reflection\TypeLoading\Types\RoGenericParameterType.cs (1)
62public sealed override Guid GUID => Guid.Empty;
System\Reflection\TypeLoading\Types\RoHasElementType.cs (1)
75public sealed override Guid GUID => Guid.Empty;
System.Security.AccessControl (36)
System\Security\AccessControl\ACL.cs (28)
1002objectType = Guid.Empty; 1003inheritedObjectType = Guid.Empty; 1024Guid objectType = (ace is ObjectAce) ? ((ObjectAce)ace).ObjectAceType : Guid.Empty; 1025Guid newObjectType = (newAce is ObjectAce) ? ((ObjectAce)newAce).ObjectAceType : Guid.Empty; 1032Guid inheritedObjectType = (ace is ObjectAce) ? ((ObjectAce)ace).InheritedObjectAceType : Guid.Empty; 1033Guid newInheritedObjectType = (newAce is ObjectAce) ? ((ObjectAce)newAce).InheritedObjectAceType : Guid.Empty; 1894Guid ps_ObjectAceType = Guid.Empty; 1895Guid ps_InheritedObjectAceType = Guid.Empty; 1901Guid as_ObjectAceType = Guid.Empty; 1902Guid as_InheritedObjectAceType = Guid.Empty; 1908Guid ms_ObjectAceType = Guid.Empty; 1909Guid ms_InheritedObjectAceType = Guid.Empty; 2311AddQualifiedAce(sid, AceQualifier.SystemAudit, accessMask, GenericAce.AceFlagsFromAuditFlags(auditFlags) | GenericAce.AceFlagsFromInheritanceFlags(inheritanceFlags, propagationFlags), ObjectAceFlags.None, Guid.Empty, Guid.Empty); 2317SetQualifiedAce(sid, AceQualifier.SystemAudit, accessMask, GenericAce.AceFlagsFromAuditFlags(auditFlags) | GenericAce.AceFlagsFromInheritanceFlags(inheritanceFlags, propagationFlags), ObjectAceFlags.None, Guid.Empty, Guid.Empty); 2322return RemoveQualifiedAces(sid, AceQualifier.SystemAudit, accessMask, GenericAce.AceFlagsFromAuditFlags(auditFlags) | GenericAce.AceFlagsFromInheritanceFlags(inheritanceFlags, propagationFlags), true, ObjectAceFlags.None, Guid.Empty, Guid.Empty); 2327RemoveQualifiedAcesSpecific(sid, AceQualifier.SystemAudit, accessMask, GenericAce.AceFlagsFromAuditFlags(auditFlags) | GenericAce.AceFlagsFromInheritanceFlags(inheritanceFlags, propagationFlags), ObjectAceFlags.None, Guid.Empty, Guid.Empty); 2437AddQualifiedAce(sid, accessType == AccessControlType.Allow ? AceQualifier.AccessAllowed : AceQualifier.AccessDenied, accessMask, GenericAce.AceFlagsFromInheritanceFlags(inheritanceFlags, propagationFlags), ObjectAceFlags.None, Guid.Empty, Guid.Empty); 2445SetQualifiedAce(sid, accessType == AccessControlType.Allow ? AceQualifier.AccessAllowed : AceQualifier.AccessDenied, accessMask, GenericAce.AceFlagsFromInheritanceFlags(inheritanceFlags, propagationFlags), ObjectAceFlags.None, Guid.Empty, Guid.Empty); 2452return RemoveQualifiedAces(sid, accessType == AccessControlType.Allow ? AceQualifier.AccessAllowed : AceQualifier.AccessDenied, accessMask, GenericAce.AceFlagsFromInheritanceFlags(inheritanceFlags, propagationFlags), false, ObjectAceFlags.None, Guid.Empty, Guid.Empty); 2459RemoveQualifiedAcesSpecific(sid, accessType == AccessControlType.Allow ? AceQualifier.AccessAllowed : AceQualifier.AccessDenied, accessMask, GenericAce.AceFlagsFromInheritanceFlags(inheritanceFlags, propagationFlags), ObjectAceFlags.None, Guid.Empty, Guid.Empty);
System\Security\AccessControl\Rules.cs (8)
150if ((!objectType.Equals(Guid.Empty)) && ((accessMask & ObjectAce.AccessMaskWithObjectType) != 0)) 157_objectType = Guid.Empty; 160if ((!inheritedObjectType.Equals(Guid.Empty)) && ((inheritanceFlags & InheritanceFlags.ContainerInherit) != 0)) 167_inheritedObjectType = Guid.Empty; 230if ((!objectType.Equals(Guid.Empty)) && ((accessMask & ObjectAce.AccessMaskWithObjectType) != 0)) 237_objectType = Guid.Empty; 240if ((!inheritedObjectType.Equals(Guid.Empty)) && ((inheritanceFlags & InheritanceFlags.ContainerInherit) != 0)) 247_inheritedObjectType = Guid.Empty;
System.ServiceModel.Primitives (70)
Internals\System\Runtime\ActionItem.cs (2)
234Guid previous = Guid.Empty; 278Guid previous = Guid.Empty;
Internals\System\Runtime\Diagnostics\EventTraceActivity.cs (3)
37s_empty = new EventTraceActivity(Guid.Empty); 52if (guid == Guid.Empty) 59Trace.CorrelationManager.ActivityId = Guid.Empty;
Internals\System\Runtime\Fx.cs (2)
313Guid result = Guid.Empty; 336result = Guid.Empty;
SMDiagnostics\System\ServiceModel\Diagnostics\ExceptionUtility.cs (1)
92ExceptionUtility.s_activityId = Guid.Empty;
System\ServiceModel\Channels\CommunicationObject.cs (35)
176throw TraceUtility.ThrowHelperError(CreateBaseClassMethodNotCalledException("OnClosing"), Guid.Empty, this); 184throw TraceUtility.ThrowHelperError(CreateBaseClassMethodNotCalledException("OnClosed"), Guid.Empty, this); 257throw TraceUtility.ThrowHelperError(CreateFaultedException(), Guid.Empty, this); 271throw TraceUtility.ThrowHelperError(CreateBaseClassMethodNotCalledException("OnClosing"), Guid.Empty, this); 279throw TraceUtility.ThrowHelperError(CreateBaseClassMethodNotCalledException("OnClosed"), Guid.Empty, this); 377throw TraceUtility.ThrowHelperError(CreateNotOpenException(), Guid.Empty, this); 380throw TraceUtility.ThrowHelperError(CreateNotOpenException(), Guid.Empty, this); 528throw TraceUtility.ThrowHelperError(CreateBaseClassMethodNotCalledException(nameof(OnOpening)), Guid.Empty, this); 539throw TraceUtility.ThrowHelperError(CreateBaseClassMethodNotCalledException(nameof(OnOpened)), Guid.Empty, this); 761throw TraceUtility.ThrowHelperError(CreateFaultedException(), Guid.Empty, this); 772throw TraceUtility.ThrowHelperError(CreateAbortedException(), Guid.Empty, this); 807throw TraceUtility.ThrowHelperError(CreateClosedException(), Guid.Empty, this); 810throw TraceUtility.ThrowHelperError(CreateFaultedException(), Guid.Empty, this); 838throw TraceUtility.ThrowHelperError(CreateClosedException(), Guid.Empty, this); 841throw TraceUtility.ThrowHelperError(CreateClosedException(), Guid.Empty, this); 844throw TraceUtility.ThrowHelperError(CreateFaultedException(), Guid.Empty, this); 864throw TraceUtility.ThrowHelperError(CreateImmutableException(), Guid.Empty, this); 867throw TraceUtility.ThrowHelperError(CreateImmutableException(), Guid.Empty, this); 870throw TraceUtility.ThrowHelperError(CreateClosedException(), Guid.Empty, this); 873throw TraceUtility.ThrowHelperError(CreateFaultedException(), Guid.Empty, this); 890throw TraceUtility.ThrowHelperError(CreateImmutableException(), Guid.Empty, this); 893throw TraceUtility.ThrowHelperError(CreateImmutableException(), Guid.Empty, this); 896throw TraceUtility.ThrowHelperError(CreateClosedException(), Guid.Empty, this); 899throw TraceUtility.ThrowHelperError(CreateClosedException(), Guid.Empty, this); 902throw TraceUtility.ThrowHelperError(CreateFaultedException(), Guid.Empty, this); 916throw TraceUtility.ThrowHelperError(CreateNotOpenException(), Guid.Empty, this); 919throw TraceUtility.ThrowHelperError(CreateNotOpenException(), Guid.Empty, this); 925throw TraceUtility.ThrowHelperError(CreateClosedException(), Guid.Empty, this); 928throw TraceUtility.ThrowHelperError(CreateClosedException(), Guid.Empty, this); 931throw TraceUtility.ThrowHelperError(CreateFaultedException(), Guid.Empty, this); 942throw TraceUtility.ThrowHelperError(CreateNotOpenException(), Guid.Empty, this); 953throw TraceUtility.ThrowHelperError(CreateNotOpenException(), Guid.Empty, this); 956throw TraceUtility.ThrowHelperError(CreateNotOpenException(), Guid.Empty, this); 965throw TraceUtility.ThrowHelperError(CreateClosedException(), Guid.Empty, this); 968throw TraceUtility.ThrowHelperError(CreateFaultedException(), Guid.Empty, this);
System\ServiceModel\Channels\ServiceChannel.cs (5)
642Guid previousId = rpc.EventTraceActivity != null ? rpc.EventTraceActivity.ActivityId : Guid.Empty; 917if (TraceUtility.MessageFlowTracingOnly && rpc.ActivityId != Guid.Empty) 982if (rpc.ActivityId != Guid.Empty) 985DiagnosticTraceBase.ActivityId = Guid.Empty; 986rpc.ActivityId = Guid.Empty;
System\ServiceModel\Diagnostics\ActivityIdHeader.cs (4)
36Guid guid = Guid.Empty; 70activityId = Guid.Empty; 71correlationId = Guid.Empty; 86return activityId != Guid.Empty;
System\ServiceModel\Diagnostics\EventTraceActivityHelper.cs (1)
94guid = Guid.Empty;
System\ServiceModel\Diagnostics\ServiceModelActivity.cs (1)
208if (activityId != Guid.Empty)
System\ServiceModel\Diagnostics\TraceUtility.cs (4)
182DiagnosticTraceBase.ActivityId = Guid.Empty; 427Guid guid = Guid.Empty; 533Guid guid = Guid.Empty; 541if (guid == Guid.Empty)
System\ServiceModel\Dispatcher\ChannelDispatcher.cs (1)
559(Listener != null) ? Listener.Uri.ToString() : string.Empty, Guid.Empty);
System\ServiceModel\Dispatcher\DispatchOperationRuntime.cs (2)
286else if (TraceUtility.ShouldPropagateActivity && reply != null && rpc.ResponseActivityId != Guid.Empty) 302if (rpc.ResponseActivityId != Guid.Empty)
System\ServiceModel\Dispatcher\MessageRpc.cs (3)
129ResponseActivityId = Guid.Empty; 291if (Guid.Empty == DiagnosticTraceBase.ActivityId) 294if (Guid.Empty != receivedActivityId)
System\ServiceModel\Dispatcher\ProxyRpc.cs (1)
42ActivityId = Guid.Empty;
System\ServiceModel\Dispatcher\SyncMethodInvoker.cs (2)
119if (activityId != Guid.Empty) 128if (activityId != Guid.Empty)
System\ServiceModel\Dispatcher\TaskMethodInvoker.cs (2)
181if (activityId != Guid.Empty) 190if (activityId != Guid.Empty)
System\ServiceModel\Security\IssuanceTokenProviderBase.cs (1)
251throw TraceUtility.ThrowHelperError(e, Guid.Empty, this);
System.Transactions.Local (75)
System\Transactions\Enlistment.cs (3)
72Guid returnValue = Guid.Empty; 202Guid.Empty, 209Guid.Empty,
System\Transactions\EnlistmentState.cs (15)
24throw TransactionException.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId); 29throw TransactionException.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId); 34throw TransactionException.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId); 39throw TransactionException.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId); 44throw TransactionException.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId); 49throw TransactionException.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId); 54throw TransactionException.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId); 60throw TransactionException.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId); 66throw TransactionException.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId); 72throw TransactionException.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId); 78throw TransactionException.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId); 84throw TransactionException.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId); 90throw TransactionException.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId); 96throw TransactionException.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId); 102throw TransactionException.CreateEnlistmentStateException(null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId);
System\Transactions\InternalTransaction.cs (4)
37internal Guid _promoterType = Guid.Empty; 47internal Guid _distributedTransactionIdentifierNonMSDTC = Guid.Empty; 214if ((_promoterType != Guid.Empty) && (_promoterType != TransactionInterop.PromoterTypeDtc)) 225if ((_promoterType != Guid.Empty) && (_promoterType != TransactionInterop.PromoterTypeDtc))
System\Transactions\Oletx\OletxEnlistment.cs (1)
35private readonly Guid _transactionGuid = Guid.Empty;
System\Transactions\Oletx\OletxResourceManager.cs (6)
269Guid txUow = Guid.Empty; 322enlistment == null ? Guid.Empty : enlistment.DistributedTxId); 801Guid returnValue = Guid.Empty; 821Guid resourceManagerId = Guid.Empty; 833TransactionGuidString = Guid.Empty.ToString(); 848Guid rmId = Guid.Empty;
System\Transactions\Oletx\OletxTransaction.cs (5)
84Guid returnValue = Guid.Empty; 553if (TxGuid.Equals(Guid.Empty)) 566Guid returnValue = Guid.Empty; 1006Guid tempGuid = Guid.Empty; 1149if (TxGuid != Guid.Empty)
System\Transactions\Oletx\OletxTransactionManager.cs (2)
426Guid txIdentifier = Guid.Empty; 553if (resourceManagerIdentifier == Guid.Empty)
System\Transactions\Oletx\OletxVolatileEnlistment.cs (1)
588throw TransactionException.CreateTransactionStateException(null, Guid.Empty);
System\Transactions\Transaction.cs (6)
231Guid returnValue = Guid.Empty; 483if (resourceManagerIdentifier == Guid.Empty) 531if (resourceManagerIdentifier == Guid.Empty) 905if (promoterType == Guid.Empty) 944if (resourceManagerIdentifier == Guid.Empty) 990if (distributedTransactionIdentifier == Guid.Empty)
System\Transactions\TransactionException.cs (1)
19return (distributedTxId != Guid.Empty && AppSettings.IncludeDistributedTxIdInExceptionMessage);
System\Transactions\TransactionInterop.cs (3)
114Guid txIdentifier = Guid.Empty; 336Guid txIdentifier = Guid.Empty; 356xactInfo.Uow = Guid.Empty;
System\Transactions\TransactionManager.cs (2)
142if (resourceManagerIdentifier == Guid.Empty) 240if (resourceManagerIdentifier == Guid.Empty)
System\Transactions\TransactionScope.cs (3)
601current == null ? Guid.Empty : current.DistributedTxId); 628current == null ? Guid.Empty : current.DistributedTxId); 702current == null ? Guid.Empty : current.DistributedTxId);
System\Transactions\TransactionsEtwProvider.cs (1)
1406Guid guid = Guid.Empty;
System\Transactions\TransactionState.cs (21)
252return Guid.Empty; 788Debug.Assert(tx._promoterType != Guid.Empty, "InternalTransaction.PromoterType was not set in PSPEInitialize"); 1077Debug.Assert(tx._promoterType != Guid.Empty, "InternalTransaction.PromoterType was not set in Phase0PSPEInitialize"); 1829return Guid.Empty; 2145Debug.Assert((tx._promoterType == Guid.Empty) || (tx._promoterType == TransactionInterop.PromoterTypeDtc), "Promoted to MSTC but PromoterType is not TransactionInterop.PromoterTypeDtc"); 2665throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 2671throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 2677throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 2683throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 2841tx == null ? Guid.Empty : tx.DistributedTxId 3802throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 3812throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 3821throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 3826throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 3831throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 3901throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 3911throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 3920throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 3925throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 3930throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId); 3952tx == null ? Guid.Empty : tx.DistributedTxId
System\Transactions\VolatileEnlistmentState.cs (1)
72SR.VolEnlistNoRecoveryInfo, null, enlistment == null ? Guid.Empty : enlistment.DistributedTxId);
System.Windows.Forms (21)
System\Windows\Forms\ActiveX\AxHost.AxPropertyDescriptor.cs (5)
45if (!Guid.Empty.Equals(g)) 137return Guid.Empty; 140Guid rval = Guid.Empty; 154return Guid.Empty; 354if (pageGuid != Guid.Empty)
System\Windows\Forms\ComponentModel\COM2Interop\COM2ComponentEditor.cs (4)
20Guid guid = Guid.Empty; 22if (hr.Succeeded && !guid.Equals(Guid.Empty)) 58Guid guid = Guid.Empty; 60if (hr.Succeeded & !guid.Equals(Guid.Empty))
System\Windows\Forms\ComponentModel\COM2Interop\COM2IPerPropertyBrowsingHandler.cs (4)
34Guid guid = Guid.Empty; 36return hr.Succeeded ? guid : Guid.Empty; 66bool validPropPage = !Guid.Empty.Equals(GetPropertyPageGuid(propertyBrowsing, sender.DISPID)); 147if (!Guid.Empty.Equals(guid))
System\Windows\Forms\ComponentModel\COM2Interop\COM2IProvidePropertyBuilderHandler.cs (1)
34builderGuid = guid.ToString() ?? Guid.Empty.ToString();
System\Windows\Forms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (6)
175Guid guid = Guid.Empty; 232bool wasProcessed = typeGuid != Guid.Empty && s_processedLibraries.ContainsKey(typeGuid); 264if (typeGuid != Guid.Empty) 376if (!Guid.Empty.Equals(guid)) 528Guid typeGuid = Guid.Empty; 548if (typeGuid != Guid.Empty)
System\Windows\Forms\ComponentModel\COM2Interop\ComNativeDescriptor.cs (1)
128Guid guid = Guid.Empty;
System.Windows.Forms.Design (2)
System\ComponentModel\Design\MultilineStringEditor.OleCallback.cs (1)
70if (realClsid == Guid.Empty)
System\Windows\Forms\Design\DocumentDesigner.AxToolboxItem.cs (1)
287Debug.Assert(!tlbGuid.Equals(Guid.Empty), $"No valid Guid found for: {controlKey}");
System.Windows.Forms.Primitives (2)
System\Windows\Forms\FileDialogCustomPlace.cs (2)
20private Guid _knownFolderGuid = Guid.Empty; 39_knownFolderGuid = Guid.Empty;
vstest.console (6)
Internal\ConsoleLogger.cs (6)
395? Guid.Empty 396: testResult.GetPropertyValue(parentExecutionIdProperty, Guid.Empty); 408var executionId = Guid.Empty; 412executionId = testResult.GetPropertyValue(executionIdProperty, Guid.Empty); 415return executionId.Equals(Guid.Empty) ? Guid.NewGuid() : executionId; 530if (parentExecutionId != Guid.Empty)
vstest.console.arm64 (6)
src\vstest\src\vstest.console\Internal\ConsoleLogger.cs (6)
395? Guid.Empty 396: testResult.GetPropertyValue(parentExecutionIdProperty, Guid.Empty); 408var executionId = Guid.Empty; 412executionId = testResult.GetPropertyValue(executionIdProperty, Guid.Empty); 415return executionId.Equals(Guid.Empty) ? Guid.NewGuid() : executionId; 530if (parentExecutionId != Guid.Empty)