You've already forked linux-packaging-mono
Imported Upstream version 5.10.0.47
Former-commit-id: d0813289fa2d35e1f8ed77530acb4fb1df441bc0
This commit is contained in:
parent
88ff76fe28
commit
e46a49ecf1
@@ -47,7 +47,7 @@ namespace Windows.UI.Xaml
|
||||
|
||||
public GridLength(double value, GridUnitType type)
|
||||
{
|
||||
if (Double.IsNaN(value) || Double.IsInfinity(value) || value < 0.0)
|
||||
if (!double.IsFinite(value) || value < 0.0)
|
||||
{
|
||||
throw new ArgumentException(SR.DirectUI_InvalidArgument, nameof(value));
|
||||
}
|
||||
|
||||
@@ -41,9 +41,7 @@ namespace Windows.UI.Xaml.Media.Animation
|
||||
|
||||
public RepeatBehavior(double count)
|
||||
{
|
||||
if (Double.IsInfinity(count)
|
||||
|| Double.IsNaN(count)
|
||||
|| count < 0.0)
|
||||
if (!double.IsFinite(count) || count < 0.0)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException(nameof(count));
|
||||
}
|
||||
|
||||
@@ -22,10 +22,7 @@
|
||||
<Compile Include="Windows\UI\Xaml\Media3D\Matrix3DTests.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\src\System.Runtime.WindowsRuntime.UI.Xaml.csproj">
|
||||
<Project>{263DA4F1-C3BC-4B43-98E7-9F38B419A131}</Project>
|
||||
<Name>System.Runtime.WindowsRuntime.UI.Xaml</Name>
|
||||
</ProjectReference>
|
||||
<ReferenceFromRuntime Include="System.Runtime.WindowsRuntime.UI.Xaml" />
|
||||
</ItemGroup>
|
||||
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
|
||||
</Project>
|
||||
Reference in New Issue
Block a user