Skip to content

Commit 3c0d0e6

Browse files
authored
Ensure XslCompiledTransform works with TrimMode=link (#45522)
Resolve ILLinker warnings in Xml.Xsl in order to make a basic Xslt scenario work. Fix #45393
1 parent 1f114c4 commit 3c0d0e6

File tree

8 files changed

+518
-482
lines changed

8 files changed

+518
-482
lines changed

src/libraries/System.Private.Xml/src/ILLink/ILLink.Suppressions.Debug.xml

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/libraries/System.Private.Xml/src/ILLink/ILLink.Suppressions.xml

Lines changed: 0 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,6 @@
3131
<property name="Scope">member</property>
3232
<property name="Target">M:System.Xml.Serialization.XmlSerializationWriterCodeGen.WriteCheckDefault(System.Xml.Serialization.TypeMapping,System.String,System.Object,System.Boolean)</property>
3333
</attribute>
34-
<attribute fullname="System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute">
35-
<argument>ILLink</argument>
36-
<argument>IL2057</argument>
37-
<property name="Scope">member</property>
38-
<property name="Target">M:System.Xml.Xsl.IlGen.XmlILStorageMethods.#ctor(System.Type)</property>
39-
</attribute>
4034
<attribute fullname="System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute">
4135
<argument>ILLink</argument>
4236
<argument>IL2060</argument>
@@ -145,48 +139,12 @@
145139
<property name="Scope">member</property>
146140
<property name="Target">M:System.Xml.Serialization.XmlReflectionImporter.GetMethodFromSchemaProvider(System.Xml.Serialization.XmlSchemaProviderAttribute,System.Type)</property>
147141
</attribute>
148-
<attribute fullname="System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute">
149-
<argument>ILLink</argument>
150-
<argument>IL2070</argument>
151-
<property name="Scope">member</property>
152-
<property name="Target">M:System.Xml.Xsl.IlGen.XmlILConstructors.GetConstructor(System.Type,System.Type[])</property>
153-
</attribute>
154-
<attribute fullname="System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute">
155-
<argument>ILLink</argument>
156-
<argument>IL2070</argument>
157-
<property name="Scope">member</property>
158-
<property name="Target">M:System.Xml.Xsl.IlGen.XmlILConstructors.GetConstructor(System.Type)</property>
159-
</attribute>
160-
<attribute fullname="System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute">
161-
<argument>ILLink</argument>
162-
<argument>IL2070</argument>
163-
<property name="Scope">member</property>
164-
<property name="Target">M:System.Xml.Xsl.IlGen.XmlILMethods.GetMethod(System.Type,System.String,System.Type[])</property>
165-
</attribute>
166-
<attribute fullname="System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute">
167-
<argument>ILLink</argument>
168-
<argument>IL2070</argument>
169-
<property name="Scope">member</property>
170-
<property name="Target">M:System.Xml.Xsl.IlGen.XmlILMethods.GetMethod(System.Type,System.String)</property>
171-
</attribute>
172142
<attribute fullname="System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute">
173143
<argument>ILLink</argument>
174144
<argument>IL2070</argument>
175145
<property name="Scope">member</property>
176146
<property name="Target">M:System.Xml.Xsl.Runtime.EarlyBoundInfo.#ctor(System.String,System.Type)</property>
177147
</attribute>
178-
<attribute fullname="System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute">
179-
<argument>ILLink</argument>
180-
<argument>IL2070</argument>
181-
<property name="Scope">member</property>
182-
<property name="Target">M:System.Xml.Xsl.Runtime.XsltMethods.GetMethod(System.Type,System.String,System.Type[])</property>
183-
</attribute>
184-
<attribute fullname="System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute">
185-
<argument>ILLink</argument>
186-
<argument>IL2070</argument>
187-
<property name="Scope">member</property>
188-
<property name="Target">M:System.Xml.Xsl.Runtime.XsltMethods.GetMethod(System.Type,System.String)</property>
189-
</attribute>
190148
<attribute fullname="System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute">
191149
<argument>ILLink</argument>
192150
<argument>IL2070</argument>
@@ -361,12 +319,6 @@
361319
<property name="Scope">member</property>
362320
<property name="Target">M:System.Xml.Serialization.XmlSerializationWriterILGen.WriteElement(System.Xml.Serialization.SourceInfo,System.Xml.Serialization.ElementAccessor,System.String,System.Boolean)</property>
363321
</attribute>
364-
<attribute fullname="System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute">
365-
<argument>ILLink</argument>
366-
<argument>IL2075</argument>
367-
<property name="Scope">member</property>
368-
<property name="Target">M:System.Xml.Xsl.IlGen.IteratorDescriptor.PushValue</property>
369-
</attribute>
370322
<attribute fullname="System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute">
371323
<argument>ILLink</argument>
372324
<argument>IL2075</argument>
@@ -391,12 +343,6 @@
391343
<property name="Scope">member</property>
392344
<property name="Target">M:System.Xml.Serialization.XmlSerializationWriterILGen.WriteText(System.Xml.Serialization.SourceInfo,System.Xml.Serialization.TextAccessor)</property>
393345
</attribute>
394-
<attribute fullname="System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute">
395-
<argument>ILLink</argument>
396-
<argument>IL2080</argument>
397-
<property name="Scope">member</property>
398-
<property name="Target">M:System.Xml.Xsl.IlGen.XmlILStorageMethods.#ctor(System.Type)</property>
399-
</attribute>
400346
<attribute fullname="System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessageAttribute">
401347
<argument>ILLink</argument>
402348
<argument>IL2080</argument>

0 commit comments

Comments
 (0)