Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Newtonsoft 13.0.1 #2504

Merged
merged 16 commits into from
Jul 21, 2022
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/ReleaseHistory.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

* FEATURE: Add `max-file-size-in-kb` argument that allows filtering scan targets by file size. [#2494](https://github.com/microsoft/sarif-sdk/pull/2494)
* BUGFIX: Fix false positive for `SARIF1002.UrisMustBeValid` for file URIs that omit the `authority`. [#2501](https://github.com/microsoft/sarif-sdk/pull/2501)
* DEPENDENCY: Updating [Newtonsoft.Json](https://www.nuget.org/packages/Newtonsoft.Json/13.0.1) to v13.0.1, [Microsoft.Json.Schema](https://www.nuget.org/packages/Microsoft.Json.Schema) to v1.1.5, and [Microsoft.Json.Pointer](https://www.nuget.org/packages/Microsoft.Json.Pointer) to v1.1.5 in response to [Advisory: Improper Handling of Exceptional Conditions in Newtonsoft.Json](https://github.com/advisories/GHSA-5crp-9r3c-p9vr). [#2504](https://github.com/microsoft/sarif-sdk/pull/2504)
Copy link
Collaborator

@shaopeng-gh shaopeng-gh Jul 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DEPENDENCY:

previously we have like this, maybe add before the current string?
DEPENDENCY BREAKING: SARIF now requires Newtonsoft.Json v13.0.1. #Resolved

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We didn't follow this convention when we updated to v12.0.1. In fact, I don't see a release history note for that specific update. In this case, the release history serves to tell anyone using the SARIF sdk that this version resolves the Newtonsoft vulnerability. I did consider this approach. If during testing, we see any indicators that this is indeed a breaking change, then we can re-evaluate the note.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need to correct my previous statement. I was able to find the latest release history note and confirmed that this pattern has been repeated and took the suggestion. Thank you.


## **v2.4.15** [Sdk](https://www.nuget.org/packages/Sarif.Sdk/2.4.15) | [Driver](https://www.nuget.org/packages/Sarif.Driver/2.4.15) | [Converters](https://www.nuget.org/packages/Sarif.Converters/2.4.15) | [Multitool](https://www.nuget.org/packages/Sarif.Multitool/2.4.15) | [Multitool Library](https://www.nuget.org/packages/Sarif.Multitool.Library/2.4.15)

Expand Down
4 changes: 2 additions & 2 deletions src/Samples/Sarif.Sdk.Sample/Sarif.Sdk.Sample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
<Reference Include="CommandLine, Version=2.2.1.0, Culture=neutral, PublicKeyToken=de6f01bd326f8c32, processorArchitecture=MSIL">
<HintPath>..\packages\CommandLineParser.2.2.1\lib\net45\CommandLine.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
Expand Down
2 changes: 1 addition & 1 deletion src/Samples/Sarif.Sdk.Sample/packages.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="CommandLineParser" version="2.2.1" targetFramework="net461" />
<package id="Newtonsoft.Json" version="12.0.3" targetFramework="net472" />
<package id="Newtonsoft.Json" version="13.0.1" targetFramework="net472" />
<package id="System.Buffers" version="4.5.1" targetFramework="net461" />
<package id="System.Collections" version="4.0.11" targetFramework="net461" />
<package id="System.Collections.Immutable" version="5.0.0" targetFramework="net461" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Collections.Immutable, Version=1.2.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
Expand Down
2 changes: 1 addition & 1 deletion src/Samples/Sarif.WorkItems.Sample/packages.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net461" />
<package id="Newtonsoft.Json" version="13.0.1" targetFramework="net461" />
<package id="System.Collections" version="4.0.11" targetFramework="net461" />
<package id="System.Collections.Immutable" version="1.5.0" targetFramework="net461" />
<package id="System.Console" version="4.0.0" targetFramework="net461" />
Expand Down
4 changes: 2 additions & 2 deletions src/Samples/SarifDeferredSample/SarifDeferredSample.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
Expand Down
2 changes: 1 addition & 1 deletion src/Samples/SarifDeferredSample/packages.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Newtonsoft.Json" version="12.0.3" targetFramework="net472" />
<package id="Newtonsoft.Json" version="13.0.1" targetFramework="net472" />
<package id="System.Buffers" version="4.5.1" targetFramework="net461" />
<package id="System.Collections.Immutable" version="5.0.0" targetFramework="net461" />
<package id="System.Memory" version="4.5.4" targetFramework="net461" />
Expand Down
4 changes: 2 additions & 2 deletions src/Samples/SarifToCsv/SarifToCsv.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Configuration" />
Expand Down
2 changes: 1 addition & 1 deletion src/Samples/SarifToCsv/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Newtonsoft.Json" version="12.0.3" targetFramework="net472" />
<package id="Newtonsoft.Json" version="13.0.1" targetFramework="net472" />
</packages>
4 changes: 2 additions & 2 deletions src/Samples/SarifTrim/SarifTrim.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
Expand Down
2 changes: 1 addition & 1 deletion src/Samples/SarifTrim/packages.config
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Newtonsoft.Json" version="12.0.3" targetFramework="net472" />
<package id="Newtonsoft.Json" version="13.0.1" targetFramework="net472" />
</packages>
4 changes: 2 additions & 2 deletions src/Sarif.Multitool.Library/Sarif.Multitool.Library.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@

<ItemGroup>
<PackageReference Include="Microsoft.Azure.Kusto.Data" Version="9.0.8" />
<PackageReference Include="Microsoft.Json.Pointer" Version="1.1.2" />
<PackageReference Include="Microsoft.Json.Pointer" Version="1.1.5" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="System.Threading.Channels" Version="5.0.0" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/Sarif.WorkItems/Sarif.WorkItems.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Sarif/Autogenerated/AddressEqualityComparer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Microsoft.CodeAnalysis.Sarif
/// <summary>
/// Defines methods to support the comparison of objects of type Address for equality.
/// </summary>
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.4.0")]
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.5.0")]
internal sealed class AddressEqualityComparer : IEqualityComparer<Address>
{
internal static readonly AddressEqualityComparer Instance = new AddressEqualityComparer();
Expand Down
2 changes: 1 addition & 1 deletion src/Sarif/Autogenerated/Artifact.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace Microsoft.CodeAnalysis.Sarif
/// A single artifact. In some cases, this artifact might be nested within another artifact.
/// </summary>
[DataContract]
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.4.0")]
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.5.0")]
public partial class Artifact : PropertyBagHolder, ISarifNode
{
public static IEqualityComparer<Artifact> ValueComparer => ArtifactEqualityComparer.Instance;
Expand Down
2 changes: 1 addition & 1 deletion src/Sarif/Autogenerated/ArtifactChange.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace Microsoft.CodeAnalysis.Sarif
/// A change to a single artifact.
/// </summary>
[DataContract]
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.4.0")]
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.5.0")]
public partial class ArtifactChange : PropertyBagHolder, ISarifNode
{
public static IEqualityComparer<ArtifactChange> ValueComparer => ArtifactChangeEqualityComparer.Instance;
Expand Down
2 changes: 1 addition & 1 deletion src/Sarif/Autogenerated/ArtifactChangeComparer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Microsoft.CodeAnalysis.Sarif
/// <summary>
/// Defines methods to support the comparison of objects of type ArtifactChange for sorting.
/// </summary>
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.4.0")]
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.5.0")]
internal sealed class ArtifactChangeComparer : IComparer<ArtifactChange>
{
internal static readonly ArtifactChangeComparer Instance = new ArtifactChangeComparer();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Microsoft.CodeAnalysis.Sarif
/// <summary>
/// Defines methods to support the comparison of objects of type ArtifactChange for equality.
/// </summary>
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.4.0")]
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.5.0")]
internal sealed class ArtifactChangeEqualityComparer : IEqualityComparer<ArtifactChange>
{
internal static readonly ArtifactChangeEqualityComparer Instance = new ArtifactChangeEqualityComparer();
Expand Down
2 changes: 1 addition & 1 deletion src/Sarif/Autogenerated/ArtifactComparer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Microsoft.CodeAnalysis.Sarif
/// <summary>
/// Defines methods to support the comparison of objects of type Artifact for sorting.
/// </summary>
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.4.0")]
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.5.0")]
internal sealed class ArtifactComparer : IComparer<Artifact>
{
internal static readonly ArtifactComparer Instance = new ArtifactComparer();
Expand Down
2 changes: 1 addition & 1 deletion src/Sarif/Autogenerated/ArtifactContent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace Microsoft.CodeAnalysis.Sarif
/// Represents the contents of an artifact.
/// </summary>
[DataContract]
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.4.0")]
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.5.0")]
public partial class ArtifactContent : PropertyBagHolder, ISarifNode
{
public static IEqualityComparer<ArtifactContent> ValueComparer => ArtifactContentEqualityComparer.Instance;
Expand Down
2 changes: 1 addition & 1 deletion src/Sarif/Autogenerated/ArtifactContentComparer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Microsoft.CodeAnalysis.Sarif
/// <summary>
/// Defines methods to support the comparison of objects of type ArtifactContent for sorting.
/// </summary>
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.4.0")]
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.5.0")]
internal sealed class ArtifactContentComparer : IComparer<ArtifactContent>
{
internal static readonly ArtifactContentComparer Instance = new ArtifactContentComparer();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Microsoft.CodeAnalysis.Sarif
/// <summary>
/// Defines methods to support the comparison of objects of type ArtifactContent for equality.
/// </summary>
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.4.0")]
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.5.0")]
internal sealed class ArtifactContentEqualityComparer : IEqualityComparer<ArtifactContent>
{
internal static readonly ArtifactContentEqualityComparer Instance = new ArtifactContentEqualityComparer();
Expand Down
2 changes: 1 addition & 1 deletion src/Sarif/Autogenerated/ArtifactEqualityComparer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Microsoft.CodeAnalysis.Sarif
/// <summary>
/// Defines methods to support the comparison of objects of type Artifact for equality.
/// </summary>
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.4.0")]
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.5.0")]
internal sealed class ArtifactEqualityComparer : IEqualityComparer<Artifact>
{
internal static readonly ArtifactEqualityComparer Instance = new ArtifactEqualityComparer();
Expand Down
2 changes: 1 addition & 1 deletion src/Sarif/Autogenerated/ArtifactLocation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace Microsoft.CodeAnalysis.Sarif
/// Specifies the location of an artifact.
/// </summary>
[DataContract]
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.4.0")]
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.5.0")]
public partial class ArtifactLocation : PropertyBagHolder, ISarifNode
{
public static IEqualityComparer<ArtifactLocation> ValueComparer => ArtifactLocationEqualityComparer.Instance;
Expand Down
2 changes: 1 addition & 1 deletion src/Sarif/Autogenerated/ArtifactLocationComparer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Microsoft.CodeAnalysis.Sarif
/// <summary>
/// Defines methods to support the comparison of objects of type ArtifactLocation for sorting.
/// </summary>
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.4.0")]
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.5.0")]
internal sealed class ArtifactLocationComparer : IComparer<ArtifactLocation>
{
internal static readonly ArtifactLocationComparer Instance = new ArtifactLocationComparer();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Microsoft.CodeAnalysis.Sarif
/// <summary>
/// Defines methods to support the comparison of objects of type ArtifactLocation for equality.
/// </summary>
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.4.0")]
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.5.0")]
internal sealed class ArtifactLocationEqualityComparer : IEqualityComparer<ArtifactLocation>
{
internal static readonly ArtifactLocationEqualityComparer Instance = new ArtifactLocationEqualityComparer();
Expand Down
2 changes: 1 addition & 1 deletion src/Sarif/Autogenerated/ArtifactRoles.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Microsoft.CodeAnalysis.Sarif
/// Values specifying the roles played by the file in the analysis.
/// </summary>
[Flags]
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.4.0")]
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.5.0")]
public enum ArtifactRoles
{
None,
Expand Down
2 changes: 1 addition & 1 deletion src/Sarif/Autogenerated/Attachment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace Microsoft.CodeAnalysis.Sarif
/// An artifact relevant to a result.
/// </summary>
[DataContract]
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.4.0")]
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.5.0")]
public partial class Attachment : PropertyBagHolder, ISarifNode
{
public static IEqualityComparer<Attachment> ValueComparer => AttachmentEqualityComparer.Instance;
Expand Down
2 changes: 1 addition & 1 deletion src/Sarif/Autogenerated/AttachmentComparer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Microsoft.CodeAnalysis.Sarif
/// <summary>
/// Defines methods to support the comparison of objects of type Attachment for sorting.
/// </summary>
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.4.0")]
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.5.0")]
internal sealed class AttachmentComparer : IComparer<Attachment>
{
internal static readonly AttachmentComparer Instance = new AttachmentComparer();
Expand Down
2 changes: 1 addition & 1 deletion src/Sarif/Autogenerated/AttachmentEqualityComparer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Microsoft.CodeAnalysis.Sarif
/// <summary>
/// Defines methods to support the comparison of objects of type Attachment for equality.
/// </summary>
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.4.0")]
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.5.0")]
internal sealed class AttachmentEqualityComparer : IEqualityComparer<Attachment>
{
internal static readonly AttachmentEqualityComparer Instance = new AttachmentEqualityComparer();
Expand Down
2 changes: 1 addition & 1 deletion src/Sarif/Autogenerated/BaselineState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Microsoft.CodeAnalysis.Sarif
/// <summary>
/// The state of a result relative to a baseline of a previous run.
/// </summary>
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.4.0")]
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.5.0")]
public enum BaselineState
{
None,
Expand Down
2 changes: 1 addition & 1 deletion src/Sarif/Autogenerated/CodeFlow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace Microsoft.CodeAnalysis.Sarif
/// A set of threadFlows which together describe a pattern of code execution relevant to detecting a result.
/// </summary>
[DataContract]
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.4.0")]
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.5.0")]
public partial class CodeFlow : PropertyBagHolder, ISarifNode
{
public static IEqualityComparer<CodeFlow> ValueComparer => CodeFlowEqualityComparer.Instance;
Expand Down
2 changes: 1 addition & 1 deletion src/Sarif/Autogenerated/CodeFlowComparer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Microsoft.CodeAnalysis.Sarif
/// <summary>
/// Defines methods to support the comparison of objects of type CodeFlow for sorting.
/// </summary>
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.4.0")]
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.5.0")]
internal sealed class CodeFlowComparer : IComparer<CodeFlow>
{
internal static readonly CodeFlowComparer Instance = new CodeFlowComparer();
Expand Down
2 changes: 1 addition & 1 deletion src/Sarif/Autogenerated/CodeFlowEqualityComparer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Microsoft.CodeAnalysis.Sarif
/// <summary>
/// Defines methods to support the comparison of objects of type CodeFlow for equality.
/// </summary>
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.4.0")]
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.5.0")]
internal sealed class CodeFlowEqualityComparer : IEqualityComparer<CodeFlow>
{
internal static readonly CodeFlowEqualityComparer Instance = new CodeFlowEqualityComparer();
Expand Down
2 changes: 1 addition & 1 deletion src/Sarif/Autogenerated/ColumnKind.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Microsoft.CodeAnalysis.Sarif
/// <summary>
/// A value that specifies the unit in which the tool measures columns.
/// </summary>
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.4.0")]
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.5.0")]
public enum ColumnKind
{
None,
Expand Down
2 changes: 1 addition & 1 deletion src/Sarif/Autogenerated/ComparerExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace Microsoft.CodeAnalysis.Sarif
{
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.4.0")]
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.5.0")]
internal static class ComparerExtensions
{
public static bool TryReferenceCompares(this object left, object right, out int compareResult)
Expand Down
2 changes: 1 addition & 1 deletion src/Sarif/Autogenerated/ConfigurationOverride.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace Microsoft.CodeAnalysis.Sarif
/// Information about how a specific rule or notification was reconfigured at runtime.
/// </summary>
[DataContract]
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.4.0")]
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.5.0")]
public partial class ConfigurationOverride : PropertyBagHolder, ISarifNode
{
public static IEqualityComparer<ConfigurationOverride> ValueComparer => ConfigurationOverrideEqualityComparer.Instance;
Expand Down
2 changes: 1 addition & 1 deletion src/Sarif/Autogenerated/ConfigurationOverrideComparer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Microsoft.CodeAnalysis.Sarif
/// <summary>
/// Defines methods to support the comparison of objects of type ConfigurationOverride for sorting.
/// </summary>
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.4.0")]
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.5.0")]
internal sealed class ConfigurationOverrideComparer : IComparer<ConfigurationOverride>
{
internal static readonly ConfigurationOverrideComparer Instance = new ConfigurationOverrideComparer();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Microsoft.CodeAnalysis.Sarif
/// <summary>
/// Defines methods to support the comparison of objects of type ConfigurationOverride for equality.
/// </summary>
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.4.0")]
[GeneratedCode("Microsoft.Json.Schema.ToDotNet", "1.1.5.0")]
internal sealed class ConfigurationOverrideEqualityComparer : IEqualityComparer<ConfigurationOverride>
{
internal static readonly ConfigurationOverrideEqualityComparer Instance = new ConfigurationOverrideEqualityComparer();
Expand Down
Loading