Skip to content

Commit cdcb8f3

Browse files
authored
Fix type formatting in logging source generator test (#124962)
This happened because I didn't test #124638 and #124589 together (they contained changes that influenced each other). cc: @akoeplinger
1 parent f297dfb commit cdcb8f3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/libraries/Microsoft.Extensions.Logging.Abstractions/tests/Microsoft.Extensions.Logging.Generators.Tests/Baselines/TestWithRefReadOnlyParam.generated.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ namespace Microsoft.Extensions.Logging.Generators.Tests.TestClasses
66
partial class TestWithRefReadOnlyParam
77
{
88
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "%VERSION%")]
9-
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, global::System.Int32, global::System.Exception?> __MCallback =
10-
global::Microsoft.Extensions.Logging.LoggerMessage.Define<global::System.Int32>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(0, nameof(M)), "Parameter {p1}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
9+
private static readonly global::System.Action<global::Microsoft.Extensions.Logging.ILogger, int, global::System.Exception?> __MCallback =
10+
global::Microsoft.Extensions.Logging.LoggerMessage.Define<int>(global::Microsoft.Extensions.Logging.LogLevel.Debug, new global::Microsoft.Extensions.Logging.EventId(0, nameof(M)), "Parameter {p1}", new global::Microsoft.Extensions.Logging.LogDefineOptions() { SkipEnabledCheck = true });
1111

1212
/// <summary>
1313
/// <para><b>Message:</b> Parameter {p1}</para>
1414
/// <para><b>Level:</b> Debug</para>
1515
/// </summary>
1616
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Extensions.Logging.Generators", "%VERSION%")]
17-
public static partial void M(global::Microsoft.Extensions.Logging.ILogger logger, ref readonly global::System.Int32 p1)
17+
public static partial void M(global::Microsoft.Extensions.Logging.ILogger logger, ref readonly int p1)
1818
{
1919
if (logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
2020
{

0 commit comments

Comments
 (0)