@@ -20,7 +20,6 @@ public static class AttributeStrings
2020 public const string ObsoletePropertyError = "[Obsolete(\" Unused property, will be removed in a future version.\" , true)]" ;
2121 public const string ObsoleteAttributeWarn = "[Obsolete(\" Unused attribute, will be removed in a future version.\" , false)]" ;
2222 public const string ObsoleteAttributeError = "[Obsolete(\" Unused attribute, will be removed in a future version.\" , true)]" ;
23- public const string ObsoleteChildWarn = "[Obsolete(\" Obsolete child element, will be removed in a future version.\" , false)]" ;
2423 public const string EditorBrowsableAlways = "[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Always)] " ;
2524 public const string EditorBrowsableAdvanced = "[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Advanced)] " ;
2625 public const string EditorBrowsableNever = "[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] " ;
@@ -38,12 +37,6 @@ public static class AttributeStrings
3837 AttributeStrings . EditorBrowsableNever ,
3938 ] ;
4039
41- private static readonly List < string > ObsoleteChildWarnList =
42- [
43- AttributeStrings . ObsoleteChildWarn ,
44- AttributeStrings . EditorBrowsableNever ,
45- ] ;
46-
4740 // Use this dictionary to add attributes like ObsoleteAttribute or other directives to classes, child elements or attributes.
4841 private static readonly Dictionary < TypedQName , Dictionary < TypedQName , List < string > > > _attributeData =
4942 new Dictionary < TypedQName , Dictionary < TypedQName , List < string > > > ( )
@@ -151,16 +144,6 @@ public static class AttributeStrings
151144 } ,
152145 }
153146 } ,
154- {
155- "x:CT_PivotCacheDefinitionExtension/x:ext" ,
156- new Dictionary < TypedQName , List < string > > ( )
157- {
158- {
159- "xprd:CT_PivotCacheRichInfo/xprd:richInfo" ,
160- ObsoleteChildWarnList
161- } ,
162- }
163- } ,
164147 } ;
165148
166149 public static bool GetDataModelSyntax ( this IndentedTextWriter writer , OpenXmlGeneratorServices services , SchemaNamespace model )
0 commit comments