﻿
// <auto-generated/>
#nullable enable
#pragma warning disable CS1591 // Compensate for https://github.com/dotnet/roslyn/issues/54103

namespace Test
{
    partial class C
    {
        /// <summary>
        /// Logs "M1" at "Debug" level.
        /// </summary>
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Gen.Logging", "VERSION")]
        static partial void M1(global::Microsoft.Extensions.Logging.ILogger logger)
        {
            if (!logger.IsEnabled(global::Microsoft.Extensions.Logging.LogLevel.Debug))
            {
                return;
            }

            var state = global::Microsoft.Extensions.Logging.LoggerMessageHelper.ThreadLocalState;

            _ = state.ReserveTagSpace(1);
            state.TagArray[0] = new("{OriginalFormat}", "M1");

            logger.Log(
                global::Microsoft.Extensions.Logging.LogLevel.Debug,
                new(1, nameof(M1)),
                state,
                null,
                [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Gen.Logging", "VERSION")] static string (s, _) =>
                {
                    return "M1";
                });

            state.Clear();
        }
    }
}
