4 references to AttributesToGenerate
Microsoft.Extensions.Options.SourceGeneration (4)
Emitter.cs (2)
615
if (_optionsSourceGenContext.
AttributesToGenerate
.Count == 0)
620
var attributesData = _optionsSourceGenContext.
AttributesToGenerate
.OrderBy(static kvp => kvp.Key, StringComparer.Ordinal).ToArray();
OptionsSourceGenContext.cs (2)
30
bool exist =
AttributesToGenerate
.TryGetValue(attributeName, out value);
40
AttributesToGenerate
[attributeName] = value;