Ver Fonte

constify

svn path=/trunk/mcs/; revision=26464
Ben Maurer há 21 anos atrás
pai
commit
bc37e00fc3
48 ficheiros alterados com 50 adições e 50 exclusões
  1. 1 1
      mcs/class/System.XML/System.Xml.Schema/SchemaDataValueType.cs
  2. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchema.cs
  3. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaAll.cs
  4. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaAnnotation.cs
  5. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaAny.cs
  6. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaAnyAttribute.cs
  7. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaAttribute.cs
  8. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaAttributeGroup.cs
  9. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaAttributeGroupRef.cs
  10. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaChoice.cs
  11. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaComplexContent.cs
  12. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaComplexContentExtension.cs
  13. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaComplexContentRestriction.cs
  14. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaComplexType.cs
  15. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaElement.cs
  16. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaEnumerationFacet.cs
  17. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaFractionDigitsFacet.cs
  18. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaGroup.cs
  19. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaGroupRef.cs
  20. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaImport.cs
  21. 2 2
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaInclude.cs
  22. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaInfo.cs
  23. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaKey.cs
  24. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaKeyref.cs
  25. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaLengthFacet.cs
  26. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaMaxExclusiveFacet.cs
  27. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaMaxInclusiveFacet.cs
  28. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaMaxLengthFacet.cs
  29. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaMinExclusiveFacet.cs
  30. 2 2
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaMinInclusiveFacet.cs
  31. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaMinLengthFacet.cs
  32. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaNotation.cs
  33. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaObject.cs
  34. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaParticle.cs
  35. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaPatternFacet.cs
  36. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaRedefine.cs
  37. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaSequence.cs
  38. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaSimpleContent.cs
  39. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaSimpleContentExtension.cs
  40. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaSimpleContentRestriction.cs
  41. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaSimpleType.cs
  42. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaSimpleTypeList.cs
  43. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaSimpleTypeRestriction.cs
  44. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaSimpleTypeUnion.cs
  45. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaTotalDigitsFacet.cs
  46. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaUnique.cs
  47. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaWhiteSpaceFacet.cs
  48. 1 1
      mcs/class/System.XML/System.Xml.Schema/XmlSchemaXPath.cs

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/SchemaDataValueType.cs

@@ -152,4 +152,4 @@ namespace System.Xml.Schema
 			return value.GetHashCode ();
 		}
 	}
-}
+}

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchema.cs

@@ -57,7 +57,7 @@ namespace System.Xml.Schema
 		private Hashtable handledUris;
 
                 // Compiler specific things
-                private static string xmlname = "schema";
+                const string xmlname = "schema";
 
                 public XmlSchema()
                 {

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaAll.cs

@@ -19,7 +19,7 @@ namespace System.Xml.Schema
 	{
 		private XmlSchema schema;
 		private XmlSchemaObjectCollection items;
-		private static string xmlname = "all";
+		const string xmlname = "all";
 		private bool emptiable;
 
 		public XmlSchemaAll()

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaAnnotation.cs

@@ -15,7 +15,7 @@ namespace System.Xml.Schema
 		private string id;
 		private XmlSchemaObjectCollection items;
 		private XmlAttribute[] unhandledAttributes;
-		private static string xmlname = "annotation";
+		const string xmlname = "annotation";
 
 		public XmlSchemaAnnotation()
 		{

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaAny.cs

@@ -41,7 +41,7 @@ namespace System.Xml.Schema
 
 		private string nameSpace;
 		private XmlSchemaContentProcessing processing;
-		private static string xmlname = "any";
+		const string xmlname = "any";
 
 		private XsdWildcard wildcard;
 

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaAnyAttribute.cs

@@ -22,7 +22,7 @@ namespace System.Xml.Schema
 	{
 		private string nameSpace;
 		private XmlSchemaContentProcessing processing;
-		private static string xmlname = "anyAttribute";
+		const string xmlname = "anyAttribute";
 		private XsdWildcard wildcard;
 
 		public XmlSchemaAnyAttribute()

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaAttribute.cs

@@ -34,7 +34,7 @@ namespace System.Xml.Schema
 		//Compilation fields
 		internal bool ParentIsSchema = false;
 		private XmlSchemaAttribute referencedAttribute;
-		private static string xmlname = "attribute";
+		const string xmlname = "attribute";
 
 		public XmlSchemaAttribute()
 		{

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaAttributeGroup.cs

@@ -22,7 +22,7 @@ namespace System.Xml.Schema
 		private string name;
 		private XmlSchemaAttributeGroup redefined;
 		private XmlQualifiedName qualifiedName;
-		private static string xmlname = "attributeGroup";
+		const string xmlname = "attributeGroup";
 		private XmlSchemaObjectTable attributeUses;
 		private XmlSchemaAnyAttribute anyAttributeUse;
 

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaAttributeGroupRef.cs

@@ -17,7 +17,7 @@ namespace System.Xml.Schema
 	public class XmlSchemaAttributeGroupRef : XmlSchemaAnnotated
 	{
 		private XmlQualifiedName refName;
-		private static string xmlname = "attributeGroup";
+		const string xmlname = "attributeGroup";
 
 		public XmlSchemaAttributeGroupRef()
 		{

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaChoice.cs

@@ -15,7 +15,7 @@ namespace System.Xml.Schema
 	public class XmlSchemaChoice : XmlSchemaGroupBase
 	{
 		private XmlSchemaObjectCollection items;
-		private static string xmlname = "choice";
+		const string xmlname = "choice";
 		private decimal minEffectiveTotalRange = -1;
 
 		public XmlSchemaChoice ()

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaComplexContent.cs

@@ -18,7 +18,7 @@ namespace System.Xml.Schema
 	{
 		private XmlSchemaContent content;
 		private bool isMixed;
-		private static string xmlname = "complexContent";
+		const string xmlname = "complexContent";
 
 		public XmlSchemaComplexContent()
 		{}

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaComplexContentExtension.cs

@@ -20,7 +20,7 @@ namespace System.Xml.Schema
 		private XmlSchemaObjectCollection attributes;
 		private XmlQualifiedName baseTypeName;
 		private XmlSchemaParticle particle;
-		private static string xmlname = "extension";
+		const string xmlname = "extension";
 
 		public XmlSchemaComplexContentExtension()
 		{

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaComplexContentRestriction.cs

@@ -20,7 +20,7 @@ namespace System.Xml.Schema
 		private XmlSchemaObjectCollection attributes;
 		private XmlQualifiedName baseTypeName;
 		private XmlSchemaParticle particle;
-		private static string xmlname = "restriction";
+		const string xmlname = "restriction";
 
 		public XmlSchemaComplexContentRestriction()
 		{

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaComplexType.cs

@@ -35,7 +35,7 @@ namespace System.Xml.Schema
 		internal bool ValidatedIsAbstract;
 		internal bool ParentIsSchema = false;
 
-		private static string xmlname = "complexType";
+		const string xmlname = "complexType";
 
 		private static XmlSchemaComplexType anyType;
 

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaElement.cs

@@ -47,7 +47,7 @@ namespace System.Xml.Schema
 		// Post compilation items. It should be added on all schema components.
 		XmlSchema schema;
 
-		private static string xmlname = "element";
+		const string xmlname = "element";
 
 		public XmlSchemaElement()
 		{

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaEnumerationFacet.cs

@@ -10,7 +10,7 @@ namespace System.Xml.Schema
 	/// </summary>
 	public class XmlSchemaEnumerationFacet : XmlSchemaFacet
 	{
-		private static string xmlname = "enumeration";
+		const string xmlname = "enumeration";
 		public XmlSchemaEnumerationFacet()
 		{
 		}

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaFractionDigitsFacet.cs

@@ -10,7 +10,7 @@ namespace System.Xml.Schema
 	/// </summary>
 	public class XmlSchemaFractionDigitsFacet : XmlSchemaNumericFacet
 	{
-		private static string xmlname = "fractionDigits";
+		const string xmlname = "fractionDigits";
 
 		public XmlSchemaFractionDigitsFacet()
 		{

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaGroup.cs

@@ -22,7 +22,7 @@ namespace System.Xml.Schema
 		private XmlQualifiedName qualifiedName;
 		private bool isCircularDefinition;
 		
-		private static string xmlname = "group";
+		const string xmlname = "group";
 
 		public XmlSchemaGroup()
 		{

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaGroupRef.cs

@@ -19,7 +19,7 @@ namespace System.Xml.Schema
 	{
 		private XmlSchema schema;
 		private XmlQualifiedName refName;
-		private static string xmlname = "group";
+		const string xmlname = "group";
 		private XmlSchemaGroup referencedGroup;
 
 		public XmlSchemaGroupRef()

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaImport.cs

@@ -13,7 +13,7 @@ namespace System.Xml.Schema
 	{
 		private XmlSchemaAnnotation annotation;
 		private string nameSpace;
-		private static string xmlname = "import";
+		const string xmlname = "import";
 
 		public XmlSchemaImport()
 		{

+ 2 - 2
mcs/class/System.XML/System.Xml.Schema/XmlSchemaInclude.cs

@@ -12,7 +12,7 @@ namespace System.Xml.Schema
 	public class XmlSchemaInclude : XmlSchemaExternal
 	{
 		private XmlSchemaAnnotation annotation;
-		private static string xmlname = "include";
+		const string xmlname = "include";
 
 		public XmlSchemaInclude()
 		{
@@ -94,4 +94,4 @@ namespace System.Xml.Schema
 			return include;
 		}
 	}
-}
+}

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaInfo.cs

@@ -22,4 +22,4 @@ namespace System.Xml.Schema
 		internal Hashtable IDCollection;
 		internal XmlSchemaObjectTable SchemaTypes ;
 	}
-}
+}

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaKey.cs

@@ -10,7 +10,7 @@ namespace System.Xml.Schema
 	/// </summary>
 	public class XmlSchemaKey : XmlSchemaIdentityConstraint
 	{
-		private static string xmlname = "key";
+		const string xmlname = "key";
 
 		public XmlSchemaKey()
 		{

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaKeyref.cs

@@ -12,7 +12,7 @@ namespace System.Xml.Schema
 	public class XmlSchemaKeyref : XmlSchemaIdentityConstraint
 	{
 		private XmlQualifiedName refer;
-		private static string xmlname = "keyref";
+		const string xmlname = "keyref";
 		private XmlSchemaIdentityConstraint target;
 
 		public XmlSchemaKeyref()

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaLengthFacet.cs

@@ -10,7 +10,7 @@ namespace System.Xml.Schema
 	/// </summary>
 	public class XmlSchemaLengthFacet : XmlSchemaNumericFacet
 	{
-		private static string xmlname = "length";
+		const string xmlname = "length";
 
 		public XmlSchemaLengthFacet()
 		{

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaMaxExclusiveFacet.cs

@@ -10,7 +10,7 @@ namespace System.Xml.Schema
 	/// </summary>
 	public class XmlSchemaMaxExclusiveFacet : XmlSchemaFacet
 	{
-		private static string xmlname = "maxExclusive";
+		const string xmlname = "maxExclusive";
 
 		public XmlSchemaMaxExclusiveFacet()
 		{

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaMaxInclusiveFacet.cs

@@ -10,7 +10,7 @@ namespace System.Xml.Schema
 	/// </summary>
 	public class XmlSchemaMaxInclusiveFacet : XmlSchemaFacet
 	{
-		private static string xmlname = "maxInclusive";
+		const string xmlname = "maxInclusive";
 
 		public XmlSchemaMaxInclusiveFacet()
 		{

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaMaxLengthFacet.cs

@@ -10,7 +10,7 @@ namespace System.Xml.Schema
 	/// </summary>
 	public class XmlSchemaMaxLengthFacet : XmlSchemaNumericFacet
 	{
-		private static string xmlname = "maxLength";
+		const string xmlname = "maxLength";
 
 		public XmlSchemaMaxLengthFacet()
 		{

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaMinExclusiveFacet.cs

@@ -10,7 +10,7 @@ namespace System.Xml.Schema
 	/// </summary>
 	public class XmlSchemaMinExclusiveFacet : XmlSchemaFacet
 	{
-		private static string xmlname = "minExclusive";
+		const string xmlname = "minExclusive";
 
 		public XmlSchemaMinExclusiveFacet()
 		{

+ 2 - 2
mcs/class/System.XML/System.Xml.Schema/XmlSchemaMinInclusiveFacet.cs

@@ -10,7 +10,7 @@ namespace System.Xml.Schema
 	/// </summary>
 	public class XmlSchemaMinInclusiveFacet : XmlSchemaFacet
 	{
-		private static string xmlname = "minInclusive";
+		const string xmlname = "minInclusive";
 
 		public XmlSchemaMinInclusiveFacet()
 		{
@@ -97,4 +97,4 @@ namespace System.Xml.Schema
 			return mini;
 		}
 	}
-}
+}

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaMinLengthFacet.cs

@@ -10,7 +10,7 @@ namespace System.Xml.Schema
 	/// </summary>
 	public class XmlSchemaMinLengthFacet : XmlSchemaNumericFacet
 	{
-		private static string xmlname = "minLength";
+		const string xmlname = "minLength";
 
 		public XmlSchemaMinLengthFacet()
 		{

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaNotation.cs

@@ -15,7 +15,7 @@ namespace System.Xml.Schema
 		private string pub;
 		private string system;
 		private XmlQualifiedName qualifiedName;
-		private static string xmlname = "notation";
+		const string xmlname = "notation";
 
 		public XmlSchemaNotation()
 		{

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaObject.cs

@@ -140,4 +140,4 @@ namespace System.Xml.Schema
 			// Other fields and properties may be useless for Particle.
 		}
 	}
-}
+}

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaParticle.cs

@@ -270,4 +270,4 @@ namespace System.Xml.Schema
 		}
 		#endregion
 	}
-}
+}

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaPatternFacet.cs

@@ -10,7 +10,7 @@ namespace System.Xml.Schema
 	/// </summary>
 	public class XmlSchemaPatternFacet : XmlSchemaFacet
 	{
-		private static string xmlname = "pattern";
+		const string xmlname = "pattern";
 
 		public XmlSchemaPatternFacet()
 		{

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaRedefine.cs

@@ -15,7 +15,7 @@ namespace System.Xml.Schema
 		private XmlSchemaObjectTable groups;
 		private XmlSchemaObjectCollection items;
 		private XmlSchemaObjectTable schemaTypes;
-		private static string xmlname = "redefine";
+		const string xmlname = "redefine";
 
 		public XmlSchemaRedefine()
 		{

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaSequence.cs

@@ -18,7 +18,7 @@ namespace System.Xml.Schema
 	public class XmlSchemaSequence : XmlSchemaGroupBase
 	{
 		private XmlSchemaObjectCollection items;
-		private static string xmlname = "sequence";
+		const string xmlname = "sequence";
 
 		public XmlSchemaSequence()
 		{

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaSimpleContent.cs

@@ -17,7 +17,7 @@ namespace System.Xml.Schema
 	public class XmlSchemaSimpleContent : XmlSchemaContentModel
 	{
 		private XmlSchemaContent content;
-		private static string xmlname = "simpleContent";
+		const string xmlname = "simpleContent";
 		public XmlSchemaSimpleContent()
 		{
 		}

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaSimpleContentExtension.cs

@@ -20,7 +20,7 @@ namespace System.Xml.Schema
 		private XmlSchemaAnyAttribute any;
 		private XmlSchemaObjectCollection attributes;
 		private XmlQualifiedName baseTypeName;
-		private static string xmlname = "extension";
+		const string xmlname = "extension";
 
 		public XmlSchemaSimpleContentExtension()
 		{

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaSimpleContentRestriction.cs

@@ -17,7 +17,7 @@ namespace System.Xml.Schema
 		private XmlSchemaSimpleType baseType;
 		private XmlQualifiedName baseTypeName;
 		private XmlSchemaObjectCollection facets;
-		private static string xmlname = "restriction";
+		const string xmlname = "restriction";
 
 		public XmlSchemaSimpleContentRestriction()
 		{

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaSimpleType.cs

@@ -17,7 +17,7 @@ namespace System.Xml.Schema
 	/// </summary>
 	public class XmlSchemaSimpleType : XmlSchemaType
 	{
-		private static string xmlname = "simpleType";
+		const string xmlname = "simpleType";
 		private static XmlSchemaSimpleType schemaLocationType;
 
 		private XmlSchemaSimpleTypeContent content;

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaSimpleTypeList.cs

@@ -14,7 +14,7 @@ namespace System.Xml.Schema
 	{
 		private XmlSchemaSimpleType itemType;
 		private XmlQualifiedName itemTypeName;
-		private static string xmlname = "list";
+		const string xmlname = "list";
 		private object validatedListItemType;
 
 		public XmlSchemaSimpleTypeList()

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaSimpleTypeRestriction.cs

@@ -19,7 +19,7 @@ namespace System.Xml.Schema
 		private XmlSchemaSimpleType baseType;
 		private XmlQualifiedName baseTypeName;
 		private XmlSchemaObjectCollection facets;
-		private static string xmlname = "restriction";
+		const string xmlname = "restriction";
 		private string [] enumarationFacetValues;
 		private string [] patternFacetValues;
 		private Regex [] rexPatterns;

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaSimpleTypeUnion.cs

@@ -14,7 +14,7 @@ namespace System.Xml.Schema
 	{
 		private XmlSchemaObjectCollection baseTypes;
 		private XmlQualifiedName[] memberTypes;
-		private static string xmlname = "union";
+		const string xmlname = "union";
 		private object [] validatedTypes;
 
 		public XmlSchemaSimpleTypeUnion()

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaTotalDigitsFacet.cs

@@ -10,7 +10,7 @@ namespace System.Xml.Schema
 	/// </summary>
 	public class XmlSchemaTotalDigitsFacet : XmlSchemaNumericFacet
 	{
-		private static string xmlname = "totalDigits";
+		const string xmlname = "totalDigits";
 
 		public XmlSchemaTotalDigitsFacet()
 		{

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaUnique.cs

@@ -10,7 +10,7 @@ namespace System.Xml.Schema
 	/// </summary>
 	public class XmlSchemaUnique : XmlSchemaIdentityConstraint
 	{
-		private static string xmlname = "unique";
+		const string xmlname = "unique";
 
 		public XmlSchemaUnique()
 		{

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaWhiteSpaceFacet.cs

@@ -10,7 +10,7 @@ namespace System.Xml.Schema
 	/// </summary>
 	public class XmlSchemaWhiteSpaceFacet : XmlSchemaFacet
 	{
-		private static string xmlname = "whiteSpace";
+		const string xmlname = "whiteSpace";
 
 		public XmlSchemaWhiteSpaceFacet()
 		{

+ 1 - 1
mcs/class/System.XML/System.Xml.Schema/XmlSchemaXPath.cs

@@ -345,4 +345,4 @@ namespace System.Xml.Schema
 		}
 
 	}
-}
+}