Skip to content

Commit

Permalink
Embed SonarC# 9.15.0.81779 and SonarVB 9.15.0.81779 (#5111)
Browse files Browse the repository at this point in the history
Fixes #5087
  • Loading branch information
georgii-borovinskikh-sonarsource committed Dec 15, 2023
1 parent b36761a commit 179aca2
Show file tree
Hide file tree
Showing 9 changed files with 44 additions and 38 deletions.
2 changes: 1 addition & 1 deletion nuget.config
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<clear />
<author name="SonarSource">
<!-- Sonar analyzer certificate -->
<certificate fingerprint="FC4D3F3F815C1B56A656F1A5D9456AF04B469267D945786057175049B15A62A0" hashAlgorithm="SHA256" allowUntrustedRoot="false" />
<certificate fingerprint="A943C46DBA193D99C1135FFE33D3337524E9B3F05B416B9314E168CD206EF427" hashAlgorithm="SHA256" allowUntrustedRoot="false" />

<!-- Sonar.Secrets certificate -->
<certificate fingerprint="81D07CE4BD2663E46CA83E7AC657896EFCBE0300D83A182F1A83CC75526A0286" hashAlgorithm="SHA256" allowUntrustedRoot="false" />
Expand Down
2 changes: 1 addition & 1 deletion src/EmbeddedSonarAnalyzer.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
NB we assume that the SonarC# and SonarVB NuGet packages have the same version number. -->
<PropertyGroup>
<!-- Note: Guide on how to update the analyzers is on the xtranet! -->
<EmbeddedSonarAnalyzerVersion>9.12.0.78982</EmbeddedSonarAnalyzerVersion>
<EmbeddedSonarAnalyzerVersion>9.15.0.81779</EmbeddedSonarAnalyzerVersion>
<EmbeddedSonarCFamilyAnalyzerVersion>6.50.0.64514</EmbeddedSonarCFamilyAnalyzerVersion>
<EmbeddedSonarJSAnalyzerVersion>10.8.0.24207</EmbeddedSonarJSAnalyzerVersion>
<!-- Secrets
Expand Down
6 changes: 3 additions & 3 deletions src/Integration.Vsix.UnitTests/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@
},
"SonarAnalyzer.CSharp": {
"type": "Direct",
"requested": "[9.12.0.78982, )",
"resolved": "9.12.0.78982",
"contentHash": "QxhfMFCNeZWP3gP/R8QM3MuDWm+Esj8Lt3oD61tid5TPuqsaKJtwMZNZWE2FOqqGuKlu3805o8MlkTWBL75skA=="
"requested": "[9.15.0.81779, )",
"resolved": "9.15.0.81779",
"contentHash": "Aln//O6aJLSuxGBgOign89w/+O8uuIC+0saU+q5vDZYeqQ1FkhT9Ua/TvjisBN4Br91lQ0sSzRsHik4cbXi08A=="
},
"System.IO.Abstractions": {
"type": "Direct",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
################################
# Assembly references report
# Report date/time: 2023-11-15T15:55:04.7526428Z
# Report date/time: 2023-12-14T12:35:04.0683401Z
################################
#
# Generated by Devtility CheckAsmRefs v0.11.0.223
Expand All @@ -27,7 +27,7 @@ Exclude patterns:
# Number of matches: 21

---
Assembly: 'SonarAnalyzer.CFG, Version=9.12.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
Assembly: 'SonarAnalyzer.CFG, Version=9.15.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
Relative path: 'SonarAnalyzer.CFG.dll'

Referenced assemblies:
Expand All @@ -38,21 +38,21 @@ Referenced assemblies:
# Number of references: 4

---
Assembly: 'SonarAnalyzer.CSharp, Version=9.12.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
Assembly: 'SonarAnalyzer.CSharp, Version=9.15.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
Relative path: 'SonarAnalyzer.CSharp.dll'

Referenced assemblies:
- 'Microsoft.CodeAnalysis, Version=1.3.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
- 'Microsoft.CodeAnalysis.CSharp, Version=1.3.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
- 'Microsoft.CodeAnalysis.Workspaces, Version=1.3.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
- 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
- 'SonarAnalyzer, Version=9.12.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
- 'SonarAnalyzer.CFG, Version=9.12.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
- 'SonarAnalyzer, Version=9.15.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
- 'SonarAnalyzer.CFG, Version=9.15.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
- 'System.Collections.Immutable, Version=1.1.37.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
# Number of references: 7

---
Assembly: 'SonarAnalyzer, Version=9.12.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
Assembly: 'SonarAnalyzer, Version=9.15.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
Relative path: 'SonarAnalyzer.dll'

Referenced assemblies:
Expand All @@ -61,12 +61,12 @@ Referenced assemblies:
- 'Microsoft.CodeAnalysis.CSharp, Version=1.3.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
- 'Microsoft.CodeAnalysis.Workspaces, Version=1.3.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
- 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
- 'SonarAnalyzer.CFG, Version=9.12.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
- 'SonarAnalyzer.CFG, Version=9.15.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
- 'System.Collections.Immutable, Version=1.1.37.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
# Number of references: 7

---
Assembly: 'SonarAnalyzer.VisualBasic, Version=9.12.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
Assembly: 'SonarAnalyzer.VisualBasic, Version=9.15.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
Relative path: 'SonarAnalyzer.VisualBasic.dll'

Referenced assemblies:
Expand All @@ -75,8 +75,8 @@ Referenced assemblies:
- 'Microsoft.CodeAnalysis.VisualBasic, Version=1.3.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
- 'Microsoft.CodeAnalysis.Workspaces, Version=1.3.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
- 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
- 'SonarAnalyzer, Version=9.12.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
- 'SonarAnalyzer.CFG, Version=9.12.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
- 'SonarAnalyzer, Version=9.15.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
- 'SonarAnalyzer.CFG, Version=9.15.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
- 'System.Collections.Immutable, Version=1.1.37.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
# Number of references: 8

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
################################
# Assembly references report
# Report date/time: 2023-11-15T15:55:04.7526428Z
# Report date/time: 2023-12-14T12:35:04.0683401Z
################################
#
# Generated by Devtility CheckAsmRefs v0.11.0.223
Expand All @@ -27,7 +27,7 @@ Exclude patterns:
# Number of matches: 21

---
Assembly: 'SonarAnalyzer.CFG, Version=9.12.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
Assembly: 'SonarAnalyzer.CFG, Version=9.15.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
Relative path: 'SonarAnalyzer.CFG.dll'

Referenced assemblies:
Expand All @@ -38,21 +38,21 @@ Referenced assemblies:
# Number of references: 4

---
Assembly: 'SonarAnalyzer.CSharp, Version=9.12.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
Assembly: 'SonarAnalyzer.CSharp, Version=9.15.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
Relative path: 'SonarAnalyzer.CSharp.dll'

Referenced assemblies:
- 'Microsoft.CodeAnalysis, Version=1.3.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
- 'Microsoft.CodeAnalysis.CSharp, Version=1.3.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
- 'Microsoft.CodeAnalysis.Workspaces, Version=1.3.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
- 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
- 'SonarAnalyzer, Version=9.12.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
- 'SonarAnalyzer.CFG, Version=9.12.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
- 'SonarAnalyzer, Version=9.15.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
- 'SonarAnalyzer.CFG, Version=9.15.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
- 'System.Collections.Immutable, Version=1.1.37.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
# Number of references: 7

---
Assembly: 'SonarAnalyzer, Version=9.12.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
Assembly: 'SonarAnalyzer, Version=9.15.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
Relative path: 'SonarAnalyzer.dll'

Referenced assemblies:
Expand All @@ -61,12 +61,12 @@ Referenced assemblies:
- 'Microsoft.CodeAnalysis.CSharp, Version=1.3.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
- 'Microsoft.CodeAnalysis.Workspaces, Version=1.3.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
- 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
- 'SonarAnalyzer.CFG, Version=9.12.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
- 'SonarAnalyzer.CFG, Version=9.15.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
- 'System.Collections.Immutable, Version=1.1.37.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
# Number of references: 7

---
Assembly: 'SonarAnalyzer.VisualBasic, Version=9.12.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
Assembly: 'SonarAnalyzer.VisualBasic, Version=9.15.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
Relative path: 'SonarAnalyzer.VisualBasic.dll'

Referenced assemblies:
Expand All @@ -75,8 +75,8 @@ Referenced assemblies:
- 'Microsoft.CodeAnalysis.VisualBasic, Version=1.3.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
- 'Microsoft.CodeAnalysis.Workspaces, Version=1.3.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
- 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
- 'SonarAnalyzer, Version=9.12.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
- 'SonarAnalyzer.CFG, Version=9.12.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
- 'SonarAnalyzer, Version=9.15.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
- 'SonarAnalyzer.CFG, Version=9.15.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244'
- 'System.Collections.Immutable, Version=1.1.37.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
# Number of references: 8

Expand Down
12 changes: 6 additions & 6 deletions src/Integration.Vsix/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,15 +120,15 @@
},
"SonarAnalyzer.CSharp": {
"type": "Direct",
"requested": "[9.12.0.78982, )",
"resolved": "9.12.0.78982",
"contentHash": "QxhfMFCNeZWP3gP/R8QM3MuDWm+Esj8Lt3oD61tid5TPuqsaKJtwMZNZWE2FOqqGuKlu3805o8MlkTWBL75skA=="
"requested": "[9.15.0.81779, )",
"resolved": "9.15.0.81779",
"contentHash": "Aln//O6aJLSuxGBgOign89w/+O8uuIC+0saU+q5vDZYeqQ1FkhT9Ua/TvjisBN4Br91lQ0sSzRsHik4cbXi08A=="
},
"SonarAnalyzer.VisualBasic": {
"type": "Direct",
"requested": "[9.12.0.78982, )",
"resolved": "9.12.0.78982",
"contentHash": "v/hQebfJRv2pIPxxhg9eVAdIwI3U6NBoU8q56RDDyAY21Qz/1578+DRtchRjQHi0KjTzm/J4XllDn/0sxf2q9g=="
"requested": "[9.15.0.81779, )",
"resolved": "9.15.0.81779",
"contentHash": "GV+IufX4JdMt/xtIdr7x17jclFloaVM4LT18j7Tuwcr7W5IQuqY/at2pxmmSC/4nOzcS8w7BayLxcOqHvsz5AA=="
},
"System.IO.Abstractions": {
"type": "Direct",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
<Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" />
<Compile Update="SupportedSuppressionBuilder.g.cs">
<DesignTime>True</DesignTime>
<DependentUpon>SupportedSuppressionBuilder.tt</DependentUpon>
</Compile>
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ private static ImmutableArray<SuppressionDescriptor> GetDescriptors()
// If the number of diagnostic ids changes significantly or decreases when the analysers are updated,
// investigate! There may be a problem with code generator.
// *************************************************************************************************
// Number of unique diagnostic ids (C# and VB.NET): 464
// Number of unique diagnostic ids (C# and VB.NET): 469
CreateDescriptor("S100"),
CreateDescriptor("S1006"),
CreateDescriptor("S101"),
Expand Down Expand Up @@ -509,6 +509,11 @@ private static ImmutableArray<SuppressionDescriptor> GetDescriptors()
CreateDescriptor("S6617"),
CreateDescriptor("S6618"),
CreateDescriptor("S6640"),
CreateDescriptor("S6797"),
CreateDescriptor("S6798"),
CreateDescriptor("S6800"),
CreateDescriptor("S6802"),
CreateDescriptor("S6803"),
CreateDescriptor("S818"),
CreateDescriptor("S881"),
CreateDescriptor("S907"),
Expand Down
12 changes: 6 additions & 6 deletions src/Roslyn.Suppressions/Roslyn.Suppressions/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,15 @@
},
"SonarAnalyzer.CSharp": {
"type": "Direct",
"requested": "[9.12.0.78982, )",
"resolved": "9.12.0.78982",
"contentHash": "QxhfMFCNeZWP3gP/R8QM3MuDWm+Esj8Lt3oD61tid5TPuqsaKJtwMZNZWE2FOqqGuKlu3805o8MlkTWBL75skA=="
"requested": "[9.15.0.81779, )",
"resolved": "9.15.0.81779",
"contentHash": "Aln//O6aJLSuxGBgOign89w/+O8uuIC+0saU+q5vDZYeqQ1FkhT9Ua/TvjisBN4Br91lQ0sSzRsHik4cbXi08A=="
},
"SonarAnalyzer.VisualBasic": {
"type": "Direct",
"requested": "[9.12.0.78982, )",
"resolved": "9.12.0.78982",
"contentHash": "v/hQebfJRv2pIPxxhg9eVAdIwI3U6NBoU8q56RDDyAY21Qz/1578+DRtchRjQHi0KjTzm/J4XllDn/0sxf2q9g=="
"requested": "[9.15.0.81779, )",
"resolved": "9.15.0.81779",
"contentHash": "GV+IufX4JdMt/xtIdr7x17jclFloaVM4LT18j7Tuwcr7W5IQuqY/at2pxmmSC/4nOzcS8w7BayLxcOqHvsz5AA=="
},
"System.Composition.AttributedModel": {
"type": "Direct",
Expand Down

0 comments on commit 179aca2

Please sign in to comment.