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