7 instantiations of OptionsContext
Microsoft.Extensions.Options.Contextual.Tests (1)
AcceptanceTests.cs (1)
19[OptionsContext]
Microsoft.Gen.ContextualOptions.Generated.Tests (6)
test\Generators\Microsoft.Gen.ContextualOptions\TestClasses\Class1.cs (1)
8[OptionsContext]
test\Generators\Microsoft.Gen.ContextualOptions\TestClasses\Class2B.cs (1)
8[OptionsContext]
test\Generators\Microsoft.Gen.ContextualOptions\TestClasses\NamespacelessRecord.cs (1)
6[OptionsContext]
test\Generators\Microsoft.Gen.ContextualOptions\TestClasses\NonPublicStruct.cs (1)
8[OptionsContext]
test\Generators\Microsoft.Gen.ContextualOptions\TestClasses\Record1.cs (1)
8[OptionsContext]
test\Generators\Microsoft.Gen.ContextualOptions\TestClasses\Struct1.cs (1)
8[OptionsContext]
5 references to OptionsContext
Microsoft.Gen.ContextualOptions.Unit.Tests (5)
EmitterTests.cs (1)
140typeof(OptionsContextAttribute).Assembly,
ParserTests.cs (1)
106new[] { typeof(OptionsContextAttribute).Assembly, typeof(ReadOnlySpan<>).Assembly },
SyntaxContextReceiverTests.cs (3)
29var comp = await RoslynTestUtils.RunSyntaxContextReceiver(sut, new[] { typeof(OptionsContextAttribute).Assembly }, sources).ConfigureAwait(true); 67var comp = await RoslynTestUtils.RunSyntaxContextReceiver(sut, new[] { typeof(OptionsContextAttribute).Assembly }, sources).ConfigureAwait(true); 85var comp = await RoslynTestUtils.RunSyntaxContextReceiver(sut, new[] { typeof(OptionsContextAttribute).Assembly }, sources).ConfigureAwait(true);