Commit 80a6ae5
Simplify lambda to method group in OtlpResource.AddMetrics (#18355)
The lambda 'm => GetMetricDataPointCount(m)' can be reduced to the
method group 'GetMetricDataPointCount'. The IDE0200 analyzer ('Lambda
expression can be removed') fires nondeterministically in command-line
builds and was breaking local builds with -warnaserror. Reducing it to
a method group removes the latent build break. No behavior change.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent cc37bec commit 80a6ae5
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
0 commit comments