Skip to content

Commit

Permalink
remove netstandard17 defines
Browse files Browse the repository at this point in the history
  • Loading branch information
tarekgh committed Feb 8, 2017
1 parent 21a2b80 commit 701815a
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion src/System.Runtime/tests/System.Runtime.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<ProjectGuid>{B1BF7CE0-CAB5-4FA2-A39C-450B05D5DB1C}</ProjectGuid>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<NoWarn>1718</NoWarn>
<DefineConstants Condition="'$(TargetGroup)'=='netstandard'">$(DefineConstants);netstandard17</DefineConstants>
<DefineConstants Condition="'$(TargetGroup)'=='netcoreapp'">$(DefineConstants);netcoreapp</DefineConstants>
</PropertyGroup>
<!-- Default configurations to help VS understand the configurations -->
Expand Down
2 changes: 0 additions & 2 deletions src/System.Runtime/tests/System/IO/FileLoadExceptionTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ public static void ToStringTest()
}
}

#if netstandard17
[Fact]
public static void FusionLogTest()
{
Expand All @@ -89,6 +88,5 @@ public static void FusionLogTest()

Assert.Null(exception.FusionLog);
}
#endif
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ public static void ToStringTest()
}
}

#if netstandard17
[Fact]
public static void FusionLogTest()
{
Expand All @@ -89,6 +88,5 @@ public static void FusionLogTest()

Assert.Null(exception.FusionLog);
}
#endif
}
}
2 changes: 0 additions & 2 deletions src/System.Runtime/tests/System/MissingFieldExceptionTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ public static void Ctor_String_Exception()
Assert.Equal(innerException.HResult, exception.InnerException.HResult);
}

#if netstandard17
[Fact]
public static void Ctor_String_String()
{
Expand All @@ -50,6 +49,5 @@ public static void Ctor_String_String()
Assert.True(exception.Message.Contains(className));
Assert.True(exception.Message.Contains(memberName));
}
#endif
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ public static void Ctor_String_Exception()
Assert.Same(innerException, exception.InnerException);
Assert.Equal(innerException.HResult, exception.InnerException.HResult);
}
#if netstandard17
[Fact]
public static void Ctor_String_String()
{
Expand All @@ -49,6 +48,5 @@ public static void Ctor_String_String()
Assert.True(exception.Message.Contains(className));
Assert.True(exception.Message.Contains(memberName));
}
#endif
}
}

0 comments on commit 701815a

Please sign in to comment.