File: test\Generators\Microsoft.Gen.Logging\TestClasses\InParameterTestExtensions.cs
Web Access
Project: src\test\Generators\Microsoft.Gen.Logging\Generated\Microsoft.Gen.Logging.Generated.Tests.csproj (Microsoft.Gen.Logging.Generated.Tests)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using Microsoft.Extensions.Logging;
 
namespace TestClasses
{
    internal static partial class InParameterTestExtensions
    {
        internal struct S
        {
            public override readonly string ToString() => "Hello from S";
        }
 
        [LoggerMessage(0, LogLevel.Information, "M0 {s}")]
        internal static partial void M0(ILogger logger, in S s);
    }
}