Skip to content

Commit

Permalink
Disable global using statements (#698)
Browse files Browse the repository at this point in the history
  • Loading branch information
premun authored Aug 27, 2021
1 parent d78f6e0 commit 2e03d2d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<Project>
<Import Project="Sdk.props" Sdk="Microsoft.DotNet.Arcade.Sdk" />
<PropertyGroup>
<LangVersion>10.0</LangVersion>
<LangVersion>latest</LangVersion>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<DisableImplicitNamespaceImports>true</DisableImplicitNamespaceImports>
<DisableImplicitNamespaceImports_DotNet>true</DisableImplicitNamespaceImports_DotNet>
</PropertyGroup>
<PropertyGroup Condition="'$(CopyrightNetFoundation)' != ''">
<Copyright>$(CopyrightNetFoundation)</Copyright>
</PropertyGroup>
<PropertyGroup>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
</PropertyGroup>
</Project>
2 changes: 2 additions & 0 deletions src/Microsoft.DotNet.XHarness.CLI/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,9 @@ public static int Main(string[] args)

public static CommandSet GetXHarnessCommandSet()
{
#pragma warning disable IDE0028 // Simplify collection initialization for DEBUG
var commandSet = new CommandSet("xharness");
#pragma warning restore IDE0028 // Simplify collection initialization for DEBUG

#if !DEBUG
if (RuntimeInformation.IsOSPlatform(OSPlatform.OSX))
Expand Down

0 comments on commit 2e03d2d

Please sign in to comment.