Skip to content

Commit

Permalink
Bump Microsoft.CodeAnalysis.FxCopAnalyzers from 3.0.0 to 3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
RehanSaeed committed Aug 11, 2020
1 parent 8f3854a commit 64f816f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</PropertyGroup>

<ItemGroup Label="Package References">
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" PrivateAssets="All" Version="3.0.0" />
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" PrivateAssets="All" Version="3.3.0" />
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" PrivateAssets="All" Version="1.0.0" />
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" PrivateAssets="All" Version="16.7.54" />
<PackageReference Include="MinVer" PrivateAssets="All" Version="2.3.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public class DestructuringOptionsBuilder : IDestructuringOptions
/// <summary>
/// Gets a value indicating whether to disable the reflection based destructurer.
/// </summary>
public bool DisableReflectionBasedDestructurer { get; private set; } = false;
public bool DisableReflectionBasedDestructurer { get; private set; }

/// <summary>
/// Gets a collection of destructurers that will be used to handle exception.
Expand Down
2 changes: 1 addition & 1 deletion Source/Serilog.Exceptions/Core/ExceptionPropertiesBag.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
/// </summary>
private bool resultsCollected = false;
private bool resultsCollected;

/// <summary>
/// Initializes a new instance of the <see cref="ExceptionPropertiesBag"/> class.
Expand Down

0 comments on commit 64f816f

Please sign in to comment.