5 writes to InstrumentKind
Microsoft.Gen.Metrics (1)
Parser.cs (1)
452
InstrumentKind
= instrumentKind,
Microsoft.Gen.Metrics.Unit.Tests (4)
EmitterTests.cs (4)
74
InstrumentKind
= (InstrumentKind)instrumentKind,
113
InstrumentKind
= (InstrumentKind)instrumentKind,
153
InstrumentKind
= InstrumentKind.Counter,
191
InstrumentKind
= InstrumentKind.Counter,
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)
126
string createMethodName = metricMethod.
InstrumentKind
switch
134
_ => throw new NotSupportedException($"Metric type '{metricMethod.
InstrumentKind
}' is not supported to generate factory"),