385 references to Empty
dotnet-svcutil-lib (72)
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\Diagnostics\EventTraceActivityHelper.cs (1)
96guid = Guid.Empty;
InMemory.FunctionalTests (20)
EventSourceTests.cs (20)
88Assert.NotEqual(Guid.Empty, connectionStart.ActivityId);
96Assert.NotEqual(Guid.Empty, firstRequestStart.ActivityId);
106Assert.Equal(Guid.Empty, firstRequestStop.RelatedActivityId);
114Assert.NotEqual(Guid.Empty, secondRequestStart.ActivityId);
124Assert.Equal(Guid.Empty, secondRequestStop.RelatedActivityId);
132Assert.Equal(Guid.Empty, connectionStop.RelatedActivityId);
213Assert.NotEqual(Guid.Empty, connectionStart.ActivityId);
220Assert.NotEqual(Guid.Empty, tlsHandshakeStart.ActivityId);
230Assert.Equal(Guid.Empty, tlsHandshakeStop.RelatedActivityId);
240Assert.NotEqual(Guid.Empty, requestStart.ActivityId);
250Assert.Equal(Guid.Empty, requestStop.RelatedActivityId);
259Assert.Equal(Guid.Empty, connectionStop.RelatedActivityId);
317Assert.NotEqual(Guid.Empty, connectionStart.ActivityId);
324Assert.NotEqual(Guid.Empty, tlsHandshakeStart.ActivityId);
333Assert.Equal(Guid.Empty, tlsHandshakeFailed.RelatedActivityId);
341Assert.Equal(Guid.Empty, tlsHandshakeStop.RelatedActivityId);
349Assert.Equal(Guid.Empty, connectionStop.RelatedActivityId);
398Assert.NotEqual(Guid.Empty, connectionStart.ActivityId);
406Assert.Equal(Guid.Empty, connectionRejected.RelatedActivityId);
414Assert.Equal(Guid.Empty, connectionStop.RelatedActivityId);
Microsoft.AspNetCore.Components.Endpoints.Tests (9)
Microsoft.AspNetCore.Components.Tests (2)
Microsoft.AspNetCore.Cryptography.Internal.Tests (1)
Microsoft.AspNetCore.DataProtection.Tests (13)
KeyManagement\DeferredKeyTests.cs (2)
50var key = new Key(Guid.Empty, now, now, now, new Mock<IInternalXmlKeyManager>().Object, XElement.Parse(@"<node />"), new[] { encryptorFactory });
73var key = new Key(Guid.Empty, now, now, now, mockKeyManager.Object, XElement.Parse(@"<node />"), new[] { encryptorFactory });
KeyManagement\KeyRingBasedDataProtectorTests.cs (4)
209Key key = new Key(Guid.Empty, DateTimeOffset.Now, DateTimeOffset.Now, DateTimeOffset.Now, mockDescriptor.Object, new[] { mockEncryptorFactory.Object });
262Key key = new Key(Guid.Empty, DateTimeOffset.Now, DateTimeOffset.Now, DateTimeOffset.Now, mockDescriptor.Object, new[] { mockEncryptorFactory.Object });
293Key key = new Key(Guid.Empty, DateTimeOffset.Now, DateTimeOffset.Now, DateTimeOffset.Now, mockDescriptor.Object, new[] { mockEncryptorFactory.Object });
329Key key = new Key(Guid.Empty, DateTimeOffset.Now, DateTimeOffset.Now, DateTimeOffset.Now, mockDescriptor.Object, new[] { mockEncryptorFactory.Object });
Microsoft.AspNetCore.Http.Extensions.Tests (4)
Microsoft.Build.Tasks.CodeAnalysis (4)
Microsoft.Build.Utilities.Core (1)
Microsoft.CodeAnalysis (3)
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (6)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
Microsoft.CodeAnalysis.EditorFeatures (1)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (4)
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver (1)
Microsoft.CodeAnalysis.ExpressionEvaluator.FunctionResolver.UnitTests (4)
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider.Utilities (1)
Microsoft.CodeAnalysis.Features (8)
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
Microsoft.CodeAnalysis.Features.UnitTests (1)
Microsoft.CodeAnalysis.PublicApiAnalyzers.CodeFixes (2)
Microsoft.CodeAnalysis.UnitTests (1)
Microsoft.CodeAnalysis.Workspaces (5)
Microsoft.CodeAnalysis.Workspaces.MSBuild.UnitTests (3)
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (2)
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Microsoft.Extensions.AI.Abstractions.Tests (2)
Microsoft.Extensions.Caching.Hybrid.Tests (2)
Microsoft.Interop.ComInterfaceGenerator (2)
Microsoft.VisualStudio.LanguageServices (19)
Microsoft.VisualStudio.LanguageServices.LiveShare (1)
PresentationCore (27)
PresentationFramework (14)
Roslyn.Test.PdbUtilities (2)
Shared.Tests (2)
System.Diagnostics.TextWriterTraceListener (1)
System.Drawing.Common.Tests (2)
System.Linq.Expressions (2)
System.Net.Http (1)
System.Private.CoreLib (21)
System.Private.DataContractSerialization (1)
System.Private.Windows.Core (2)
System.Private.Windows.GdiPlus (3)
System.Private.Xml (1)
System.Reflection.Metadata (1)
System.Reflection.MetadataLoadContext (3)
System.Transactions.Local (57)
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\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");
2668throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
2674throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
2680throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
2686throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
2844tx == null ? Guid.Empty : tx.DistributedTxId
3805throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
3815throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
3824throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
3829throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
3834throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
3904throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
3914throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
3923throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
3928throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
3933throw TransactionException.Create(SR.TooLate, tx == null ? Guid.Empty : tx.DistributedTxId);
3955tx == null ? Guid.Empty : tx.DistributedTxId
System.Windows.Forms (21)
System.Windows.Forms.Design (2)
System.Windows.Forms.Primitives (2)
System.Windows.Forms.Primitives.Tests (12)
UIAutomationTypes (1)
WindowsBase.Tests (2)