forked from dotnet/runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new Xml Type parser (dotnet#82145)
Use new type parser for xml processing Add tests in nativeAOT Port XML testing changes from NativeAOT to illink Port logic to distinguish who needs to Kept an element in illink
- Loading branch information
Showing
15 changed files
with
185 additions
and
26 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
4 changes: 4 additions & 0 deletions
4
src/coreclr/tools/aot/Mono.Linker.Tests.Cases/LinkXml/UnusedTypePreservedByLinkXmlIsKept.xml
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,5 +1,9 @@ | ||
<linker> | ||
<assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> | ||
<type fullname="Mono.Linker.Tests.Cases.LinkXml.UnusedTypePreservedByLinkXmlIsKeptUnusedType" /> | ||
<type fullname="Mono.Linker.Tests.Cases.LinkXml.UnusedGenericTypePreservedByLinkXmlIsKept`1" preserve="none" /> | ||
<type fullname="Mono.Linker.Tests.Cases.LinkXml.UnusedGenericTypePreservedByLinkXmlIsKept`1/UnusedNestedTypePreservedByLinkXmlIsKept" preserve="none" /> | ||
<type fullname="Mono.Linker.Tests.Cases.LinkXml.UnusedGenericTypePreservedByLinkXmlIsKept`1/UnusedNestedGenericTypePreservedByLinkXmlIsKept`2" preserve="none" /> | ||
<type fullname="Mono.Linker.Tests.Cases.LinkXml.UnusedGenericTypePreservedByLinkXmlIsKept`1/UnusedNestedGenericTypePreservedByLinkXmlIsKept`2/UnusedNestedNestedGenericTypePreservedByLinkXmlIsKept`1" preserve="none" /> | ||
</assembly> | ||
</linker> |
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
4 changes: 2 additions & 2 deletions
4
src/tools/illink/test/Mono.Linker.Tests.Cases/LinkXml/UnusedNonRequiredTypeIsRemoved.xml
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,5 +1,5 @@ | ||
<linker> | ||
<assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> | ||
<assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> | ||
<type fullname="Mono.Linker.Tests.Cases.LinkXml.UnusedNonRequiredTypeIsRemoved/Unused" preserve="all" required="0"/> | ||
</assembly> | ||
</linker> | ||
</linker> |
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
4 changes: 4 additions & 0 deletions
4
src/tools/illink/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypePreservedByLinkXmlIsKept.xml
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,5 +1,9 @@ | ||
<linker> | ||
<assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> | ||
<type fullname="Mono.Linker.Tests.Cases.LinkXml.UnusedTypePreservedByLinkXmlIsKeptUnusedType" /> | ||
<type fullname="Mono.Linker.Tests.Cases.LinkXml.UnusedGenericTypePreservedByLinkXmlIsKept`1" preserve="none" /> | ||
<type fullname="Mono.Linker.Tests.Cases.LinkXml.UnusedGenericTypePreservedByLinkXmlIsKept`1/UnusedNestedTypePreservedByLinkXmlIsKept" preserve="none" /> | ||
<type fullname="Mono.Linker.Tests.Cases.LinkXml.UnusedGenericTypePreservedByLinkXmlIsKept`1/UnusedNestedGenericTypePreservedByLinkXmlIsKept`2" preserve="none" /> | ||
<type fullname="Mono.Linker.Tests.Cases.LinkXml.UnusedGenericTypePreservedByLinkXmlIsKept`1/UnusedNestedGenericTypePreservedByLinkXmlIsKept`2/UnusedNestedNestedGenericTypePreservedByLinkXmlIsKept`1" preserve="none" /> | ||
</assembly> | ||
</linker> |
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