6 writes to InstrumentKind
Microsoft.Gen.Metrics (1)
Parser.cs (1)
465
InstrumentKind
= instrumentKind,
Microsoft.Gen.Metrics.Unit.Tests (5)
EmitterTests.cs (5)
74
InstrumentKind
= (InstrumentKind)instrumentKind,
113
InstrumentKind
= (InstrumentKind)instrumentKind,
153
InstrumentKind
= InstrumentKind.Counter,
191
InstrumentKind
= InstrumentKind.Counter,
303
InstrumentKind
= instrumentKind,
4 references to InstrumentKind
Microsoft.Gen.Metrics (4)
Emitter.cs (2)
167
switch (metricMethod.
InstrumentKind
)
188
throw new NotSupportedException($"Instrument type '{metricMethod.
InstrumentKind
}' is not supported to generate metric");
MetricFactoryEmitter.cs (2)
127
string createMethodName = metricMethod.
InstrumentKind
switch
135
_ => throw new NotSupportedException($"Metric type '{metricMethod.
InstrumentKind
}' is not supported to generate factory"),