diff options
author | Jackson Schuster <36744439+jtschuster@users.noreply.github.com> | 2022-01-22 06:33:47 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-22 06:33:47 +0300 |
commit | 3a06cc8cd9d28382f02540652e48f8407d97262b (patch) | |
tree | 1781659397254cc62f84f5a5fe3bf91f15077171 /test | |
parent | 58a0c60cd3d49bed61d924a2cf8453bf9cf7fc04 (diff) |
Create a schema for the LinkAttribute XML files (#2500)
Adds xml schema for ILLink.LinkAttributes.xml, and adds relative paths to the schema in xml used in unit tests to enable linting.
Diffstat (limited to 'test')
127 files changed, 263 insertions, 263 deletions
diff --git a/test/Mono.Linker.Tests.Cases/Attributes.Debugger/DebuggerAttributesRemoved.xml b/test/Mono.Linker.Tests.Cases/Attributes.Debugger/DebuggerAttributesRemoved.xml index 7b5709a0f..81c9a9dd3 100644 --- a/test/Mono.Linker.Tests.Cases/Attributes.Debugger/DebuggerAttributesRemoved.xml +++ b/test/Mono.Linker.Tests.Cases/Attributes.Debugger/DebuggerAttributesRemoved.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8" ?> -<linker> +<linker xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../src/ILLink.Shared/ILLink.LinkAttributes.xsd"> <assembly fullname="*"> <type fullname="System.Diagnostics.DebuggerTypeProxyAttribute"> <attribute internal="RemoveAttributeInstances"/> @@ -8,4 +8,4 @@ <attribute internal="RemoveAttributeInstances"/> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Attributes/OnlyKeepUsed/UnusedAttributePreservedViaLinkXmlIsKept.xml b/test/Mono.Linker.Tests.Cases/Attributes/OnlyKeepUsed/UnusedAttributePreservedViaLinkXmlIsKept.xml index 02a75666f..d8498928e 100644 --- a/test/Mono.Linker.Tests.Cases/Attributes/OnlyKeepUsed/UnusedAttributePreservedViaLinkXmlIsKept.xml +++ b/test/Mono.Linker.Tests.Cases/Attributes/OnlyKeepUsed/UnusedAttributePreservedViaLinkXmlIsKept.xml @@ -1,6 +1,6 @@ -<linker> +<linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.Attributes.OnlyKeepUsed.UnusedAttributePreservedViaLinkXmlIsKept/FooAttribute" preserve="all"> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/DataFlow/SuppressWarningWithLinkAttributes.xml b/test/Mono.Linker.Tests.Cases/DataFlow/SuppressWarningWithLinkAttributes.xml index ea59e779d..699a05d5a 100644 --- a/test/Mono.Linker.Tests.Cases/DataFlow/SuppressWarningWithLinkAttributes.xml +++ b/test/Mono.Linker.Tests.Cases/DataFlow/SuppressWarningWithLinkAttributes.xml @@ -1,5 +1,5 @@ -<?xml version="1.0" encoding="utf-8" ?> -<linker> +<?xml version="1.0" encoding="utf-8" ?> +<linker xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../src/ILLink.Shared/ILLink.LinkAttributes.xsd"> <assembly fullname="Test"> <attribute fullname="System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute"> <argument>Test</argument> @@ -16,4 +16,4 @@ </field> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/DataFlow/XmlAnnotations.xml b/test/Mono.Linker.Tests.Cases/DataFlow/XmlAnnotations.xml index 210c702a8..0834859a1 100644 --- a/test/Mono.Linker.Tests.Cases/DataFlow/XmlAnnotations.xml +++ b/test/Mono.Linker.Tests.Cases/DataFlow/XmlAnnotations.xml @@ -1,66 +1,66 @@ -<?xml version="1.0" encoding="utf-8" ?> -<linker> - <assembly fullname="Test"> - <attribute fullname="System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute"> - <argument>ILLink</argument> - <argument>IL2067</argument> - <property name="Scope">member</property> - <property name="Target">M:Mono.Linker.Tests.Cases.DataFlow.XmlAnnotations.ReadFromInstanceField</property> - </attribute> - <type fullname="Mono.Linker.Tests.Cases.DataFlow.XmlAnnotations"> - <field name="_typeWithPublicParameterlessConstructor"> - <attribute fullname="System.DoesNotExistAttribute" assembly="Mono.Linker.Tests.Cases.Expectations"> - <argument>0</argument> - </attribute> - <attribute fullname="System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute"> - <argument type="System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes">PublicParameterlessConstructor</argument> - </attribute> - </field> - <method signature="System.Void TwoAnnotatedParameters(System.Type,System.Type)"> - <parameter name="type"> - <attribute fullname="System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute"> - <argument type="System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes">PublicParameterlessConstructor</argument> - </attribute> - </parameter> - <parameter name="type2"> - <attribute fullname="System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute"> - <argument type="System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes">PublicConstructors</argument> - </attribute> - </parameter> - </method> - <method signature="SpacesBetweenParametersWrongArgument (System.Type, System.Boolean)"> - <parameter name="type"> - <attribute fullname="System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute"> - <argument type="System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes">0</argument> - </attribute> - </parameter> - </method> - <method signature="GenericMethod<T>(T,System.Type)"> - <parameter name="type"> - <attribute fullname="System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute"> - <argument type="System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes">PublicParameterlessConstructor</argument> - </attribute> - </parameter> - </method> - <method name="ReturnConstructorsFailure"> - <return> - <attribute fullname="System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute"> - <argument type="System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes">PublicParameterlessConstructor</argument> - </attribute> - </return> - </method> - <property name="PropertyWithPublicParameterlessConstructor"> - <attribute fullname="System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute"> - <argument type="System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes">PublicParameterlessConstructor</argument> - </attribute> - </property> - <type name="NestedType"> - <field name="_typeWithPublicParameterlessConstructor"> - <attribute fullname="System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute"> - <argument type="System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes">PublicParameterlessConstructor</argument> - </attribute> - </field> - </type> - </type> - </assembly> -</linker>
\ No newline at end of file +<?xml version="1.0" encoding="utf-8"?> +<linker xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../src/ILLink.Shared/ILLink.LinkAttributes.xsd"> + <assembly fullname="Test"> + <attribute fullname="System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute"> + <argument>ILLink</argument> + <argument>IL2067</argument> + <property name="Scope">member</property> + <property name="Target">M:Mono.Linker.Tests.Cases.DataFlow.XmlAnnotations.ReadFromInstanceField</property> + </attribute> + <type fullname="Mono.Linker.Tests.Cases.DataFlow.XmlAnnotations"> + <field name="_typeWithPublicParameterlessConstructor"> + <attribute fullname="System.DoesNotExistAttribute" assembly="Mono.Linker.Tests.Cases.Expectations"> + <argument>0</argument> + </attribute> + <attribute fullname="System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute"> + <argument type="System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes">PublicParameterlessConstructor</argument> + </attribute> + </field> + <method signature="System.Void TwoAnnotatedParameters(System.Type,System.Type)"> + <parameter name="type"> + <attribute fullname="System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute"> + <argument type="System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes">PublicParameterlessConstructor</argument> + </attribute> + </parameter> + <parameter name="type2"> + <attribute fullname="System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute"> + <argument type="System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes">PublicConstructors</argument> + </attribute> + </parameter> + </method> + <method signature="SpacesBetweenParametersWrongArgument (System.Type, System.Boolean)"> + <parameter name="type"> + <attribute fullname="System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute"> + <argument type="System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes">0</argument> + </attribute> + </parameter> + </method> + <method signature="GenericMethod<T>(T,System.Type)"> + <parameter name="type"> + <attribute fullname="System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute"> + <argument type="System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes">PublicParameterlessConstructor</argument> + </attribute> + </parameter> + </method> + <method name="ReturnConstructorsFailure"> + <return> + <attribute fullname="System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute"> + <argument type="System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes">PublicParameterlessConstructor</argument> + </attribute> + </return> + </method> + <property name="PropertyWithPublicParameterlessConstructor"> + <attribute fullname="System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute"> + <argument type="System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes">PublicParameterlessConstructor</argument> + </attribute> + </property> + <type name="NestedType"> + <field name="_typeWithPublicParameterlessConstructor"> + <attribute fullname="System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute"> + <argument type="System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes">PublicParameterlessConstructor</argument> + </attribute> + </field> + </type> + </type> + </assembly> +</linker> diff --git a/test/Mono.Linker.Tests.Cases/DynamicDependencies/Dependencies/DynamicDependencyMethodInNonReferencedAssemblyLibrary.xml b/test/Mono.Linker.Tests.Cases/DynamicDependencies/Dependencies/DynamicDependencyMethodInNonReferencedAssemblyLibrary.xml index 5cad4f63d..cdfc173ba 100644 --- a/test/Mono.Linker.Tests.Cases/DynamicDependencies/Dependencies/DynamicDependencyMethodInNonReferencedAssemblyLibrary.xml +++ b/test/Mono.Linker.Tests.Cases/DynamicDependencies/Dependencies/DynamicDependencyMethodInNonReferencedAssemblyLibrary.xml @@ -1,5 +1,5 @@ -<linker> +<linker> <assembly fullname="DynamicDependencyMethodInNonReferencedAssemblyLibrary, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.DynamicDependencies.Dependencies.DynamicDependencyMethodInNonReferencedAssemblyLibrary" preserve="all" /> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/DynamicDependencies/DynamicDependencyFromAttributeXml.mono.Attributes.xml b/test/Mono.Linker.Tests.Cases/DynamicDependencies/DynamicDependencyFromAttributeXml.mono.Attributes.xml index eb7285606..5c47e5b50 100644 --- a/test/Mono.Linker.Tests.Cases/DynamicDependencies/DynamicDependencyFromAttributeXml.mono.Attributes.xml +++ b/test/Mono.Linker.Tests.Cases/DynamicDependencies/DynamicDependencyFromAttributeXml.mono.Attributes.xml @@ -1,4 +1,4 @@ -<?xml version="1.0" encoding="utf-8" ?> +<?xml version="1.0" encoding="utf-8" ?> <linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.DynamicDependencies.DynamicDependencyFromAttributeXml"> @@ -15,4 +15,4 @@ </method> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/DynamicDependencies/DynamicDependencyFromAttributeXml.netcore.Attributes.xml b/test/Mono.Linker.Tests.Cases/DynamicDependencies/DynamicDependencyFromAttributeXml.netcore.Attributes.xml index e6624a8d3..6ac287042 100644 --- a/test/Mono.Linker.Tests.Cases/DynamicDependencies/DynamicDependencyFromAttributeXml.netcore.Attributes.xml +++ b/test/Mono.Linker.Tests.Cases/DynamicDependencies/DynamicDependencyFromAttributeXml.netcore.Attributes.xml @@ -1,5 +1,5 @@ -<?xml version="1.0" encoding="utf-8" ?> -<linker> +<?xml version="1.0" encoding="utf-8" ?> +<linker xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../src/ILLink.Shared/ILLink.LinkAttributes.xsd"> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.DynamicDependencies.DynamicDependencyFromAttributeXml"> <method name="DependencyToUnusedMethod"> @@ -15,4 +15,4 @@ </method> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/DynamicDependencies/DynamicDependencyFromAttributeXmlOnNonReferencedAssembly.mono.Attributes.xml b/test/Mono.Linker.Tests.Cases/DynamicDependencies/DynamicDependencyFromAttributeXmlOnNonReferencedAssembly.mono.Attributes.xml index 22f530bd5..a753e7bd8 100644 --- a/test/Mono.Linker.Tests.Cases/DynamicDependencies/DynamicDependencyFromAttributeXmlOnNonReferencedAssembly.mono.Attributes.xml +++ b/test/Mono.Linker.Tests.Cases/DynamicDependencies/DynamicDependencyFromAttributeXmlOnNonReferencedAssembly.mono.Attributes.xml @@ -1,4 +1,4 @@ -<?xml version="1.0" encoding="utf-8" ?> +<?xml version="1.0" encoding="utf-8" ?> <linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.DynamicDependencies.DynamicDependencyFromAttributeXmlOnNonReferencedAssembly"> @@ -18,4 +18,4 @@ </field> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/DynamicDependencies/DynamicDependencyFromAttributeXmlOnNonReferencedAssembly.netcore.Attributes.xml b/test/Mono.Linker.Tests.Cases/DynamicDependencies/DynamicDependencyFromAttributeXmlOnNonReferencedAssembly.netcore.Attributes.xml index 67b9cbeac..41b76603b 100644 --- a/test/Mono.Linker.Tests.Cases/DynamicDependencies/DynamicDependencyFromAttributeXmlOnNonReferencedAssembly.netcore.Attributes.xml +++ b/test/Mono.Linker.Tests.Cases/DynamicDependencies/DynamicDependencyFromAttributeXmlOnNonReferencedAssembly.netcore.Attributes.xml @@ -1,5 +1,5 @@ -<?xml version="1.0" encoding="utf-8" ?> -<linker> +<?xml version="1.0" encoding="utf-8" ?> +<linker xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../src/ILLink.Shared/ILLink.LinkAttributes.xsd"> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.DynamicDependencies.DynamicDependencyFromAttributeXmlOnNonReferencedAssembly"> <method name="MethodWithDependencyInXml"> @@ -18,4 +18,4 @@ </field> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/FeatureSettings/FeatureDescriptors.xml b/test/Mono.Linker.Tests.Cases/FeatureSettings/FeatureDescriptors.xml index 14435336d..c2b88aa41 100644 --- a/test/Mono.Linker.Tests.Cases/FeatureSettings/FeatureDescriptors.xml +++ b/test/Mono.Linker.Tests.Cases/FeatureSettings/FeatureDescriptors.xml @@ -47,4 +47,4 @@ <field name="DefaultConditionFalse" /> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/FeatureSettings/FeatureDescriptorsGlobalFalse.xml b/test/Mono.Linker.Tests.Cases/FeatureSettings/FeatureDescriptorsGlobalFalse.xml index 20a0d37e1..11319fb0e 100644 --- a/test/Mono.Linker.Tests.Cases/FeatureSettings/FeatureDescriptorsGlobalFalse.xml +++ b/test/Mono.Linker.Tests.Cases/FeatureSettings/FeatureDescriptorsGlobalFalse.xml @@ -5,4 +5,4 @@ <field name="GlobalConditionFalse" /> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/FeatureSettings/FeatureDescriptorsGlobalTrue.xml b/test/Mono.Linker.Tests.Cases/FeatureSettings/FeatureDescriptorsGlobalTrue.xml index 495d8d823..70ac07a32 100644 --- a/test/Mono.Linker.Tests.Cases/FeatureSettings/FeatureDescriptorsGlobalTrue.xml +++ b/test/Mono.Linker.Tests.Cases/FeatureSettings/FeatureDescriptorsGlobalTrue.xml @@ -5,4 +5,4 @@ <field name="GlobalConditionTrue" /> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/FeatureSettings/FeatureSubstitutions.xml b/test/Mono.Linker.Tests.Cases/FeatureSettings/FeatureSubstitutions.xml index 2d006ecea..289e2da4c 100644 --- a/test/Mono.Linker.Tests.Cases/FeatureSettings/FeatureSubstitutions.xml +++ b/test/Mono.Linker.Tests.Cases/FeatureSettings/FeatureSubstitutions.xml @@ -16,4 +16,4 @@ <method signature ="System.Boolean get_IsDefaultFeatureEnabled()" body="stub" value="false" /> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/FeatureSettings/FeatureSubstitutionsGlobalFalse.xml b/test/Mono.Linker.Tests.Cases/FeatureSettings/FeatureSubstitutionsGlobalFalse.xml index 71b53b7fe..afa6c53df 100644 --- a/test/Mono.Linker.Tests.Cases/FeatureSettings/FeatureSubstitutionsGlobalFalse.xml +++ b/test/Mono.Linker.Tests.Cases/FeatureSettings/FeatureSubstitutionsGlobalFalse.xml @@ -6,4 +6,4 @@ </method> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/FeatureSettings/FeatureSubstitutionsGlobalTrue.xml b/test/Mono.Linker.Tests.Cases/FeatureSettings/FeatureSubstitutionsGlobalTrue.xml index 9e9f85eb0..45e28fed8 100644 --- a/test/Mono.Linker.Tests.Cases/FeatureSettings/FeatureSubstitutionsGlobalTrue.xml +++ b/test/Mono.Linker.Tests.Cases/FeatureSettings/FeatureSubstitutionsGlobalTrue.xml @@ -6,4 +6,4 @@ </method> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/FeatureSettings/FeatureSubstitutionsInvalid.xml b/test/Mono.Linker.Tests.Cases/FeatureSettings/FeatureSubstitutionsInvalid.xml index 78cc55ac5..d87ad76ea 100644 --- a/test/Mono.Linker.Tests.Cases/FeatureSettings/FeatureSubstitutionsInvalid.xml +++ b/test/Mono.Linker.Tests.Cases/FeatureSettings/FeatureSubstitutionsInvalid.xml @@ -10,4 +10,4 @@ <method signature="NonExistentMethod" /> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/FeatureSettings/FeatureSubstitutionsNested.xml b/test/Mono.Linker.Tests.Cases/FeatureSettings/FeatureSubstitutionsNested.xml index 224214377..ce4ca0d56 100644 --- a/test/Mono.Linker.Tests.Cases/FeatureSettings/FeatureSubstitutionsNested.xml +++ b/test/Mono.Linker.Tests.Cases/FeatureSettings/FeatureSubstitutionsNested.xml @@ -31,4 +31,4 @@ <method signature="System.Boolean AssemblyConditionMethod()" body="stub" value="true" /> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Inheritance.AbstractClasses/NoKeptCtor/OverrideRemoval/PreservesOverriddenMethodOverrideOfUsedVirtualStillRemoved.xml b/test/Mono.Linker.Tests.Cases/Inheritance.AbstractClasses/NoKeptCtor/OverrideRemoval/PreservesOverriddenMethodOverrideOfUsedVirtualStillRemoved.xml index 932f34d59..2c89c730c 100644 --- a/test/Mono.Linker.Tests.Cases/Inheritance.AbstractClasses/NoKeptCtor/OverrideRemoval/PreservesOverriddenMethodOverrideOfUsedVirtualStillRemoved.xml +++ b/test/Mono.Linker.Tests.Cases/Inheritance.AbstractClasses/NoKeptCtor/OverrideRemoval/PreservesOverriddenMethodOverrideOfUsedVirtualStillRemoved.xml @@ -4,4 +4,4 @@ <method name="Foo"/> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Inheritance.AbstractClasses/NoKeptCtor/OverrideRemoval/PreservesOverriddenMethodOverrideOfUsedVirtualStillRemoved2.xml b/test/Mono.Linker.Tests.Cases/Inheritance.AbstractClasses/NoKeptCtor/OverrideRemoval/PreservesOverriddenMethodOverrideOfUsedVirtualStillRemoved2.xml index 1395ed53f..c8f331492 100644 --- a/test/Mono.Linker.Tests.Cases/Inheritance.AbstractClasses/NoKeptCtor/OverrideRemoval/PreservesOverriddenMethodOverrideOfUsedVirtualStillRemoved2.xml +++ b/test/Mono.Linker.Tests.Cases/Inheritance.AbstractClasses/NoKeptCtor/OverrideRemoval/PreservesOverriddenMethodOverrideOfUsedVirtualStillRemoved2.xml @@ -4,4 +4,4 @@ <method name="Foo"/> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/InterfaceMarkOrderingDoesNotMatter.xml b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/InterfaceMarkOrderingDoesNotMatter.xml index 3acce8472..cf6110d0f 100644 --- a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/InterfaceMarkOrderingDoesNotMatter.xml +++ b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/InterfaceMarkOrderingDoesNotMatter.xml @@ -8,4 +8,4 @@ </type> <type fullname="Mono.Linker.Tests.Cases.Inheritance.Interfaces.OnReferenceType.InterfaceMarkOrderingDoesNotMatter/E" preserve="methods"/> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/InterfaceMarkOrderingDoesNotMatter2.xml b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/InterfaceMarkOrderingDoesNotMatter2.xml index da1a70f25..0263372a6 100644 --- a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/InterfaceMarkOrderingDoesNotMatter2.xml +++ b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/InterfaceMarkOrderingDoesNotMatter2.xml @@ -8,4 +8,4 @@ </type> <type fullname="Mono.Linker.Tests.Cases.Inheritance.Interfaces.OnReferenceType.InterfaceMarkOrderingDoesNotMatter2_Z/E" preserve="methods"/> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/InterfaceMarkOrderingDoesNotMatter3.xml b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/InterfaceMarkOrderingDoesNotMatter3.xml index 7b6a3c763..5643f8ba4 100644 --- a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/InterfaceMarkOrderingDoesNotMatter3.xml +++ b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/InterfaceMarkOrderingDoesNotMatter3.xml @@ -4,4 +4,4 @@ <method name=".ctor"/> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoInstanceCtor/NoInstanceCtorAndAssemblyPreserveAll.xml b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoInstanceCtor/NoInstanceCtorAndAssemblyPreserveAll.xml index 82bd1ac97..78f15870b 100644 --- a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoInstanceCtor/NoInstanceCtorAndAssemblyPreserveAll.xml +++ b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoInstanceCtor/NoInstanceCtorAndAssemblyPreserveAll.xml @@ -1,3 +1,3 @@ <linker> <assembly fullname="library, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null" preserve="all"/> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoInstanceCtor/NoInstanceCtorAndTypePreserveAll.xml b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoInstanceCtor/NoInstanceCtorAndTypePreserveAll.xml index b6a27cfed..66c11393d 100644 --- a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoInstanceCtor/NoInstanceCtorAndTypePreserveAll.xml +++ b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoInstanceCtor/NoInstanceCtorAndTypePreserveAll.xml @@ -2,4 +2,4 @@ <assembly fullname="library, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.Inheritance.Interfaces.OnReferenceType.NoInstanceCtor.Dependencies.NoInstanceCtorAndAssemblyPreserveAll_Lib/A" preserve="all"/> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoInstanceCtor/NoInstanceCtorAndTypePreserveFields.xml b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoInstanceCtor/NoInstanceCtorAndTypePreserveFields.xml index 94b681a9d..f03d3e823 100644 --- a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoInstanceCtor/NoInstanceCtorAndTypePreserveFields.xml +++ b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoInstanceCtor/NoInstanceCtorAndTypePreserveFields.xml @@ -2,4 +2,4 @@ <assembly fullname="library, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.Inheritance.Interfaces.OnReferenceType.NoInstanceCtor.Dependencies.NoInstanceCtorAndAssemblyPreserveAll_Lib/A" preserve="fields"/> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoInstanceCtor/NoInstanceCtorAndTypePreserveFieldsWithInterfacesMarked.xml b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoInstanceCtor/NoInstanceCtorAndTypePreserveFieldsWithInterfacesMarked.xml index 674b3ca86..b69fe6462 100644 --- a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoInstanceCtor/NoInstanceCtorAndTypePreserveFieldsWithInterfacesMarked.xml +++ b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoInstanceCtor/NoInstanceCtorAndTypePreserveFieldsWithInterfacesMarked.xml @@ -3,4 +3,4 @@ <type fullname="Mono.Linker.Tests.Cases.Inheritance.Interfaces.OnReferenceType.NoInstanceCtor.Dependencies.NoInstanceCtorAndAssemblyPreserveAll_Lib/A" preserve="fields"/> <type fullname="Mono.Linker.Tests.Cases.Inheritance.Interfaces.OnReferenceType.NoInstanceCtor.Dependencies.NoInstanceCtorAndAssemblyPreserveAll_Lib/IBar" preserve="none"/> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoInstanceCtor/NoInstanceCtorAndTypePreserveMethods.xml b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoInstanceCtor/NoInstanceCtorAndTypePreserveMethods.xml index 00a06f0c9..376c8da44 100644 --- a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoInstanceCtor/NoInstanceCtorAndTypePreserveMethods.xml +++ b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoInstanceCtor/NoInstanceCtorAndTypePreserveMethods.xml @@ -2,4 +2,4 @@ <assembly fullname="library, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.Inheritance.Interfaces.OnReferenceType.NoInstanceCtor.Dependencies.NoInstanceCtorAndAssemblyPreserveAll_Lib/A" preserve="methods"/> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoInstanceCtor/NoInstanceCtorAndTypePreserveMethodsWithInterfacesMarked.xml b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoInstanceCtor/NoInstanceCtorAndTypePreserveMethodsWithInterfacesMarked.xml index 95d6579de..a8bf95b4a 100644 --- a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoInstanceCtor/NoInstanceCtorAndTypePreserveMethodsWithInterfacesMarked.xml +++ b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoInstanceCtor/NoInstanceCtorAndTypePreserveMethodsWithInterfacesMarked.xml @@ -3,4 +3,4 @@ <type fullname="Mono.Linker.Tests.Cases.Inheritance.Interfaces.OnReferenceType.NoInstanceCtor.Dependencies.NoInstanceCtorAndAssemblyPreserveAll_Lib/A" preserve="methods"/> <type fullname="Mono.Linker.Tests.Cases.Inheritance.Interfaces.OnReferenceType.NoInstanceCtor.Dependencies.NoInstanceCtorAndAssemblyPreserveAll_Lib/IBar" preserve="none"/> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoInstanceCtor/NoInstanceCtorAndTypePreserveNone.xml b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoInstanceCtor/NoInstanceCtorAndTypePreserveNone.xml index 079694287..ef7b6b03f 100644 --- a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoInstanceCtor/NoInstanceCtorAndTypePreserveNone.xml +++ b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoInstanceCtor/NoInstanceCtorAndTypePreserveNone.xml @@ -2,4 +2,4 @@ <assembly fullname="library, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.Inheritance.Interfaces.OnReferenceType.NoInstanceCtor.Dependencies.NoInstanceCtorAndAssemblyPreserveAll_Lib/A" preserve="none"/> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoKeptCtor/UnusedTypeHasExplicitInterfaceMethodPreservedViaXml.xml b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoKeptCtor/UnusedTypeHasExplicitInterfaceMethodPreservedViaXml.xml index 608579eab..d6d0e1a23 100644 --- a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoKeptCtor/UnusedTypeHasExplicitInterfaceMethodPreservedViaXml.xml +++ b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoKeptCtor/UnusedTypeHasExplicitInterfaceMethodPreservedViaXml.xml @@ -4,4 +4,4 @@ <method signature="System.Void Mono.Linker.Tests.Cases.Inheritance.Interfaces.OnReferenceType.NoKeptCtor.UnusedTypeHasExplicitInterfaceMethodPreservedViaXml.IFoo.Foo()"/> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoKeptCtor/UnusedTypeHasExplicitInterfacePropertyPreservedViaXml.xml b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoKeptCtor/UnusedTypeHasExplicitInterfacePropertyPreservedViaXml.xml index f821a3d88..7b3aee27d 100644 --- a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoKeptCtor/UnusedTypeHasExplicitInterfacePropertyPreservedViaXml.xml +++ b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoKeptCtor/UnusedTypeHasExplicitInterfacePropertyPreservedViaXml.xml @@ -4,4 +4,4 @@ <property signature="System.Int32 Mono.Linker.Tests.Cases.Inheritance.Interfaces.OnReferenceType.NoKeptCtor.UnusedTypeHasExplicitInterfacePropertyPreservedViaXml.IFoo.Foo"/> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoKeptCtor/UnusedTypeHasInterfaceMethodPreservedViaXml.xml b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoKeptCtor/UnusedTypeHasInterfaceMethodPreservedViaXml.xml index 2abd15c89..e87907328 100644 --- a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoKeptCtor/UnusedTypeHasInterfaceMethodPreservedViaXml.xml +++ b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoKeptCtor/UnusedTypeHasInterfaceMethodPreservedViaXml.xml @@ -4,4 +4,4 @@ <method signature="System.Void Foo()"/> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoKeptCtor/UnusedTypeWithPreserveFields.xml b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoKeptCtor/UnusedTypeWithPreserveFields.xml index 9106c06bd..2b2484c4c 100644 --- a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoKeptCtor/UnusedTypeWithPreserveFields.xml +++ b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoKeptCtor/UnusedTypeWithPreserveFields.xml @@ -2,4 +2,4 @@ <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.Inheritance.Interfaces.OnReferenceType.NoKeptCtor.UnusedTypeWithPreserveFields/A" preserve="fields"/> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoKeptCtor/UnusedTypeWithPreserveMethods.xml b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoKeptCtor/UnusedTypeWithPreserveMethods.xml index f75f875b7..16367b019 100644 --- a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoKeptCtor/UnusedTypeWithPreserveMethods.xml +++ b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoKeptCtor/UnusedTypeWithPreserveMethods.xml @@ -2,4 +2,4 @@ <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.Inheritance.Interfaces.OnReferenceType.NoKeptCtor.UnusedTypeWithPreserveMethods/A" preserve="methods"/> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoKeptCtor/UnusedTypeWithPreserveMethodsAndInterfaceTypeMarked.xml b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoKeptCtor/UnusedTypeWithPreserveMethodsAndInterfaceTypeMarked.xml index 7a61853c9..950e9b98b 100644 --- a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoKeptCtor/UnusedTypeWithPreserveMethodsAndInterfaceTypeMarked.xml +++ b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/NoKeptCtor/UnusedTypeWithPreserveMethodsAndInterfaceTypeMarked.xml @@ -3,4 +3,4 @@ <type fullname="Mono.Linker.Tests.Cases.Inheritance.Interfaces.OnReferenceType.NoKeptCtor.UnusedTypeWithPreserveMethodsAndInterfaceTypeMarked/A" preserve="methods"/> <type fullname="Mono.Linker.Tests.Cases.Inheritance.Interfaces.OnReferenceType.NoKeptCtor.UnusedTypeWithPreserveMethodsAndInterfaceTypeMarked/IBar" preserve="none"/> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/UnusedExplicitInterfaceHasMethodPreservedViaXml.xml b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/UnusedExplicitInterfaceHasMethodPreservedViaXml.xml index 8a6a8d28e..e21b5490e 100644 --- a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/UnusedExplicitInterfaceHasMethodPreservedViaXml.xml +++ b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/UnusedExplicitInterfaceHasMethodPreservedViaXml.xml @@ -2,4 +2,4 @@ <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.Inheritance.Interfaces.OnReferenceType.UnusedExplicitInterfaceHasMethodPreservedViaXml/A" preserve="methods"/> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/UnusedInterfaceHasMethodPreservedViaXml.xml b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/UnusedInterfaceHasMethodPreservedViaXml.xml index 0db48c0df..324263865 100644 --- a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/UnusedInterfaceHasMethodPreservedViaXml.xml +++ b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnReferenceType/UnusedInterfaceHasMethodPreservedViaXml.xml @@ -2,4 +2,4 @@ <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.Inheritance.Interfaces.OnReferenceType.UnusedInterfaceHasMethodPreservedViaXml/A" preserve="methods"/> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnValueType/UnusedExplicitInterfaceHasMethodPreservedViaXml.xml b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnValueType/UnusedExplicitInterfaceHasMethodPreservedViaXml.xml index 988ac904d..bc819df99 100644 --- a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnValueType/UnusedExplicitInterfaceHasMethodPreservedViaXml.xml +++ b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnValueType/UnusedExplicitInterfaceHasMethodPreservedViaXml.xml @@ -2,4 +2,4 @@ <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.Inheritance.Interfaces.OnValueType.UnusedExplicitInterfaceHasMethodPreservedViaXml/A" preserve="methods"/> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnValueType/UnusedInterfaceHasMethodPreservedViaXml.xml b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnValueType/UnusedInterfaceHasMethodPreservedViaXml.xml index 1788f88b8..76a2623f5 100644 --- a/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnValueType/UnusedInterfaceHasMethodPreservedViaXml.xml +++ b/test/Mono.Linker.Tests.Cases/Inheritance.Interfaces/OnValueType/UnusedInterfaceHasMethodPreservedViaXml.xml @@ -2,4 +2,4 @@ <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.Inheritance.Interfaces.OnValueType.UnusedInterfaceHasMethodPreservedViaXml/A" preserve="methods"/> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Libraries/RootLibraryVisibleAndDescriptor.xml b/test/Mono.Linker.Tests.Cases/Libraries/RootLibraryVisibleAndDescriptor.xml index f6f0705d4..ac1806d25 100644 --- a/test/Mono.Linker.Tests.Cases/Libraries/RootLibraryVisibleAndDescriptor.xml +++ b/test/Mono.Linker.Tests.Cases/Libraries/RootLibraryVisibleAndDescriptor.xml @@ -4,4 +4,4 @@ <method name="UnusedInternalMethod_Descriptor" /> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/LinkAttributes/AssemblyLevelLinkerAttributeRemoval.xml b/test/Mono.Linker.Tests.Cases/LinkAttributes/AssemblyLevelLinkerAttributeRemoval.xml index a9e2a798d..1e12d8582 100644 --- a/test/Mono.Linker.Tests.Cases/LinkAttributes/AssemblyLevelLinkerAttributeRemoval.xml +++ b/test/Mono.Linker.Tests.Cases/LinkAttributes/AssemblyLevelLinkerAttributeRemoval.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="utf-8" ?> -<linker> +<linker xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../src/ILLink.Shared/ILLink.LinkAttributes.xsd"> <assembly fullname="*"> <type fullname="Mono.Linker.Tests.Cases.TestAttributeLib.MyAttribute"> <attribute internal="RemoveAttributeInstances"/> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/LinkAttributes/Dependencies/EmbeddedAttributeErrorCases.xml b/test/Mono.Linker.Tests.Cases/LinkAttributes/Dependencies/EmbeddedAttributeErrorCases.xml index bdf245917..6b419e2ff 100644 --- a/test/Mono.Linker.Tests.Cases/LinkAttributes/Dependencies/EmbeddedAttributeErrorCases.xml +++ b/test/Mono.Linker.Tests.Cases/LinkAttributes/Dependencies/EmbeddedAttributeErrorCases.xml @@ -1,4 +1,4 @@ -<linker> +<linker xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../src/ILLink.Shared/ILLink.LinkAttributes.xsd"> <!-- IL2100 --> <assembly fullname="*" /> <!-- IL2101 --> @@ -7,4 +7,4 @@ <attribute fullname="Mono.Linker.Tests.Cases.LinkAttributes.LinkAttributeErrorCases/FirstAttribute" /> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/LinkAttributes/Dependencies/LinkerAttributeRemovalAndPreserveAssembly_Lib.Descriptor.xml b/test/Mono.Linker.Tests.Cases/LinkAttributes/Dependencies/LinkerAttributeRemovalAndPreserveAssembly_Lib.Descriptor.xml index 4fa3f75f9..d5ca5b732 100644 --- a/test/Mono.Linker.Tests.Cases/LinkAttributes/Dependencies/LinkerAttributeRemovalAndPreserveAssembly_Lib.Descriptor.xml +++ b/test/Mono.Linker.Tests.Cases/LinkAttributes/Dependencies/LinkerAttributeRemovalAndPreserveAssembly_Lib.Descriptor.xml @@ -1,4 +1,4 @@ -<?xml version="1.0" encoding="utf-8" ?> +<?xml version="1.0" encoding="utf-8" ?> <linker> <assembly fullname="test" /> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/LinkAttributes/Dependencies/TestRemoveAttribute.xml b/test/Mono.Linker.Tests.Cases/LinkAttributes/Dependencies/TestRemoveAttribute.xml index d3eb371d0..b57be762e 100644 --- a/test/Mono.Linker.Tests.Cases/LinkAttributes/Dependencies/TestRemoveAttribute.xml +++ b/test/Mono.Linker.Tests.Cases/LinkAttributes/Dependencies/TestRemoveAttribute.xml @@ -1,7 +1,7 @@ -<linker> +<linker xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../src/ILLink.Shared/ILLink.LinkAttributes.xsd"> <assembly fullname="attributes"> <type fullname="Mono.Linker.Tests.Cases.LinkAttributes.Dependencies.TestRemoveAttribute"> <attribute internal="RemoveAttributeInstances"/> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/LinkAttributes/EmbeddedLinkAttributes.xml b/test/Mono.Linker.Tests.Cases/LinkAttributes/EmbeddedLinkAttributes.xml index b006fe2c0..943133a9e 100644 --- a/test/Mono.Linker.Tests.Cases/LinkAttributes/EmbeddedLinkAttributes.xml +++ b/test/Mono.Linker.Tests.Cases/LinkAttributes/EmbeddedLinkAttributes.xml @@ -1,4 +1,4 @@ -<linker> +<linker xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../src/ILLink.Shared/ILLink.LinkAttributes.xsd"> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.LinkAttributes.EmbeddedLinkAttributes"> <field name="_typeWithPublicParameterlessConstructor"> @@ -15,4 +15,4 @@ </attribute> </field> </type> -</linker> +</linker>
\ No newline at end of file diff --git a/test/Mono.Linker.Tests.Cases/LinkAttributes/LinkAttributeErrorCases.xml b/test/Mono.Linker.Tests.Cases/LinkAttributes/LinkAttributeErrorCases.xml index 8d6608eba..8471864ed 100644 --- a/test/Mono.Linker.Tests.Cases/LinkAttributes/LinkAttributeErrorCases.xml +++ b/test/Mono.Linker.Tests.Cases/LinkAttributes/LinkAttributeErrorCases.xml @@ -1,5 +1,5 @@ -<?xml version="1.0" encoding="utf-8" ?> -<linker> +<?xml version="1.0" encoding="utf-8" ?> +<linker xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../src/ILLink.Shared/ILLink.LinkAttributes.xsd"> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.LinkAttributes.LinkAttributeErrorCases"> <!-- IL2030 --> diff --git a/test/Mono.Linker.Tests.Cases/LinkAttributes/LinkerAttributeRemoval.xml b/test/Mono.Linker.Tests.Cases/LinkAttributes/LinkerAttributeRemoval.xml index aad34e6eb..4dcf55e37 100644 --- a/test/Mono.Linker.Tests.Cases/LinkAttributes/LinkerAttributeRemoval.xml +++ b/test/Mono.Linker.Tests.Cases/LinkAttributes/LinkerAttributeRemoval.xml @@ -1,5 +1,5 @@ -<?xml version="1.0" encoding="utf-8" ?> -<linker> +<?xml version="1.0" encoding="utf-8" ?> +<linker xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../src/ILLink.Shared/ILLink.LinkAttributes.xsd"> <assembly fullname="*"> <type fullname="System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute"> <attribute internal="RemoveAttributeInstances"/> @@ -43,4 +43,4 @@ <attribute internal="RemoveAttributeInstances"/> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/LinkAttributes/LinkerAttributeRemovalAndPreserveAssembly.LinkAttributes.xml b/test/Mono.Linker.Tests.Cases/LinkAttributes/LinkerAttributeRemovalAndPreserveAssembly.LinkAttributes.xml index b28401f8a..678898671 100644 --- a/test/Mono.Linker.Tests.Cases/LinkAttributes/LinkerAttributeRemovalAndPreserveAssembly.LinkAttributes.xml +++ b/test/Mono.Linker.Tests.Cases/LinkAttributes/LinkerAttributeRemovalAndPreserveAssembly.LinkAttributes.xml @@ -1,5 +1,5 @@ -<?xml version="1.0" encoding="utf-8" ?> -<linker> +<?xml version="1.0" encoding="utf-8" ?> +<linker xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../src/ILLink.Shared/ILLink.LinkAttributes.xsd"> <assembly fullname="*"> <type fullname="Mono.Linker.Tests.Cases.LinkAttributes.AttributeToRemoveAttribute"> <attribute internal="RemoveAttributeInstances"/> diff --git a/test/Mono.Linker.Tests.Cases/LinkAttributes/LinkerAttributeRemovalConditional.xml b/test/Mono.Linker.Tests.Cases/LinkAttributes/LinkerAttributeRemovalConditional.xml index b37f57dbb..b89cfa186 100644 --- a/test/Mono.Linker.Tests.Cases/LinkAttributes/LinkerAttributeRemovalConditional.xml +++ b/test/Mono.Linker.Tests.Cases/LinkAttributes/LinkerAttributeRemovalConditional.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8" ?> -<linker> +<linker xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../src/ILLink.Shared/ILLink.LinkAttributes.xsd"> <assembly fullname="test"> <type fullname="Mono.Linker.Tests.Cases.LinkAttributes.TestConditionalRemoveAttribute"> <attribute internal="RemoveAttributeInstances"> @@ -23,4 +23,4 @@ </attribute> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/LinkAttributes/LinkerAttributeRemovalWithOverride.xml b/test/Mono.Linker.Tests.Cases/LinkAttributes/LinkerAttributeRemovalWithOverride.xml index bcb01de07..109596c9f 100644 --- a/test/Mono.Linker.Tests.Cases/LinkAttributes/LinkerAttributeRemovalWithOverride.xml +++ b/test/Mono.Linker.Tests.Cases/LinkAttributes/LinkerAttributeRemovalWithOverride.xml @@ -1,5 +1,5 @@ -<?xml version="1.0" encoding="utf-8" ?> -<linker> +<?xml version="1.0" encoding="utf-8" ?> +<linker xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../src/ILLink.Shared/ILLink.LinkAttributes.xsd"> <assembly fullname="*"> <type fullname="System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute"> <attribute internal="RemoveAttributeInstances"/> diff --git a/test/Mono.Linker.Tests.Cases/LinkAttributes/OverrideAttributeRemoval.xml b/test/Mono.Linker.Tests.Cases/LinkAttributes/OverrideAttributeRemoval.xml index b87939b67..3991969c5 100644 --- a/test/Mono.Linker.Tests.Cases/LinkAttributes/OverrideAttributeRemoval.xml +++ b/test/Mono.Linker.Tests.Cases/LinkAttributes/OverrideAttributeRemoval.xml @@ -1,4 +1,4 @@ -<?xml version="1.0" encoding="utf-8" ?> +<?xml version="1.0" encoding="utf-8" ?> <linker> <assembly fullname="Mono.Linker.Tests.Cases.Expectations"> <type fullname="System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute"/> @@ -6,4 +6,4 @@ <assembly fullname="System.Runtime"> <type fullname="System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembersAttribute"/> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/LinkAttributes/TypedArguments.xml b/test/Mono.Linker.Tests.Cases/LinkAttributes/TypedArguments.xml index 639bb02f8..7c30bfb4b 100644 --- a/test/Mono.Linker.Tests.Cases/LinkAttributes/TypedArguments.xml +++ b/test/Mono.Linker.Tests.Cases/LinkAttributes/TypedArguments.xml @@ -1,4 +1,4 @@ -<linker> +<linker xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../src/ILLink.Shared/ILLink.LinkAttributes.xsd"> <assembly fullname="test"> <type fullname="Mono.Linker.Tests.Cases.LinkAttributes.TypedArguments"> <field name="field1"> diff --git a/test/Mono.Linker.Tests.Cases/LinkAttributes/TypedArgumentsErrors.xml b/test/Mono.Linker.Tests.Cases/LinkAttributes/TypedArgumentsErrors.xml index e71703e19..be6d0650c 100644 --- a/test/Mono.Linker.Tests.Cases/LinkAttributes/TypedArgumentsErrors.xml +++ b/test/Mono.Linker.Tests.Cases/LinkAttributes/TypedArgumentsErrors.xml @@ -1,4 +1,4 @@ -<linker> +<linker xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../src/ILLink.Shared/ILLink.LinkAttributes.xsd"> <assembly fullname="test"> <type fullname="Mono.Linker.Tests.Cases.LinkAttributes.TypedArgumentsErrors"> <field name="field"> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/CanPreserveAnExportedType.xml b/test/Mono.Linker.Tests.Cases/LinkXml/CanPreserveAnExportedType.xml index f469bb982..a902f9071 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/CanPreserveAnExportedType.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/CanPreserveAnExportedType.xml @@ -1,4 +1,4 @@ -<linker> +<linker> <assembly fullname="Forwarder, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.LinkXml.Dependencies.CanPreserveAnExportedType_Library" preserve="all"> </type> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/CanPreserveExcludedFeatureCom.xml b/test/Mono.Linker.Tests.Cases/LinkXml/CanPreserveExcludedFeatureCom.xml index bcd942aaf..4b252bd6d 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/CanPreserveExcludedFeatureCom.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/CanPreserveExcludedFeatureCom.xml @@ -1,4 +1,4 @@ -<linker> +<linker> <assembly fullname="mscorlib"> <type fullname="System.Runtime.InteropServices.GuidAttribute" preserve="all"> </type> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/CanPreserveExportedTypesUsingRegex.xml b/test/Mono.Linker.Tests.Cases/LinkXml/CanPreserveExportedTypesUsingRegex.xml index b5827e265..bf861fb2b 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/CanPreserveExportedTypesUsingRegex.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/CanPreserveExportedTypesUsingRegex.xml @@ -1,4 +1,4 @@ -<linker> +<linker> <assembly fullname="Forwarder, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Can*" preserve="all"> </type> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/CanPreserveTypesUsingRegex.xml b/test/Mono.Linker.Tests.Cases/LinkXml/CanPreserveTypesUsingRegex.xml index 12f870c04..b2fd04071 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/CanPreserveTypesUsingRegex.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/CanPreserveTypesUsingRegex.xml @@ -1,6 +1,6 @@ -<linker> +<linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Can*" /> <type fullname="Mono.Linker.Tests.Cases.LinkXml.PreserveNamespace*" /> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/Dependencies/EmbeddedLinkXmlPreservesAdditionalAssemblyWithOverriddenMethod/Library1.xml b/test/Mono.Linker.Tests.Cases/LinkXml/Dependencies/EmbeddedLinkXmlPreservesAdditionalAssemblyWithOverriddenMethod/Library1.xml index 58f90df91..191407292 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/Dependencies/EmbeddedLinkXmlPreservesAdditionalAssemblyWithOverriddenMethod/Library1.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/Dependencies/EmbeddedLinkXmlPreservesAdditionalAssemblyWithOverriddenMethod/Library1.xml @@ -1,12 +1,12 @@ -<linker> +<linker> <assembly fullname="Library1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> - <type fullname="Mono.Linker.Tests.Cases.LinkXml.Dependencies.EmbeddedLinkXmlPreservesAdditionalAssemblyWithOverriddenMethod.Library1Secondary" preserve="nothing"> + <type fullname="Mono.Linker.Tests.Cases.LinkXml.Dependencies.EmbeddedLinkXmlPreservesAdditionalAssemblyWithOverriddenMethod.Library1Secondary" preserve="none"> <!-- Need to preserve a ctor so that an instance of the type is possible--> <method name=".ctor"/> </type> </assembly> <assembly fullname="Library2, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> - <type fullname="Mono.Linker.Tests.Cases.LinkXml.Dependencies.EmbeddedLinkXmlPreservesAdditionalAssemblyWithOverriddenMethod.Library2" preserve="nothing"> + <type fullname="Mono.Linker.Tests.Cases.LinkXml.Dependencies.EmbeddedLinkXmlPreservesAdditionalAssemblyWithOverriddenMethod.Library2" preserve="none"> <!-- Need to preserve a ctor so that an instance of the type is possible--> <method name=".ctor"/> </type> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/EmbeddedLinkXmlUnresolvedReferencesAreReported.xml b/test/Mono.Linker.Tests.Cases/LinkXml/EmbeddedLinkXmlUnresolvedReferencesAreReported.xml index c11615b23..a1e097fe1 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/EmbeddedLinkXmlUnresolvedReferencesAreReported.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/EmbeddedLinkXmlUnresolvedReferencesAreReported.xml @@ -1,4 +1,4 @@ -<linker> +<linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="UnknownType" /> <type fullname="Mono.Linker.Tests.Cases.LinkXml.EmbeddedLinkXmlUnresolvedReferencesAreReported/TestType" > @@ -24,4 +24,4 @@ </type> <namespace fullname="UnknownNamespace" /> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/FeatureExclude/OnAssembly.xml b/test/Mono.Linker.Tests.Cases/LinkXml/FeatureExclude/OnAssembly.xml index 9583b20ee..f512ad963 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/FeatureExclude/OnAssembly.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/FeatureExclude/OnAssembly.xml @@ -1,4 +1,4 @@ -<linker> +<linker> <assembly fullname="library1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null" feature="one"> <type fullname="Mono.Linker.Tests.Cases.LinkXml.FeatureExclude.Dependencies.OnAssembly_Lib1/FeatureOneClass"/> </assembly> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/FeatureExclude/OnEvent.xml b/test/Mono.Linker.Tests.Cases/LinkXml/FeatureExclude/OnEvent.xml index d0fdc860d..c6a851c98 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/FeatureExclude/OnEvent.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/FeatureExclude/OnEvent.xml @@ -1,4 +1,4 @@ -<linker> +<linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.LinkXml.FeatureExclude.OnEvent"> <event signature="System.EventHandler`1<System.EventArgs> FeatureOne" feature="one"/> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/FeatureExclude/OnField.xml b/test/Mono.Linker.Tests.Cases/LinkXml/FeatureExclude/OnField.xml index b7a251bf8..a1afd0b20 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/FeatureExclude/OnField.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/FeatureExclude/OnField.xml @@ -1,4 +1,4 @@ -<linker> +<linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.LinkXml.FeatureExclude.OnField"> <field signature="System.Int32 _featureOne" feature="one"/> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/FeatureExclude/OnMethod.xml b/test/Mono.Linker.Tests.Cases/LinkXml/FeatureExclude/OnMethod.xml index 5aaf4c06f..53fb365c0 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/FeatureExclude/OnMethod.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/FeatureExclude/OnMethod.xml @@ -1,4 +1,4 @@ -<linker> +<linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.LinkXml.FeatureExclude.OnMethod"> <method signature="System.Void FeatureOne()" feature="one"/> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/FeatureExclude/OnProperty.xml b/test/Mono.Linker.Tests.Cases/LinkXml/FeatureExclude/OnProperty.xml index 95d59ecab..fc0c45846 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/FeatureExclude/OnProperty.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/FeatureExclude/OnProperty.xml @@ -1,4 +1,4 @@ -<linker> +<linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.LinkXml.FeatureExclude.OnProperty/Foo"> <property signature="System.Int32 FeatureOne" accessors="all" feature="one"/> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/FeatureExclude/OnType.xml b/test/Mono.Linker.Tests.Cases/LinkXml/FeatureExclude/OnType.xml index a2e91e062..9f21a61e9 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/FeatureExclude/OnType.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/FeatureExclude/OnType.xml @@ -1,4 +1,4 @@ -<linker> +<linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.LinkXml.FeatureExclude.OnType/FeatureOneClass" feature="one"/> <type fullname="Mono.Linker.Tests.Cases.LinkXml.FeatureExclude.OnType/FeatureTwoClass" feature="two"/> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/LinkXmlErrorCases.xml b/test/Mono.Linker.Tests.Cases/LinkXml/LinkXmlErrorCases.xml index 6e1262afc..90cc7c84a 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/LinkXmlErrorCases.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/LinkXmlErrorCases.xml @@ -1,4 +1,4 @@ -<linker> +<linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.LinkXml.LinkXmlErrorCases/TypeWithNoFields" preserve="fields"/> <type fullname="Mono.Linker.Tests.Cases.LinkXml.LinkXmlErrorCases/TypeWithNoMethods" preserve="methods"/> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/PreserveIndividualMembersOfNonRequiredType.xml b/test/Mono.Linker.Tests.Cases/LinkXml/PreserveIndividualMembersOfNonRequiredType.xml index ca4aac65c..e92bfd999 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/PreserveIndividualMembersOfNonRequiredType.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/PreserveIndividualMembersOfNonRequiredType.xml @@ -1,4 +1,4 @@ -<linker> +<linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.LinkXml.PreserveIndividualMembersOfNonRequiredType/Required" required="false"> <field name="Field1" /> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/PreserveSecondLevelMethodsOfNonRequiredType.xml b/test/Mono.Linker.Tests.Cases/LinkXml/PreserveSecondLevelMethodsOfNonRequiredType.xml index a7c536e3d..5205b9828 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/PreserveSecondLevelMethodsOfNonRequiredType.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/PreserveSecondLevelMethodsOfNonRequiredType.xml @@ -1,7 +1,7 @@ <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.PreserveSecondLevelMethodsOfNonRequiredType/Unused" preserve="fields" required="false" > <method signature="System.Void PreservedMethod()" /> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/TypeWithPreserveFieldsHasBackingFieldsOfPropertiesRemoved.xml b/test/Mono.Linker.Tests.Cases/LinkXml/TypeWithPreserveFieldsHasBackingFieldsOfPropertiesRemoved.xml index 338ee7f76..87a87b641 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/TypeWithPreserveFieldsHasBackingFieldsOfPropertiesRemoved.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/TypeWithPreserveFieldsHasBackingFieldsOfPropertiesRemoved.xml @@ -1,6 +1,6 @@ -<linker> +<linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.LinkXml.TypeWithPreserveFieldsHasBackingFieldsOfPropertiesRemoved/Unused" preserve="fields"> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedAssemblyWithNoDefinedPreserveHasAllTypesPreserved.xml b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedAssemblyWithNoDefinedPreserveHasAllTypesPreserved.xml index ca7da2c44..20e8e7a54 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedAssemblyWithNoDefinedPreserveHasAllTypesPreserved.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedAssemblyWithNoDefinedPreserveHasAllTypesPreserved.xml @@ -1,4 +1,4 @@ -<linker> +<linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> </assembly> </linker> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedEventPreservedByLinkXmlIsKept.xml b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedEventPreservedByLinkXmlIsKept.xml index 027cc59d1..78e9e478b 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedEventPreservedByLinkXmlIsKept.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedEventPreservedByLinkXmlIsKept.xml @@ -1,5 +1,5 @@ -<linker> - <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> +<linker> + <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.LinkXml.UnusedEventPreservedByLinkXmlIsKept/Unused"> <event signature="System.EventHandler`1<System.EventArgs> Preserved" /> <event signature="System.EventHandler`1<System.EventArgs> Preserved1" /> @@ -7,4 +7,4 @@ <event name="Preserved3" /> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedFieldPreservedByLinkXmlIsKept.xml b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedFieldPreservedByLinkXmlIsKept.xml index 82daa710c..d1d69e7e7 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedFieldPreservedByLinkXmlIsKept.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedFieldPreservedByLinkXmlIsKept.xml @@ -1,4 +1,4 @@ -<linker> +<linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.LinkXml.UnusedFieldPreservedByLinkXmlIsKept/Unused"> <field signature="System.Int32 _preserved" /> @@ -9,4 +9,4 @@ <field signature="System.Collections.Generic.List`1<T> _preserved1" /> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedGenericTypeWithPreserveAllHasAllMembersPreserved.xml b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedGenericTypeWithPreserveAllHasAllMembersPreserved.xml index b2da72420..2744acc03 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedGenericTypeWithPreserveAllHasAllMembersPreserved.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedGenericTypeWithPreserveAllHasAllMembersPreserved.xml @@ -1,5 +1,5 @@ -<linker> +<linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.LinkXml.UnusedGenericTypeWithPreserveAllHasAllMembersPreserved/Unused`3" preserve="all" /> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedInterfaceTypeOnTypeWithPreserveAllIsKept.xml b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedInterfaceTypeOnTypeWithPreserveAllIsKept.xml index 48d80c17d..64294e81d 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedInterfaceTypeOnTypeWithPreserveAllIsKept.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedInterfaceTypeOnTypeWithPreserveAllIsKept.xml @@ -2,4 +2,4 @@ <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.LinkXml.UnusedInterfaceTypeOnTypeWithPreserveAllIsKept/Bar" preserve="all"/> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedInterfaceTypeOnTypeWithPreserveNothingIsRemoved.xml b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedInterfaceTypeOnTypeWithPreserveNothingIsRemoved.xml index 0cd063a84..eb630c7fa 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedInterfaceTypeOnTypeWithPreserveNothingIsRemoved.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedInterfaceTypeOnTypeWithPreserveNothingIsRemoved.xml @@ -1,5 +1,5 @@ <linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> - <type fullname="Mono.Linker.Tests.Cases.LinkXml.UnusedInterfaceTypeOnTypeWithPreserveNothingIsRemoved/Bar" preserve="nothing"/> + <type fullname="Mono.Linker.Tests.Cases.LinkXml.UnusedInterfaceTypeOnTypeWithPreserveNothingIsRemoved/Bar" preserve="none"/> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedMethodPreservedByLinkXmlIsKept.xml b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedMethodPreservedByLinkXmlIsKept.xml index dff455e7a..16e3047b3 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedMethodPreservedByLinkXmlIsKept.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedMethodPreservedByLinkXmlIsKept.xml @@ -1,4 +1,4 @@ -<linker> +<linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.LinkXml.UnusedMethodPreservedByLinkXmlIsKept/Unused"> <method signature="System.Void PreservedMethod()" /> @@ -8,4 +8,4 @@ <method signature="System.Void PreservedMethod5(T)" /> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedNestedTypePreservedByLinkXmlIsKept.xml b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedNestedTypePreservedByLinkXmlIsKept.xml index 7990e8fec..d4b5fdc00 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedNestedTypePreservedByLinkXmlIsKept.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedNestedTypePreservedByLinkXmlIsKept.xml @@ -2,4 +2,4 @@ <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.LinkXml.UnusedNestedTypePreservedByLinkXmlIsKept/Unused" /> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedNonRequiredTypeIsRemoved.xml b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedNonRequiredTypeIsRemoved.xml index 168b5aa2c..7bdd7b3b6 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedNonRequiredTypeIsRemoved.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedNonRequiredTypeIsRemoved.xml @@ -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>
\ No newline at end of file diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedPropertyPreservedByLinkXmlIsKept.xml b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedPropertyPreservedByLinkXmlIsKept.xml index c606c5445..221eefd7a 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedPropertyPreservedByLinkXmlIsKept.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedPropertyPreservedByLinkXmlIsKept.xml @@ -1,4 +1,4 @@ -<linker> +<linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.LinkXml.UnusedPropertyPreservedByLinkXmlIsKept/Unused"> <method signature="System.Int32 get_PreservedProperty1()" /> @@ -14,4 +14,4 @@ <property name="PreservedProperty8" /> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypeDeclarationPreservedByLinkXmlIsKept.xml b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypeDeclarationPreservedByLinkXmlIsKept.xml index c99f6b46b..6032811fd 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypeDeclarationPreservedByLinkXmlIsKept.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypeDeclarationPreservedByLinkXmlIsKept.xml @@ -1,5 +1,5 @@ -<linker> +<linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> - <type fullname="Mono.Linker.Tests.Cases.LinkXml.UnusedTypeDeclarationPreservedByLinkXmlIsKeptUnusedType" preserve="nothing" /> + <type fullname="Mono.Linker.Tests.Cases.LinkXml.UnusedTypeDeclarationPreservedByLinkXmlIsKeptUnusedType" preserve="none" /> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypeIsPresservedWhenEntireAssemblyIsPreserved.xml b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypeIsPresservedWhenEntireAssemblyIsPreserved.xml index 7ecdb6c22..c4645c57e 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypeIsPresservedWhenEntireAssemblyIsPreserved.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypeIsPresservedWhenEntireAssemblyIsPreserved.xml @@ -1,3 +1,3 @@ -<linker> +<linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null" preserve="all" /> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypePreservedByLinkXmlIsKept.xml b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypePreservedByLinkXmlIsKept.xml index ffb652e1e..b2c4633e1 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypePreservedByLinkXmlIsKept.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypePreservedByLinkXmlIsKept.xml @@ -2,4 +2,4 @@ <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.LinkXml.UnusedTypePreservedByLinkXmlIsKeptUnusedType" /> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypePreservedByLinkXmlWithCommentIsKept.xml b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypePreservedByLinkXmlWithCommentIsKept.xml index a6e5643a2..88bfeaf5f 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypePreservedByLinkXmlWithCommentIsKept.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypePreservedByLinkXmlWithCommentIsKept.xml @@ -1,6 +1,6 @@ -<!-- this is a comment --> +<!-- this is a comment --> <linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.LinkXml.UnusedTypePreservedByLinkXmlWithCommentIsKeptUnusedType" /> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypeWithNoDefinedPreserveHasAllMembersPreserved.xml b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypeWithNoDefinedPreserveHasAllMembersPreserved.xml index d84df95e0..d75484059 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypeWithNoDefinedPreserveHasAllMembersPreserved.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypeWithNoDefinedPreserveHasAllMembersPreserved.xml @@ -1,4 +1,4 @@ -<linker> +<linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.LinkXml.UnusedTypeWithNoDefinedPreserveHasAllMembersPreserved/Unused" /> </assembly> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypeWithPreserveAllHasAllMembersPreserved.xml b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypeWithPreserveAllHasAllMembersPreserved.xml index 7987a7765..c71b8c508 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypeWithPreserveAllHasAllMembersPreserved.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypeWithPreserveAllHasAllMembersPreserved.xml @@ -1,5 +1,5 @@ -<linker> +<linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.LinkXml.UnusedTypeWithPreserveAllHasAllMembersPreserved/Unused" preserve="all" /> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypeWithPreserveFieldsHasMethodsRemoved.xml b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypeWithPreserveFieldsHasMethodsRemoved.xml index 619a8db26..ed6896e8d 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypeWithPreserveFieldsHasMethodsRemoved.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypeWithPreserveFieldsHasMethodsRemoved.xml @@ -1,7 +1,7 @@ -<linker> +<linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.LinkXml.UnusedTypeWithPreserveFieldsHasMethodsRemoved/Unused" preserve="fields"> <method signature="System.Void PreservedMethod()" /> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypeWithPreserveMethodsHasFieldsRemoved.xml b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypeWithPreserveMethodsHasFieldsRemoved.xml index 20723f8ed..140a519e1 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypeWithPreserveMethodsHasFieldsRemoved.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypeWithPreserveMethodsHasFieldsRemoved.xml @@ -1,5 +1,5 @@ -<linker> +<linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.LinkXml.UnusedTypeWithPreserveMethodsHasFieldsRemoved/Unused" preserve="methods" /> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypeWithPreserveNothingAndPreserveMembers.xml b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypeWithPreserveNothingAndPreserveMembers.xml index d672e9e09..e60af5a30 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypeWithPreserveNothingAndPreserveMembers.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypeWithPreserveNothingAndPreserveMembers.xml @@ -1,8 +1,8 @@ -<linker> +<linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> - <type fullname="Mono.Linker.Tests.Cases.LinkXml.UnusedTypeWithPreserveNothingAndPreserveMembers/Unused" preserve="nothing"> + <type fullname="Mono.Linker.Tests.Cases.LinkXml.UnusedTypeWithPreserveNothingAndPreserveMembers/Unused" preserve="none"> <field signature="System.Int32 Field1" /> <method signature="System.Void Method1()" /> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypeWithPreserveNothingHasMembersRemoved.xml b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypeWithPreserveNothingHasMembersRemoved.xml index f76df307a..48807c212 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypeWithPreserveNothingHasMembersRemoved.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/UnusedTypeWithPreserveNothingHasMembersRemoved.xml @@ -1,5 +1,5 @@ -<linker> +<linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> - <type fullname="Mono.Linker.Tests.Cases.LinkXml.UnusedTypeWithPreserveNothingHasMembersRemoved/Unused" preserve="nothing" /> + <type fullname="Mono.Linker.Tests.Cases.LinkXml.UnusedTypeWithPreserveNothingHasMembersRemoved/Unused" preserve="none" /> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/UsedNonRequiredExportedTypeIsKept.xml b/test/Mono.Linker.Tests.Cases/LinkXml/UsedNonRequiredExportedTypeIsKept.xml index 659c05db5..faa23ee58 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/UsedNonRequiredExportedTypeIsKept.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/UsedNonRequiredExportedTypeIsKept.xml @@ -4,4 +4,4 @@ <type fullname="Mono.Linker.Tests.Cases.LinkXml.UsedNonRequiredExportedTypeIsKept_Used2" preserve="methods" required="false"/> <type fullname="Mono.Linker.Tests.Cases.LinkXml.UsedNonRequiredExportedTypeIsKept_Used3" preserve="all" required="false"/> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/UsedNonRequiredExportedTypeIsKeptWhenRooted.xml b/test/Mono.Linker.Tests.Cases/LinkXml/UsedNonRequiredExportedTypeIsKeptWhenRooted.xml index 674ca6b7e..d90f3e8f2 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/UsedNonRequiredExportedTypeIsKeptWhenRooted.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/UsedNonRequiredExportedTypeIsKeptWhenRooted.xml @@ -2,4 +2,4 @@ <assembly fullname="lib"> <type fullname="Mono.Linker.Tests.Cases.LinkXml.UsedNonRequiredExportedTypeIsKeptWhenRooted_Used" preserve="fields" required="false"/> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/UsedNonRequiredTypeIsKept.xml b/test/Mono.Linker.Tests.Cases/LinkXml/UsedNonRequiredTypeIsKept.xml index 2294c4f4f..63bc4af4e 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/UsedNonRequiredTypeIsKept.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/UsedNonRequiredTypeIsKept.xml @@ -4,4 +4,4 @@ <type fullname="Mono.Linker.Tests.Cases.LinkXml.UsedNonRequiredTypeIsKept/Used2" preserve="methods" required="0"/> <type fullname="Mono.Linker.Tests.Cases.LinkXml.UsedNonRequiredTypeIsKept/Used3" preserve="all" required="0"/> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/LinkXml/UsedNonRequiredTypeIsKeptWithSingleMethod.xml b/test/Mono.Linker.Tests.Cases/LinkXml/UsedNonRequiredTypeIsKeptWithSingleMethod.xml index c15d664bc..03b30a4ed 100644 --- a/test/Mono.Linker.Tests.Cases/LinkXml/UsedNonRequiredTypeIsKeptWithSingleMethod.xml +++ b/test/Mono.Linker.Tests.Cases/LinkXml/UsedNonRequiredTypeIsKeptWithSingleMethod.xml @@ -9,4 +9,4 @@ </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/PreserveDependencies/Dependencies/PreserveDependencyMethodInNonReferencedAssemblyLibrary.xml b/test/Mono.Linker.Tests.Cases/PreserveDependencies/Dependencies/PreserveDependencyMethodInNonReferencedAssemblyLibrary.xml index 732b24680..9fd58947c 100644 --- a/test/Mono.Linker.Tests.Cases/PreserveDependencies/Dependencies/PreserveDependencyMethodInNonReferencedAssemblyLibrary.xml +++ b/test/Mono.Linker.Tests.Cases/PreserveDependencies/Dependencies/PreserveDependencyMethodInNonReferencedAssemblyLibrary.xml @@ -1,5 +1,5 @@ -<linker> +<linker> <assembly fullname="PreserveDependencyMethodInNonReferencedAssemblyLibrary, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.PreserveDependencies.Dependencies.PreserveDependencyMethodInNonReferencedAssemblyLibrary" preserve="all" /> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/RequiresCapability/RequiresViaXml.attributes.xml b/test/Mono.Linker.Tests.Cases/RequiresCapability/RequiresViaXml.attributes.xml index d37541b83..750183f15 100644 --- a/test/Mono.Linker.Tests.Cases/RequiresCapability/RequiresViaXml.attributes.xml +++ b/test/Mono.Linker.Tests.Cases/RequiresCapability/RequiresViaXml.attributes.xml @@ -1,5 +1,5 @@ -<?xml version="1.0" encoding="utf-8" ?> -<linker> +<?xml version="1.0" encoding="utf-8" ?> +<linker xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../src/ILLink.Shared/ILLink.LinkAttributes.xsd"> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.RequiresCapability.RequiresViaXml"> <method name="MethodWithDuplicateRequiresAttribute"> @@ -9,4 +9,4 @@ </method> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/RequiresCapability/RequiresViaXml.descriptor.xml b/test/Mono.Linker.Tests.Cases/RequiresCapability/RequiresViaXml.descriptor.xml index 46a63f726..dfae58d20 100644 --- a/test/Mono.Linker.Tests.Cases/RequiresCapability/RequiresViaXml.descriptor.xml +++ b/test/Mono.Linker.Tests.Cases/RequiresCapability/RequiresViaXml.descriptor.xml @@ -1,4 +1,4 @@ -<linker> +<linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.RequiresCapability.RequiresViaXml"> <method name="RequiresOnlyViaDescriptor" /> @@ -7,4 +7,4 @@ <field name="Field" /> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Resources/Dependencies/EmbeddedLinkXmlFileInReferencedAssemblyIsNotProcessedIfActionIsCopy_Lib1.xml b/test/Mono.Linker.Tests.Cases/Resources/Dependencies/EmbeddedLinkXmlFileInReferencedAssemblyIsNotProcessedIfActionIsCopy_Lib1.xml index 6547ff296..3430d280e 100644 --- a/test/Mono.Linker.Tests.Cases/Resources/Dependencies/EmbeddedLinkXmlFileInReferencedAssemblyIsNotProcessedIfActionIsCopy_Lib1.xml +++ b/test/Mono.Linker.Tests.Cases/Resources/Dependencies/EmbeddedLinkXmlFileInReferencedAssemblyIsNotProcessedIfActionIsCopy_Lib1.xml @@ -1,4 +1,4 @@ -<linker> +<linker> <assembly fullname="EmbeddedLinkXmlFileInReferencedAssemblyIsNotProcessedIfActionIsCopy_Lib1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.Resources.Dependencies.EmbeddedLinkXmlFileInReferencedAssemblyIsNotProcessedIfActionIsCopy_Lib1" preserve="all"> </type> diff --git a/test/Mono.Linker.Tests.Cases/Resources/Dependencies/EmbeddedLinkXmlFileInReferencedAssemblyIsNotProcessedIfNameDoesNotMatchAnAssembly_Lib1_NotMatchingName.xml b/test/Mono.Linker.Tests.Cases/Resources/Dependencies/EmbeddedLinkXmlFileInReferencedAssemblyIsNotProcessedIfNameDoesNotMatchAnAssembly_Lib1_NotMatchingName.xml index 3ee976f4c..5a5547506 100644 --- a/test/Mono.Linker.Tests.Cases/Resources/Dependencies/EmbeddedLinkXmlFileInReferencedAssemblyIsNotProcessedIfNameDoesNotMatchAnAssembly_Lib1_NotMatchingName.xml +++ b/test/Mono.Linker.Tests.Cases/Resources/Dependencies/EmbeddedLinkXmlFileInReferencedAssemblyIsNotProcessedIfNameDoesNotMatchAnAssembly_Lib1_NotMatchingName.xml @@ -1,4 +1,4 @@ -<linker> +<linker> <assembly fullname="library, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.Resources.Dependencies.EmbeddedLinkXmlFileInReferencedAssemblyIsNotProcessedIfNameDoesNotMatchAnAssembly_Lib1" preserve="all"> </type> diff --git a/test/Mono.Linker.Tests.Cases/Resources/Dependencies/EmbeddedLinkXmlFileInReferencedAssemblyIsProcessedIfActionIsLink_Lib1.xml b/test/Mono.Linker.Tests.Cases/Resources/Dependencies/EmbeddedLinkXmlFileInReferencedAssemblyIsProcessedIfActionIsLink_Lib1.xml index 9f01cc0e1..24118071f 100644 --- a/test/Mono.Linker.Tests.Cases/Resources/Dependencies/EmbeddedLinkXmlFileInReferencedAssemblyIsProcessedIfActionIsLink_Lib1.xml +++ b/test/Mono.Linker.Tests.Cases/Resources/Dependencies/EmbeddedLinkXmlFileInReferencedAssemblyIsProcessedIfActionIsLink_Lib1.xml @@ -1,4 +1,4 @@ -<linker> +<linker> <assembly fullname="EmbeddedLinkXmlFileInReferencedAssemblyIsProcessedIfActionIsLink_Lib1, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.Resources.Dependencies.EmbeddedLinkXmlFileInReferencedAssemblyIsProcessedIfActionIsLink_Lib1" preserve="all"> </type> diff --git a/test/Mono.Linker.Tests.Cases/Resources/Dependencies/EmbeddedLinkXmlFileIsNotProcessedIfNameDoesNotMatchAnAssembly.xml b/test/Mono.Linker.Tests.Cases/Resources/Dependencies/EmbeddedLinkXmlFileIsNotProcessedIfNameDoesNotMatchAnAssembly.xml index 8494ad013..dcb6cde24 100644 --- a/test/Mono.Linker.Tests.Cases/Resources/Dependencies/EmbeddedLinkXmlFileIsNotProcessedIfNameDoesNotMatchAnAssembly.xml +++ b/test/Mono.Linker.Tests.Cases/Resources/Dependencies/EmbeddedLinkXmlFileIsNotProcessedIfNameDoesNotMatchAnAssembly.xml @@ -1,5 +1,5 @@ -<linker> +<linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.Resources.EmbeddedLinkXmlFileIsNotProcessedIfNameDoesNotMatchAnAssembly/Unused" /> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Resources/Dependencies/EmbeddedLinkXmlFileIsNotProcessedWithIgnoreDescriptors.xml b/test/Mono.Linker.Tests.Cases/Resources/Dependencies/EmbeddedLinkXmlFileIsNotProcessedWithIgnoreDescriptors.xml index eb7fc367f..21f9584fd 100644 --- a/test/Mono.Linker.Tests.Cases/Resources/Dependencies/EmbeddedLinkXmlFileIsNotProcessedWithIgnoreDescriptors.xml +++ b/test/Mono.Linker.Tests.Cases/Resources/Dependencies/EmbeddedLinkXmlFileIsNotProcessedWithIgnoreDescriptors.xml @@ -1,5 +1,5 @@ -<linker> +<linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.Resources.EmbeddedLinkXmlFileIsNotProcessedWithIgnoreDescriptors/Unused" /> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Resources/Dependencies/EmbeddedLinkXmlFileIsNotProcessedWithIgnoreDescriptorsAndRemoved.xml b/test/Mono.Linker.Tests.Cases/Resources/Dependencies/EmbeddedLinkXmlFileIsNotProcessedWithIgnoreDescriptorsAndRemoved.xml index 63bb47ab4..f66b1bc1e 100644 --- a/test/Mono.Linker.Tests.Cases/Resources/Dependencies/EmbeddedLinkXmlFileIsNotProcessedWithIgnoreDescriptorsAndRemoved.xml +++ b/test/Mono.Linker.Tests.Cases/Resources/Dependencies/EmbeddedLinkXmlFileIsNotProcessedWithIgnoreDescriptorsAndRemoved.xml @@ -1,5 +1,5 @@ -<linker> +<linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.Resources.EmbeddedLinkXmlFileIsNotProcessedWithIgnoreDescriptorsAndRemoved/Unused" /> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Resources/Dependencies/EmbeddedLinkXmlFileIsProcessed.xml b/test/Mono.Linker.Tests.Cases/Resources/Dependencies/EmbeddedLinkXmlFileIsProcessed.xml index 2b04a8f94..46466d692 100644 --- a/test/Mono.Linker.Tests.Cases/Resources/Dependencies/EmbeddedLinkXmlFileIsProcessed.xml +++ b/test/Mono.Linker.Tests.Cases/Resources/Dependencies/EmbeddedLinkXmlFileIsProcessed.xml @@ -1,6 +1,6 @@ -<linker> +<linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.Resources.EmbeddedLinkXmlFileIsProcessed/Unused" /> </assembly> <type fullname="Mono.Linker.Tests.Cases.Resources.EmbeddedLinkXmlFileIsProcessed/Unused2" /> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Resources/Dependencies/EmbeddedLinkXmlFileIsProcessedAndKept.xml b/test/Mono.Linker.Tests.Cases/Resources/Dependencies/EmbeddedLinkXmlFileIsProcessedAndKept.xml index 84d733343..994e32a42 100644 --- a/test/Mono.Linker.Tests.Cases/Resources/Dependencies/EmbeddedLinkXmlFileIsProcessedAndKept.xml +++ b/test/Mono.Linker.Tests.Cases/Resources/Dependencies/EmbeddedLinkXmlFileIsProcessedAndKept.xml @@ -1,5 +1,5 @@ -<linker> +<linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.Resources.EmbeddedLinkXmlFileIsProcessedAndKept/Unused" /> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Resources/Dependencies/EmbeddedLinkXmlFileIsProcessedIfNameMatchesAnAssembly.xml b/test/Mono.Linker.Tests.Cases/Resources/Dependencies/EmbeddedLinkXmlFileIsProcessedIfNameMatchesAnAssembly.xml index f5ede1e89..13ac06937 100644 --- a/test/Mono.Linker.Tests.Cases/Resources/Dependencies/EmbeddedLinkXmlFileIsProcessedIfNameMatchesAnAssembly.xml +++ b/test/Mono.Linker.Tests.Cases/Resources/Dependencies/EmbeddedLinkXmlFileIsProcessedIfNameMatchesAnAssembly.xml @@ -1,5 +1,5 @@ -<linker> +<linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.Resources.EmbeddedLinkXmlFileIsProcessedIfNameMatchesAnAssembly/Unused" /> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Resources/Dependencies/NonLinkerEmbeddedResourceHasNoImpact.xml b/test/Mono.Linker.Tests.Cases/Resources/Dependencies/NonLinkerEmbeddedResourceHasNoImpact.xml index 1fb65aa9f..a2e0725b0 100644 --- a/test/Mono.Linker.Tests.Cases/Resources/Dependencies/NonLinkerEmbeddedResourceHasNoImpact.xml +++ b/test/Mono.Linker.Tests.Cases/Resources/Dependencies/NonLinkerEmbeddedResourceHasNoImpact.xml @@ -1,2 +1,2 @@ -<someotherxmlformat> -</someotherxmlformat>
\ No newline at end of file +<someotherxmlformat> +</someotherxmlformat> diff --git a/test/Mono.Linker.Tests.Cases/Substitutions/Dependencies/EmbeddedSubstitutions.xml b/test/Mono.Linker.Tests.Cases/Substitutions/Dependencies/EmbeddedSubstitutions.xml index 00c9a0e58..e770eee93 100644 --- a/test/Mono.Linker.Tests.Cases/Substitutions/Dependencies/EmbeddedSubstitutions.xml +++ b/test/Mono.Linker.Tests.Cases/Substitutions/Dependencies/EmbeddedSubstitutions.xml @@ -7,4 +7,4 @@ <type fullname="Mono.Linker.Tests.Cases.Substitutions.EmbeddedSubstitutions"> <method signature="System.Void ConvertToThrowMethod2()" body="remove" /> </type> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Substitutions/Dependencies/EmbeddedSubstitutionsErrorCases.xml b/test/Mono.Linker.Tests.Cases/Substitutions/Dependencies/EmbeddedSubstitutionsErrorCases.xml index fdf8c332a..e4103fe64 100644 --- a/test/Mono.Linker.Tests.Cases/Substitutions/Dependencies/EmbeddedSubstitutionsErrorCases.xml +++ b/test/Mono.Linker.Tests.Cases/Substitutions/Dependencies/EmbeddedSubstitutionsErrorCases.xml @@ -5,4 +5,4 @@ <method signature="System.Int32 TestMethod()" body="stub" value="1" /> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Substitutions/Dependencies/EmbeddedSubstitutionsKept.xml b/test/Mono.Linker.Tests.Cases/Substitutions/Dependencies/EmbeddedSubstitutionsKept.xml index 01499d5d7..9860006b4 100644 --- a/test/Mono.Linker.Tests.Cases/Substitutions/Dependencies/EmbeddedSubstitutionsKept.xml +++ b/test/Mono.Linker.Tests.Cases/Substitutions/Dependencies/EmbeddedSubstitutionsKept.xml @@ -4,4 +4,4 @@ <method signature="System.Void ConvertToThrowMethod()" body="remove" /> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Substitutions/Dependencies/EmbeddedSubstitutionsNotProcessedWithIgnoreSubstitutions.xml b/test/Mono.Linker.Tests.Cases/Substitutions/Dependencies/EmbeddedSubstitutionsNotProcessedWithIgnoreSubstitutions.xml index 3b321f61b..0b9723721 100644 --- a/test/Mono.Linker.Tests.Cases/Substitutions/Dependencies/EmbeddedSubstitutionsNotProcessedWithIgnoreSubstitutions.xml +++ b/test/Mono.Linker.Tests.Cases/Substitutions/Dependencies/EmbeddedSubstitutionsNotProcessedWithIgnoreSubstitutions.xml @@ -4,4 +4,4 @@ <method signature="System.Void ConvertToThrowMethod()" body="remove" /> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Substitutions/Dependencies/EmbeddedSubstitutionsNotProcessedWithIgnoreSubstitutionsAndRemoved.xml b/test/Mono.Linker.Tests.Cases/Substitutions/Dependencies/EmbeddedSubstitutionsNotProcessedWithIgnoreSubstitutionsAndRemoved.xml index 019028c71..c77f9e6a0 100644 --- a/test/Mono.Linker.Tests.Cases/Substitutions/Dependencies/EmbeddedSubstitutionsNotProcessedWithIgnoreSubstitutionsAndRemoved.xml +++ b/test/Mono.Linker.Tests.Cases/Substitutions/Dependencies/EmbeddedSubstitutionsNotProcessedWithIgnoreSubstitutionsAndRemoved.xml @@ -4,4 +4,4 @@ <method signature="System.Void ConvertToThrowMethod()" body="remove" /> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Substitutions/Dependencies/ReferencedField.xml b/test/Mono.Linker.Tests.Cases/Substitutions/Dependencies/ReferencedField.xml index 0a595ab62..431e23585 100644 --- a/test/Mono.Linker.Tests.Cases/Substitutions/Dependencies/ReferencedField.xml +++ b/test/Mono.Linker.Tests.Cases/Substitutions/Dependencies/ReferencedField.xml @@ -4,4 +4,4 @@ <field name="BoolValue" value="1" initialize="true" /> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Substitutions/Dependencies/ReferencedMethod.xml b/test/Mono.Linker.Tests.Cases/Substitutions/Dependencies/ReferencedMethod.xml index c3561ef99..b616191f8 100644 --- a/test/Mono.Linker.Tests.Cases/Substitutions/Dependencies/ReferencedMethod.xml +++ b/test/Mono.Linker.Tests.Cases/Substitutions/Dependencies/ReferencedMethod.xml @@ -4,4 +4,4 @@ <method signature="System.Void ConvertToThrowMethod()" body="remove" /> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Substitutions/SubstitutionsErrorCases.xml b/test/Mono.Linker.Tests.Cases/Substitutions/SubstitutionsErrorCases.xml index f39691a20..98b6d5ae4 100644 --- a/test/Mono.Linker.Tests.Cases/Substitutions/SubstitutionsErrorCases.xml +++ b/test/Mono.Linker.Tests.Cases/Substitutions/SubstitutionsErrorCases.xml @@ -1,4 +1,4 @@ -<?xml version="1.0" encoding="utf-8" ?> +<?xml version="1.0" encoding="utf-8" ?> <linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.Substitutions.SubstitutionsErrorCases"> @@ -13,4 +13,4 @@ <assembly fullname="NonExistentAssembly" /> <!-- IL2100 --> <assembly fullname="*" /> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/TypeForwarding/Dependencies/ForwarderLibrary.xml b/test/Mono.Linker.Tests.Cases/TypeForwarding/Dependencies/ForwarderLibrary.xml index d866868fd..5306be503 100644 --- a/test/Mono.Linker.Tests.Cases/TypeForwarding/Dependencies/ForwarderLibrary.xml +++ b/test/Mono.Linker.Tests.Cases/TypeForwarding/Dependencies/ForwarderLibrary.xml @@ -4,4 +4,4 @@ <method name="ReferencedByForwarderXml" /> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/TypeForwarding/TypeForwarderOnlyAssemblyCanBePreservedViaLinkXml.xml b/test/Mono.Linker.Tests.Cases/TypeForwarding/TypeForwarderOnlyAssemblyCanBePreservedViaLinkXml.xml index 28d5c08cd..2240fbfae 100644 --- a/test/Mono.Linker.Tests.Cases/TypeForwarding/TypeForwarderOnlyAssemblyCanBePreservedViaLinkXml.xml +++ b/test/Mono.Linker.Tests.Cases/TypeForwarding/TypeForwarderOnlyAssemblyCanBePreservedViaLinkXml.xml @@ -1,4 +1,4 @@ -<linker> +<linker> <assembly fullname="Forwarder, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/UnreachableBlock/Dependencies/LibWithConstantSubstitution.xml b/test/Mono.Linker.Tests.Cases/UnreachableBlock/Dependencies/LibWithConstantSubstitution.xml index a85803ffa..8e5ec387b 100644 --- a/test/Mono.Linker.Tests.Cases/UnreachableBlock/Dependencies/LibWithConstantSubstitution.xml +++ b/test/Mono.Linker.Tests.Cases/UnreachableBlock/Dependencies/LibWithConstantSubstitution.xml @@ -1,4 +1,4 @@ -<linker> +<linker> <type fullname="Mono.Linker.Tests.Cases.UnreachableBlock.Dependencies.LibWithConstantSubstitution"> <method signature="System.Boolean ReturnFalse()" body="stub" value="false" /> </type> diff --git a/test/Mono.Linker.Tests.Cases/UnreachableBlock/InstanceMethodSubstitutions.xml b/test/Mono.Linker.Tests.Cases/UnreachableBlock/InstanceMethodSubstitutions.xml index 66ff153ae..5d4335406 100644 --- a/test/Mono.Linker.Tests.Cases/UnreachableBlock/InstanceMethodSubstitutions.xml +++ b/test/Mono.Linker.Tests.Cases/UnreachableBlock/InstanceMethodSubstitutions.xml @@ -1,4 +1,4 @@ -<linker> +<linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.UnreachableBlock.InstanceMethodSubstitutions"> <method signature="System.Boolean IsEnabled()" body="stub" value="false"> diff --git a/test/Mono.Linker.Tests.Cases/UnreachableBlock/MethodWithParametersSubstitutions.xml b/test/Mono.Linker.Tests.Cases/UnreachableBlock/MethodWithParametersSubstitutions.xml index b3eb6cd84..d589f2ecc 100644 --- a/test/Mono.Linker.Tests.Cases/UnreachableBlock/MethodWithParametersSubstitutions.xml +++ b/test/Mono.Linker.Tests.Cases/UnreachableBlock/MethodWithParametersSubstitutions.xml @@ -1,4 +1,4 @@ -<?xml version="1.0" encoding="utf-8" ?> +<?xml version="1.0" encoding="utf-8" ?> <linker> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="Mono.Linker.Tests.Cases.UnreachableBlock.MethodWithParametersSubstitutions"> diff --git a/test/Mono.Linker.Tests.Cases/Warnings/CanDisableWarnAsErrorSubstitutions.xml b/test/Mono.Linker.Tests.Cases/Warnings/CanDisableWarnAsErrorSubstitutions.xml index 803e237b9..fa6de693c 100644 --- a/test/Mono.Linker.Tests.Cases/Warnings/CanDisableWarnAsErrorSubstitutions.xml +++ b/test/Mono.Linker.Tests.Cases/Warnings/CanDisableWarnAsErrorSubstitutions.xml @@ -1,4 +1,4 @@ -<linker> +<linker> <!-- IL2007 --> <assembly fullname="NonExistentAssembly" /> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> @@ -15,4 +15,4 @@ <method signature="NonExistentMethod" /> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Warnings/CanDisableWarningsSubstitutions.xml b/test/Mono.Linker.Tests.Cases/Warnings/CanDisableWarningsSubstitutions.xml index d51f5ae5d..141a1fc8d 100644 --- a/test/Mono.Linker.Tests.Cases/Warnings/CanDisableWarningsSubstitutions.xml +++ b/test/Mono.Linker.Tests.Cases/Warnings/CanDisableWarningsSubstitutions.xml @@ -1,4 +1,4 @@ -<linker> +<linker> <!-- IL2007 --> <assembly fullname="NonExistentAssembly" /> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> @@ -15,4 +15,4 @@ <method signature="NonExistentMethod" /> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Warnings/CanWarnAsErrorSubstitutions.xml b/test/Mono.Linker.Tests.Cases/Warnings/CanWarnAsErrorSubstitutions.xml index 6dfd39b48..16862b155 100644 --- a/test/Mono.Linker.Tests.Cases/Warnings/CanWarnAsErrorSubstitutions.xml +++ b/test/Mono.Linker.Tests.Cases/Warnings/CanWarnAsErrorSubstitutions.xml @@ -1,4 +1,4 @@ -<linker> +<linker> <!-- IL2007 --> <assembly fullname="NonExistentAssembly" /> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> @@ -15,4 +15,4 @@ <method signature="NonExistentMethod" /> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Warnings/WarningSuppression/AddSuppressionsBeforeAttributeRemoval.xml b/test/Mono.Linker.Tests.Cases/Warnings/WarningSuppression/AddSuppressionsBeforeAttributeRemoval.xml index bd79f2792..61f620556 100644 --- a/test/Mono.Linker.Tests.Cases/Warnings/WarningSuppression/AddSuppressionsBeforeAttributeRemoval.xml +++ b/test/Mono.Linker.Tests.Cases/Warnings/WarningSuppression/AddSuppressionsBeforeAttributeRemoval.xml @@ -1,8 +1,8 @@ -<?xml version="1.0" encoding="utf-8" ?> -<linker> +<?xml version="1.0" encoding="utf-8" ?> +<linker xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../src/ILLink.Shared/ILLink.LinkAttributes.xsd"> <assembly fullname="test, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <type fullname="System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute"> <attribute internal="RemoveAttributeInstances" /> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Warnings/WarningSuppression/SuppressWarningsUsingTargetViaXml.mono.xml b/test/Mono.Linker.Tests.Cases/Warnings/WarningSuppression/SuppressWarningsUsingTargetViaXml.mono.xml index 9fcdb351d..b7f60a390 100644 --- a/test/Mono.Linker.Tests.Cases/Warnings/WarningSuppression/SuppressWarningsUsingTargetViaXml.mono.xml +++ b/test/Mono.Linker.Tests.Cases/Warnings/WarningSuppression/SuppressWarningsUsingTargetViaXml.mono.xml @@ -1,5 +1,5 @@ -<?xml version="1.0" encoding="utf-8"?> -<linker> +<?xml version="1.0" encoding="utf-8"?> +<linker xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../src/ILLink.Shared/ILLink.LinkAttributes.xsd"> <assembly fullname="library, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <attribute fullname="System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute" assembly="Mono.Linker.Tests.Cases.Expectations"> <argument>ILLink</argument> @@ -32,4 +32,4 @@ <property name="Target">M:Mono.Linker.Tests.Cases.Warnings.Dependencies.TriggerWarnings_Lib.get_Warning2</property> </attribute> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Warnings/WarningSuppression/SuppressWarningsUsingTargetViaXml.netcore.xml b/test/Mono.Linker.Tests.Cases/Warnings/WarningSuppression/SuppressWarningsUsingTargetViaXml.netcore.xml index 86ed0b256..3761a1c85 100644 --- a/test/Mono.Linker.Tests.Cases/Warnings/WarningSuppression/SuppressWarningsUsingTargetViaXml.netcore.xml +++ b/test/Mono.Linker.Tests.Cases/Warnings/WarningSuppression/SuppressWarningsUsingTargetViaXml.netcore.xml @@ -1,5 +1,5 @@ -<?xml version="1.0" encoding="utf-8"?> -<linker> +<?xml version="1.0" encoding="utf-8"?> +<linker xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../src/ILLink.Shared/ILLink.LinkAttributes.xsd"> <assembly fullname="library, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <attribute fullname="System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute"> <argument>ILLink</argument> @@ -32,4 +32,4 @@ <property name="Target">M:Mono.Linker.Tests.Cases.Warnings.Dependencies.TriggerWarnings_Lib.get_Warning2</property> </attribute> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests.Cases/Warnings/WarningSuppression/SuppressWarningsViaXml.xml b/test/Mono.Linker.Tests.Cases/Warnings/WarningSuppression/SuppressWarningsViaXml.xml index a7673e5a5..00227a178 100644 --- a/test/Mono.Linker.Tests.Cases/Warnings/WarningSuppression/SuppressWarningsViaXml.xml +++ b/test/Mono.Linker.Tests.Cases/Warnings/WarningSuppression/SuppressWarningsViaXml.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<linker> +<linker xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../src/ILLink.Shared/ILLink.LinkAttributes.xsd"> <assembly fullname="test"> <type fullname="Mono.Linker.Tests.Cases.Warnings.WarningSuppression.SuppressWarningsViaXml"> <method name="SuppressedOnMethod"> @@ -14,4 +14,4 @@ </attribute> </type> </assembly> -</linker>
\ No newline at end of file +</linker> diff --git a/test/Mono.Linker.Tests/TestCases/Dependencies/WarningSuppressionExpectations3.xml b/test/Mono.Linker.Tests/TestCases/Dependencies/WarningSuppressionExpectations3.xml index 80ca6f402..b1552097b 100644 --- a/test/Mono.Linker.Tests/TestCases/Dependencies/WarningSuppressionExpectations3.xml +++ b/test/Mono.Linker.Tests/TestCases/Dependencies/WarningSuppressionExpectations3.xml @@ -1,4 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> +<?xml version="1.0" encoding="utf-8"?> <linker> <assembly fullname="library, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <attribute fullname="System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute"> @@ -32,4 +32,4 @@ <property name="Target">M:Mono.Linker.Tests.Cases.Warnings.Dependencies.TriggerWarnings_Lib.Warning1</property> </attribute> </assembly> -</linker>
\ No newline at end of file +</linker> |