Skip to content

Commit

Permalink
Get rid of 'hiding field' warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tsimbalar committed Oct 16, 2017
1 parent 33d07a8 commit ebf548c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/Serilog.Tests/Capturing/PropertyValueConverterTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class PropertyValueConverterTests
[Fact]
public async Task MaximumDepthIsEffectiveAndThreadSafe()
{
var _converter = new PropertyValueConverter(3, 1000, 1000, Enumerable.Empty<Type>(), Enumerable.Empty<IDestructuringPolicy>(), false);
var converter = new PropertyValueConverter(3, 1000, 1000, Enumerable.Empty<Type>(), Enumerable.Empty<IDestructuringPolicy>(), false);

var barrier = new Barrier(participantCount: 3);

Expand Down Expand Up @@ -63,7 +63,7 @@ void DoThreadTest(object logObject, Action<string> assertAction)
{
barrier.SignalAndWait();

var propValue = _converter.CreatePropertyValue(logObject, true);
var propValue = converter.CreatePropertyValue(logObject, true);

Assert.IsType<StructureValue>(propValue);

Expand Down

0 comments on commit ebf548c

Please sign in to comment.