Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
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.23473.2">
<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