From ee993b4b33afff7b17c045fd5d8f52512880c257 Mon Sep 17 00:00:00 2001 From: Eric Erhardt Date: Wed, 30 Sep 2020 20:49:09 -0500 Subject: [PATCH] Update DataContractSerialization ILLink.Suppressions.xml (#42930) Changes #40691 and #42824 conflicted. One added a new ILLink suppress warnings file, while the other added more warnings. This causes the build to break. The fix is to regenerate the suppressions file with the latest code. Fix #42926 --- .../src/ILLink/ILLink.Suppressions.xml | 60 +++++++++++++++++-- 1 file changed, 54 insertions(+), 6 deletions(-) diff --git a/src/libraries/System.Private.DataContractSerialization/src/ILLink/ILLink.Suppressions.xml b/src/libraries/System.Private.DataContractSerialization/src/ILLink/ILLink.Suppressions.xml index 28f283c86af7d..beceae03cc863 100644 --- a/src/libraries/System.Private.DataContractSerialization/src/ILLink/ILLink.Suppressions.xml +++ b/src/libraries/System.Private.DataContractSerialization/src/ILLink/ILLink.Suppressions.xml @@ -239,31 +239,31 @@ ILLink IL2070 member - M:System.Runtime.Serialization.CodeGenerator.BeginMethod(System.String,System.Type,System.Boolean) + M:System.Runtime.Serialization.ClassDataContract.IsNonAttributedTypeValidForSerialization(System.Type) ILLink IL2070 member - M:System.Runtime.Serialization.CollectionDataContract.GetCollectionMethods(System.Type,System.Type,System.Type[],System.Boolean,System.Reflection.MethodInfo@,System.Reflection.MethodInfo@) + M:System.Runtime.Serialization.CodeGenerator.BeginMethod(System.String,System.Type,System.Boolean) ILLink IL2070 member - M:System.Runtime.Serialization.CollectionDataContract.IsCollectionOrTryCreate(System.Type,System.Boolean,System.Runtime.Serialization.DataContract@,System.Type@,System.Boolean) + M:System.Runtime.Serialization.CollectionDataContract.GetCollectionMethods(System.Type,System.Type,System.Type[],System.Boolean,System.Reflection.MethodInfo@,System.Reflection.MethodInfo@) ILLink IL2070 member - M:System.Runtime.Serialization.Globals.GetConstructor(System.Type,System.Reflection.BindingFlags,System.Type[]) + M:System.Runtime.Serialization.CollectionDataContract.IsCollectionOrTryCreate(System.Type,System.Boolean,System.Runtime.Serialization.DataContract@,System.Type@,System.Boolean) ILLink IL2070 member - M:System.Runtime.Serialization.Globals.GetMethod(System.Type,System.String,System.Reflection.BindingFlags,System.Type[]) + M:System.Runtime.Serialization.DataContract.ImportKnownTypeAttributes(System.Type,System.Collections.Generic.Dictionary{System.Type,System.Type},System.Collections.Generic.Dictionary{System.Xml.XmlQualifiedName,System.Runtime.Serialization.DataContract}@) ILLink @@ -307,6 +307,12 @@ member M:System.Runtime.Serialization.ClassDataContract.ClassDataContractCriticalHelper.GetISerializableConstructor + + ILLink + IL2075 + member + M:System.Runtime.Serialization.ClassDataContract.ClassDataContractCriticalHelper.GetNonAttributedTypeConstructor + ILLink IL2075 @@ -317,7 +323,7 @@ ILLink IL2075 member - M:System.Runtime.Serialization.CodeGenerator.get_ObjectEquals + M:System.Runtime.Serialization.CollectionDataContract.CollectionDataContractCriticalHelper.GetCollectionElementType ILLink @@ -337,6 +343,12 @@ member M:System.Runtime.Serialization.CollectionDataContract.IsCollectionOrTryCreate(System.Type,System.Boolean,System.Runtime.Serialization.DataContract@,System.Type@,System.Boolean) + + ILLink + IL2075 + member + M:System.Runtime.Serialization.DataContract.DataContractCriticalHelper.get_ParseMethod + ILLink IL2075 @@ -349,6 +361,12 @@ member M:System.Runtime.Serialization.Json.JsonFormatReaderGenerator.CriticalHelper.CreateObject(System.Runtime.Serialization.ClassDataContract) + + ILLink + IL2075 + member + M:System.Runtime.Serialization.Json.JsonFormatReaderGenerator.CriticalHelper.ReadCollection(System.Runtime.Serialization.CollectionDataContract) + ILLink IL2075 @@ -379,23 +397,53 @@ member M:System.Runtime.Serialization.ReflectionReader.ReflectionCreateCollection(System.Runtime.Serialization.CollectionDataContract) + + ILLink + IL2075 + member + M:System.Runtime.Serialization.XmlDataContract.GenerateCreateXmlSerializableDelegate + + + ILLink + IL2075 + member + M:System.Runtime.Serialization.XmlDataContract.GetConstructor + ILLink IL2075 member M:System.Runtime.Serialization.XmlFormatGeneratorStatics.get_GetArrayLengthMethod + + ILLink + IL2075 + member + M:System.Runtime.Serialization.XmlFormatGeneratorStatics.get_HashtableCtor + ILLink IL2075 member M:System.Runtime.Serialization.XmlFormatReaderGenerator.CriticalHelper.CreateObject(System.Runtime.Serialization.ClassDataContract) + + ILLink + IL2075 + member + M:System.Runtime.Serialization.XmlFormatReaderGenerator.CriticalHelper.ReadCollection(System.Runtime.Serialization.CollectionDataContract) + ILLink IL2075 member M:System.Runtime.Serialization.XmlFormatReaderGenerator.CriticalHelper.WrapNullableObject(System.Reflection.Emit.LocalBuilder,System.Reflection.Emit.LocalBuilder,System.Int32) + + ILLink + IL2075 + member + M:System.Runtime.Serialization.XmlFormatWriterGenerator.CriticalHelper.WriteCollection(System.Runtime.Serialization.CollectionDataContract) + \ No newline at end of file