Skip to content

Commit

Permalink
[main] Update dependencies from dotnet/roslyn-analyzers (#92639)
Browse files Browse the repository at this point in the history
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Sven Boemer <sbomer@gmail.com>
  • Loading branch information
3 people committed Sep 27, 2023
1 parent dd8e9aa commit 7e6bd94
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
8 changes: 4 additions & 4 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -375,13 +375,13 @@
<Uri>https://github.com/dotnet/roslyn</Uri>
<Sha>232f7afa4966411958759c880de3a1765bdb28a0</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.Analyzers" Version="3.11.0-beta1.23472.2">
<Dependency Name="Microsoft.CodeAnalysis.Analyzers" Version="3.11.0-beta1.23475.2">
<Uri>https://github.com/dotnet/roslyn-analyzers</Uri>
<Sha>39ccb5b7570c179a82aa604ab7c3712af94ef119</Sha>
<Sha>2dbc0e4795ffd194777b3dc4efdf7c9b26002b04</Sha>
</Dependency>
<Dependency Name="Microsoft.CodeAnalysis.NetAnalyzers" Version="9.0.0-preview.23472.2">
<Dependency Name="Microsoft.CodeAnalysis.NetAnalyzers" Version="9.0.0-preview.23475.2">
<Uri>https://github.com/dotnet/roslyn-analyzers</Uri>
<Sha>39ccb5b7570c179a82aa604ab7c3712af94ef119</Sha>
<Sha>2dbc0e4795ffd194777b3dc4efdf7c9b26002b04</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.ApiCompat.Task" Version="9.0.100-alpha.1.23476.1">
<Uri>https://github.com/dotnet/sdk</Uri>
Expand Down
4 changes: 2 additions & 2 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
</ItemGroup>
<PropertyGroup>
<!-- dotnet/roslyn-analyzers dependencies -->
<MicrosoftCodeAnalysisAnalyzersVersion>3.11.0-beta1.23472.2</MicrosoftCodeAnalysisAnalyzersVersion>
<MicrosoftCodeAnalysisNetAnalyzersVersion>9.0.0-preview.23472.2</MicrosoftCodeAnalysisNetAnalyzersVersion>
<MicrosoftCodeAnalysisAnalyzersVersion>3.11.0-beta1.23475.2</MicrosoftCodeAnalysisAnalyzersVersion>
<MicrosoftCodeAnalysisNetAnalyzersVersion>9.0.0-preview.23475.2</MicrosoftCodeAnalysisNetAnalyzersVersion>
<!-- dotnet/roslyn dependencies -->
<!--
These versions should not be used by any project that contributes to the design-time experience in VS, such as an analyzer, code-fix, or generator assembly.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,11 @@ private static void TraceWriteLine (string tracingInfo)
{
switch (tracingMechanism) {
case TracingType.Console:
// Analyzers should not be writing to the console,
// but this is only used for debugging purposes and is off by default.
#pragma warning disable RS1035
Console.WriteLine (tracingInfo);
#pragma warning restore RS1035
break;
case TracingType.Debug:
Debug.WriteLine (tracingInfo);
Expand All @@ -114,7 +118,11 @@ private static void TraceWrite (string tracingInfo)
{
switch (tracingMechanism) {
case TracingType.Console:
// Analyzers should not be writing to the console,
// but this is only used for debugging purposes and is off by default.
#pragma warning disable RS1035
Console.Write (tracingInfo);
#pragma warning restore RS1035
break;
case TracingType.Debug:
Debug.Write (tracingInfo);
Expand Down

0 comments on commit 7e6bd94

Please sign in to comment.