Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1608 from atsushieno/import-system-xml-4
Import large chunk of System.Xml sources from referencesource.
- Loading branch information
Showing
86 changed files
with
4,640 additions
and
818 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
<?xml version="1.0" standalone="yes"?> | ||
<Root> | ||
<Region> | ||
<RegionID>1</RegionID> | ||
<RegionDescription>Eastern | ||
</RegionDescription> | ||
</Region> | ||
<Region> | ||
<RegionID>2</RegionID> | ||
<RegionDescription>Western | ||
</RegionDescription> | ||
</Region> | ||
<Region> | ||
<RegionID>3</RegionID> | ||
<RegionDescription>Northern | ||
</RegionDescription> | ||
</Region> | ||
<Region> | ||
<RegionID>4</RegionID> | ||
<RegionDescription>Southern | ||
</RegionDescription> | ||
</Region> | ||
<MoreData> | ||
<Column1>12</Column1> | ||
<Column2>Hi There</Column2> | ||
</MoreData> | ||
<MoreData> | ||
<Column1>12</Column1> | ||
<Column2>Hi There</Column2> | ||
</MoreData> | ||
</Root> | ||
<?xml version="1.0" standalone="yes"?> | ||
<Root> | ||
<Region> | ||
<RegionID>1</RegionID> | ||
<RegionDescription>Eastern | ||
</RegionDescription> | ||
</Region> | ||
<Region> | ||
<RegionID>2</RegionID> | ||
<RegionDescription>Western | ||
</RegionDescription> | ||
</Region> | ||
<Region> | ||
<RegionID>3</RegionID> | ||
<RegionDescription>Northern | ||
</RegionDescription> | ||
</Region> | ||
<Region> | ||
<RegionID>4</RegionID> | ||
<RegionDescription>Southern | ||
</RegionDescription> | ||
</Region> | ||
<MoreData> | ||
<Column1>12</Column1> | ||
<Column2>Hi There</Column2> | ||
</MoreData> | ||
<MoreData> | ||
<Column1>12</Column1> | ||
<Column2>Hi There</Column2> | ||
</MoreData> | ||
</Root> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
using System.Reflection; | ||
using System.Runtime.CompilerServices; | ||
using System.Xml.Schema; | ||
|
||
namespace System.Xml | ||
{ | ||
static partial class Res | ||
{ | ||
public static string GetString (string s, params object [] args) | ||
{ | ||
return args == null ? s : string.Format (s, args); | ||
} | ||
} | ||
} | ||
|
||
namespace System.Xml.Utils | ||
{ | ||
static partial class Res | ||
{ | ||
public static string GetString (string s, params object [] args) | ||
{ | ||
return args == null || args.Length == 0 ? s : string.Format (s, args); | ||
} | ||
} | ||
} | ||
|
||
// workaround for missing members in corlib. | ||
namespace System.Security.Policy | ||
{ | ||
static class EvidenceExtensions | ||
{ | ||
public static void AddHostEvidence (this Evidence evidence, Url url) | ||
{ | ||
throw new NotImplementedException (); | ||
} | ||
public static void AddHostEvidence (this Evidence evidence, Zone zone) | ||
{ | ||
throw new NotImplementedException (); | ||
} | ||
public static void AddHostEvidence (this Evidence evidence, Site site) | ||
{ | ||
throw new NotImplementedException (); | ||
} | ||
public static void AddHostEvidence (this Evidence evidence, EvidenceBase e) | ||
{ | ||
throw new NotImplementedException (); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace System.Xml.Serialization | ||
{ | ||
// from Models.cs | ||
internal enum SpecifiedAccessor { | ||
None, | ||
ReadOnly, | ||
ReadWrite, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
static class ThisAssembly | ||
{ | ||
public const string Version = Consts.FxVersion; | ||
} | ||
|
Oops, something went wrong.