Skip to content

Commit

Permalink
Fix conditionally used usings for netstandard2.0 target framework
Browse files Browse the repository at this point in the history
  • Loading branch information
mavasani committed Apr 7, 2020
1 parent d9ccc5a commit 1216062
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
using System.Text;
using Microsoft.CodeAnalysis.Diagnostics.Telemetry;
using Microsoft.CodeAnalysis.Internal.Log;

#if NETSTANDARD2_0
using Roslyn.Utilities;
#endif

namespace Microsoft.CodeAnalysis.Diagnostics
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@
using Microsoft.CodeAnalysis.Internal.Log;
using Microsoft.CodeAnalysis.Options;
using Microsoft.CodeAnalysis.Workspaces.Diagnostics;

#if NETSTANDARD2_0
using Roslyn.Utilities;
#endif

namespace Microsoft.CodeAnalysis.Diagnostics.EngineV2
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Options;

#if NETSTANDARD2_0
using Roslyn.Utilities;
#endif

namespace Microsoft.CodeAnalysis.SolutionCrawler
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.CodeActions;
using Microsoft.CodeAnalysis.PooledObjects;

#if NETSTANDARD2_0 || CODE_STYLE
using Roslyn.Utilities;
#endif

#pragma warning disable RS0005 // Do not use generic CodeAction.Create to create CodeAction

Expand Down

0 comments on commit 1216062

Please sign in to comment.