File tree 2 files changed +5
-5
lines changed
test/OpenTelemetry.Api.ProviderBuilderExtensions.Tests
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ public TestMeterProviderBuilder()
17
17
18
18
public ServiceProvider ? ServiceProvider { get ; private set ; }
19
19
20
- public List < string > Meters { get ; } = new ( ) ;
20
+ public List < string > Meters { get ; } = [ ] ;
21
21
22
- public List < object > Instrumentation { get ; } = new ( ) ;
22
+ public List < object > Instrumentation { get ; } = [ ] ;
23
23
24
24
public MeterProvider ? Provider { get ; private set ; }
25
25
Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ public TestTracerProviderBuilder()
17
17
18
18
public ServiceProvider ? ServiceProvider { get ; private set ; }
19
19
20
- public List < string > Sources { get ; } = new ( ) ;
20
+ public List < string > Sources { get ; } = [ ] ;
21
21
22
- public List < string > LegacySources { get ; } = new ( ) ;
22
+ public List < string > LegacySources { get ; } = [ ] ;
23
23
24
- public List < object > Instrumentation { get ; } = new ( ) ;
24
+ public List < object > Instrumentation { get ; } = [ ] ;
25
25
26
26
public TracerProvider ? Provider { get ; private set ; }
27
27
You can’t perform that action at this time.
0 commit comments