Skip to content

Commit

Permalink
fixup! Update local copy of ExperimentalAttribute per dotnet/runtime#…
Browse files Browse the repository at this point in the history
  • Loading branch information
RussKie committed Jun 26, 2023
1 parent 91e1486 commit 090b442
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public FakeTimeProvider()
/// <remarks>
/// The provider is set to not automatically advance time each time it is read.
/// </remarks>
[Experimental]
[Experimental(diagnosticId: "TBD", UrlFormat = "TBD")]
public FakeTimeProvider(DateTimeOffset startDateTime)
{
_ = Throw.IfLessThan(startDateTime.Ticks, 0);
Expand All @@ -55,7 +55,7 @@ public FakeTimeProvider(DateTimeOffset startDateTime)
/// <summary>
/// Gets the starting date and time for this provider.
/// </summary>
[Experimental]
[Experimental(diagnosticId: "TBD", UrlFormat = "TBD")]
public DateTimeOffset Start { get; }

/// <summary>
Expand Down Expand Up @@ -94,7 +94,7 @@ public override DateTimeOffset GetUtcNow()
/// Sets the date and time in the UTC time zone.
/// </summary>
/// <param name="value">The date and time in the UTC time zone.</param>
[Experimental]
[Experimental(diagnosticId: "TBD", UrlFormat = "TBD")]
public void SetUtcNow(DateTimeOffset value)
{
lock (Waiters)
Expand All @@ -120,7 +120,7 @@ public void SetUtcNow(DateTimeOffset value)
/// marches forward automatically in hardware, for the fake time provider the application is responsible for
/// doing this explicitly by calling this method.
/// </remarks>
[Experimental]
[Experimental(diagnosticId: "TBD", UrlFormat = "TBD")]
public void Advance(TimeSpan delta)
{
_ = Throw.IfLessThan(delta.Ticks, 0);
Expand Down Expand Up @@ -155,7 +155,7 @@ public override long GetTimestamp()
/// Sets the local time zone.
/// </summary>
/// <param name="localTimeZone">The local time zone.</param>
[Experimental]
[Experimental(diagnosticId: "TBD", UrlFormat = "TBD")]
public void SetLocalTimeZone(TimeZoneInfo localTimeZone) => _localTimeZone = localTimeZone;

/// <summary>
Expand Down

0 comments on commit 090b442

Please sign in to comment.