From 5a9f115282e4bd5f335c45ee0c4c58d8a4bafe1a Mon Sep 17 00:00:00 2001 From: Muhammad Rehan Saeed Date: Tue, 11 Aug 2020 09:56:56 +0100 Subject: [PATCH] Bump Microsoft.CodeAnalysis.FxCopAnalyzers from 3.0.0 to 3.3.0 --- .../Serilog.Exceptions.Benchmark/ExceptionPropertiesBag.cs | 2 +- Directory.Build.props | 2 +- Source/Serilog.Exceptions/Core/DestructuringOptionsBuilder.cs | 2 +- Source/Serilog.Exceptions/Core/ExceptionPropertiesBag.cs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Benchmarks/Serilog.Exceptions.Benchmark/ExceptionPropertiesBag.cs b/Benchmarks/Serilog.Exceptions.Benchmark/ExceptionPropertiesBag.cs index 5cc26057..6797224d 100644 --- a/Benchmarks/Serilog.Exceptions.Benchmark/ExceptionPropertiesBag.cs +++ b/Benchmarks/Serilog.Exceptions.Benchmark/ExceptionPropertiesBag.cs @@ -13,7 +13,7 @@ internal class ExceptionPropertiesBag : IExceptionPropertiesBag // We keep a note on whether the results were collected to be sure that // after that there are no changes. This is the application of fail-fast principle. - private bool resultsCollected = false; + private bool resultsCollected; public ExceptionPropertiesBag(Exception exception, IExceptionPropertyFilter filter = null) { diff --git a/Directory.Build.props b/Directory.Build.props index 153b0749..295d86f1 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -20,7 +20,7 @@ - + diff --git a/Source/Serilog.Exceptions/Core/DestructuringOptionsBuilder.cs b/Source/Serilog.Exceptions/Core/DestructuringOptionsBuilder.cs index c98fa5ca..77c4727f 100644 --- a/Source/Serilog.Exceptions/Core/DestructuringOptionsBuilder.cs +++ b/Source/Serilog.Exceptions/Core/DestructuringOptionsBuilder.cs @@ -56,7 +56,7 @@ public class DestructuringOptionsBuilder : IDestructuringOptions /// /// Gets a value indicating whether to disable the reflection based destructurer. /// - public bool DisableReflectionBasedDestructurer { get; private set; } = false; + public bool DisableReflectionBasedDestructurer { get; private set; } /// /// Gets a collection of destructurers that will be used to handle exception. diff --git a/Source/Serilog.Exceptions/Core/ExceptionPropertiesBag.cs b/Source/Serilog.Exceptions/Core/ExceptionPropertiesBag.cs index 283b3f96..9873766f 100644 --- a/Source/Serilog.Exceptions/Core/ExceptionPropertiesBag.cs +++ b/Source/Serilog.Exceptions/Core/ExceptionPropertiesBag.cs @@ -15,7 +15,7 @@ internal class ExceptionPropertiesBag : IExceptionPropertiesBag /// We keep a note on whether the results were collected to be sure that after that there are no changes. This /// is the application of fail-fast principle. /// - private bool resultsCollected = false; + private bool resultsCollected; /// /// Initializes a new instance of the class.