From ebf548c830cc1c5c2d75fa38d25e5367b048c014 Mon Sep 17 00:00:00 2001 From: Thibaud Desodt Date: Mon, 16 Oct 2017 07:43:44 +0200 Subject: [PATCH] Get rid of 'hiding field' warning --- test/Serilog.Tests/Capturing/PropertyValueConverterTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Serilog.Tests/Capturing/PropertyValueConverterTests.cs b/test/Serilog.Tests/Capturing/PropertyValueConverterTests.cs index 6534a35ef..bea70a67b 100644 --- a/test/Serilog.Tests/Capturing/PropertyValueConverterTests.cs +++ b/test/Serilog.Tests/Capturing/PropertyValueConverterTests.cs @@ -24,7 +24,7 @@ public class PropertyValueConverterTests [Fact] public async Task MaximumDepthIsEffectiveAndThreadSafe() { - var _converter = new PropertyValueConverter(3, 1000, 1000, Enumerable.Empty(), Enumerable.Empty(), false); + var converter = new PropertyValueConverter(3, 1000, 1000, Enumerable.Empty(), Enumerable.Empty(), false); var barrier = new Barrier(participantCount: 3); @@ -63,7 +63,7 @@ void DoThreadTest(object logObject, Action assertAction) { barrier.SignalAndWait(); - var propValue = _converter.CreatePropertyValue(logObject, true); + var propValue = converter.CreatePropertyValue(logObject, true); Assert.IsType(propValue);