-
Notifications
You must be signed in to change notification settings - Fork 751
Commit
This addresses #5072 by allowing time to be adjusted forwards and backwards in order to simulate the system's clock being adjusted. Messing around with the time in this way doesn't affect outstanding timers.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using Microsoft.Extensions.Compliance.Classification; | ||
using Microsoft.Extensions.Logging; | ||
|
||
public static partial class Bug5188 | ||
{ | ||
internal record User() | ||
{ | ||
public int Id { get; set; } | ||
|
||
[NoDataClassification] | ||
public string? Email { get; set; } | ||
} | ||
|
||
internal static partial class Logging | ||
{ | ||
[LoggerMessage(6001, LogLevel.Information, "Logging User: {User}")] | ||
public static partial void LogUser(ILogger logger, [LogProperties] User user); | ||
Check failure on line 17 in test/Generators/Microsoft.Gen.Logging/TestClasses/Bug5188.cs Azure Pipelines / extensions-ci (Correctness WarningsCheck)test/Generators/Microsoft.Gen.Logging/TestClasses/Bug5188.cs#L17
Check failure on line 17 in test/Generators/Microsoft.Gen.Logging/TestClasses/Bug5188.cs Azure Pipelines / extensions-ci (Correctness WarningsCheck)test/Generators/Microsoft.Gen.Logging/TestClasses/Bug5188.cs#L17
Check failure on line 17 in test/Generators/Microsoft.Gen.Logging/TestClasses/Bug5188.cs Azure Pipelines / extensions-ci (Correctness WarningsCheck)test/Generators/Microsoft.Gen.Logging/TestClasses/Bug5188.cs#L17
Check failure on line 17 in test/Generators/Microsoft.Gen.Logging/TestClasses/Bug5188.cs Azure Pipelines / extensions-ci (Correctness WarningsCheck)test/Generators/Microsoft.Gen.Logging/TestClasses/Bug5188.cs#L17
Check failure on line 17 in test/Generators/Microsoft.Gen.Logging/TestClasses/Bug5188.cs Azure Pipelines / extensions-ci (Build Ubuntu)test/Generators/Microsoft.Gen.Logging/TestClasses/Bug5188.cs#L17
Check failure on line 17 in test/Generators/Microsoft.Gen.Logging/TestClasses/Bug5188.cs Azure Pipelines / extensions-ci (Build Ubuntu)test/Generators/Microsoft.Gen.Logging/TestClasses/Bug5188.cs#L17
Check failure on line 17 in test/Generators/Microsoft.Gen.Logging/TestClasses/Bug5188.cs Azure Pipelines / extensions-ci (Build Ubuntu)test/Generators/Microsoft.Gen.Logging/TestClasses/Bug5188.cs#L17
Check failure on line 17 in test/Generators/Microsoft.Gen.Logging/TestClasses/Bug5188.cs Azure Pipelines / extensions-ci (Build Ubuntu)test/Generators/Microsoft.Gen.Logging/TestClasses/Bug5188.cs#L17
Check failure on line 17 in test/Generators/Microsoft.Gen.Logging/TestClasses/Bug5188.cs Azure Pipelines / extensions-citest/Generators/Microsoft.Gen.Logging/TestClasses/Bug5188.cs#L17
Check failure on line 17 in test/Generators/Microsoft.Gen.Logging/TestClasses/Bug5188.cs Azure Pipelines / extensions-citest/Generators/Microsoft.Gen.Logging/TestClasses/Bug5188.cs#L17
Check failure on line 17 in test/Generators/Microsoft.Gen.Logging/TestClasses/Bug5188.cs Azure Pipelines / extensions-citest/Generators/Microsoft.Gen.Logging/TestClasses/Bug5188.cs#L17
Check failure on line 17 in test/Generators/Microsoft.Gen.Logging/TestClasses/Bug5188.cs Azure Pipelines / extensions-citest/Generators/Microsoft.Gen.Logging/TestClasses/Bug5188.cs#L17
|
||
} | ||
} |