File: test\Generators\Microsoft.Gen.ContextualOptions\TestClasses\NonPublicStruct.cs
Web Access
Project: src\test\Generators\Microsoft.Gen.ContextualOptions\Generated\Microsoft.Gen.ContextualOptions.Generated.Tests.csproj (Microsoft.Gen.ContextualOptions.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.Options.Contextual;
 
namespace TestClasses
{
    [OptionsContext]
    internal partial struct NonPublicStruct
    {
#pragma warning disable CA1822 // Mark members as static
        public readonly string Foo => "FooValue";
    }
}