Skip to content

Commit

Permalink
Add trimming tests for System.Private.Xml changes (#38068)
Browse files Browse the repository at this point in the history
* Add trimming tests for System.Private.Xml changes

* Address review feedback
  • Loading branch information
layomia committed Jun 18, 2020
1 parent 16b451d commit f923fc3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using System.Data.SqlTypes;
using System.IO;

class Program
{
static int Main(string[] args)
{
MemoryStream ms = new MemoryStream();
var sqlXml = new SqlXml(ms);
var xmlReader = sqlXml.CreateReader();
return xmlReader != null ? 100 : -1;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<Project DefaultTargets="Build">
<Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.props))" />

<Import Project="$([MSBuild]::GetPathOfFileAbove(Directory.Build.targets))" />
</Project>

0 comments on commit f923fc3

Please sign in to comment.