Update all mcs errors expected messages for referencesource changes.
authorAtsushi Eno <atsushieno@gmail.com>
Mon, 16 Feb 2015 18:44:27 +0000 (02:44 +0800)
committerAtsushi Eno <atsushieno@gmail.com>
Mon, 2 Mar 2015 03:36:43 +0000 (11:36 +0800)
14 files changed:
mcs/class/System.XML/Res.cs
mcs/errors/cs0419-3.cs
mcs/errors/cs1570-10.cs
mcs/errors/cs1570-11.cs
mcs/errors/cs1570-12.cs
mcs/errors/cs1570-2.cs
mcs/errors/cs1570-3.cs
mcs/errors/cs1570-4.cs
mcs/errors/cs1570-5.cs
mcs/errors/cs1570-6.cs
mcs/errors/cs1570-7.cs
mcs/errors/cs1570-8.cs
mcs/errors/cs1570-9.cs
mcs/errors/cs1570.cs

index 2965d19be7c554f4d8d04178052f2dc8e6085784..33984872b44d0456e2e6e5c8bc9761b07b8e83a5 100644 (file)
@@ -319,7 +319,7 @@ namespace System.Xml
                public const string Xml_BadNameChar = "Xml_BadNameChar";
                public const string Xml_BadNameCharWithPos = "Xml_BadNameCharWithPos";
                public const string Xml_BadNamespaceDecl = "Xml_BadNamespaceDecl";
-               public const string Xml_BadStartNameChar = "Xml_BadStartNameChar";
+               public const string Xml_BadStartNameChar = "a name did not start with a legal character '{0}' ({1}).";
                public const string Xml_CDATAEndInText = "Xml_CDATAEndInText";
                public const string Xml_CanNotBindToReservedNamespace = "Xml_CanNotBindToReservedNamespace";
                public const string Xml_CanNotDeserializeObjectType = "Xml_CanNotDeserializeObjectType";
@@ -430,7 +430,7 @@ namespace System.Xml
                public const string Xml_IsDataSetAttributeMissingInSchema = "Xml_IsDataSetAttributeMissingInSchema";
                public const string Xml_LimitExceeded = "Xml_LimitExceeded";
                public const string Xml_MergeDuplicateDeclaration = "Xml_MergeDuplicateDeclaration";
-               public const string Xml_MessageWithErrorPosition = "{0} Line {1}, position {2}";
+               public const string Xml_MessageWithErrorPosition = "{0} Line {1}, position {2}.";
                public const string Xml_MismatchKeyLength = "Xml_MismatchKeyLength";
                public const string Xml_MissingAttribute = "Xml_MissingAttribute";
                public const string Xml_MissingByteOrderMark = "Xml_MissingByteOrderMark";
@@ -481,7 +481,7 @@ namespace System.Xml
                public const string Xml_SimpleTypeNotSupported = "Xml_SimpleTypeNotSupported";
                public const string Xml_StackOverflow = "Xml_StackOverflow";
                public const string Xml_SurrogatePairSplit = "Xml_SurrogatePairSplit";
-               public const string Xml_TagMismatchEx = "Xml_TagMismatchEx";
+               public const string Xml_TagMismatchEx = "'{0}' is expected.";
                public const string Xml_TooManyIsDataSetAtributeInSchema = "Xml_TooManyIsDataSetAtributeInSchema";
                public const string Xml_UnclosedConditionalSection = "Xml_UnclosedConditionalSection";
                public const string Xml_UnclosedQuote = "Xml_UnclosedQuote";
@@ -511,7 +511,7 @@ namespace System.Xml
                public const string Xml_WriterAsyncNotSetException = "Xml_WriterAsyncNotSetException";
                public const string Xml_WrongToken = "Unexpected XML token {0} appeared at {1} state.";
                public const string Xml_XapResolverCannotOpenUri = "Xml_XapResolverCannotOpenUri";
-               public const string Xml_XmlDeclNotFirst = "Xml_XmlDeclNotFirst";
+               public const string Xml_XmlDeclNotFirst = "Cannot insert specified type of node as a child of this node.";
                public const string Xml_XmlPrefix = "Xml_XmlPrefix";
                public const string Xml_XmlnsBelongsToReservedNs = "Xml_XmlnsBelongsToReservedNs";
                public const string Xml_XmlnsPrefix = "Xml_XmlnsPrefix";
@@ -870,7 +870,7 @@ namespace System.Xml
                public const string Xdom_Node_Insert_Context = "Xdom_Node_Insert_Context";
                public const string Xdom_Node_Insert_Location = "Xdom_Node_Insert_Location";
                public const string Xdom_Node_Insert_Path = "Xdom_Node_Insert_Path";
-               public const string Xdom_Node_Insert_TypeConflict = "Xdom_Node_Insert_TypeConflict";
+               public const string Xdom_Node_Insert_TypeConflict = "Cannot insert specified type of node as a child of this node";
                public const string Xdom_Node_Modify_ReadOnly = "Xdom_Node_Modify_ReadOnly";
                public const string Xdom_Node_Null_Doc = "Xdom_Node_Null_Doc";
                public const string Xdom_Node_Remove_Child = "Xdom_Node_Remove_Child";
index c653805deae125f6d2c869e48f13f3d8b8ca3eda..c818b47baa7f4f75688fdaa257031cfe79e23bb9 100644 (file)
@@ -1,4 +1,4 @@
-// CS0419: Ambiguous reference in cref attribute `XmlDocument.Load'. Assuming `System.Xml.XmlDocument.Load(System.IO.Stream)' but other overloads including `System.Xml.XmlDocument.Load(string)' have also matched
+// CS0419: Ambiguous reference in cref attribute `XmlDocument.Load'. Assuming `System.Xml.XmlDocument.Load(string)' but other overloads including `System.Xml.XmlDocument.Load(System.IO.Stream)' have also matched
 // Line: 10
 // Compiler options: -doc:dummy.xml -warnaserror -warn:4
 // 
index 5e69b45918fc5e2f347aaacad0f908192a41036e..d050cc47699fd2f2d381d063619d4f05d3b74ccb 100644 (file)
@@ -1,4 +1,4 @@
-// CS1570: XML documentation comment on `Testing.Test.PrivateField2' is not well-formed XML markup ('summary' is expected  Line 3, position 4.)
+// CS1570: XML documentation comment on `Testing.Test.PrivateField2' is not well-formed XML markup ('summary' is expected. Line 3, position 3.)
 // Line: 23
 // Compiler options: -doc:dummy.xml -warn:1 -warnaserror
 
index 0f40603215e1b4a4e552e349e43c6c81e78f156e..a01238aac60f560763f155a91971651944f1b9f2 100644 (file)
@@ -1,4 +1,4 @@
-// CS1570: XML documentation comment on `Testing.Test.PublicProperty2' is not well-formed XML markup ('summary' is expected  Line 3, position 4.)
+// CS1570: XML documentation comment on `Testing.Test.PublicProperty2' is not well-formed XML markup ('summary' is expected. Line 3, position 3.)
 // Line: 32
 // Compiler options: -doc:dummy.xml -warn:1 -warnaserror
 
index 5a81f6414c990442ca78f62a3136d6a962c96d62..af31bc9ca0a31ad4ae2601870fafe9fda4d2dfd8 100644 (file)
@@ -1,4 +1,4 @@
-// CS1570: XML documentation comment on `Test' is not well-formed XML markup (Cannot insert specified type of node as a child of this node.)
+// CS1570: XML documentation comment on `Test' is not well-formed XML markup (Cannot insert specified type of node as a child of this node. Line 3, position 3.)
 // Line: 13
 // Compiler options: -doc:dummy.xml -warnaserror -warn:1
 
index 091459aa1169e3fc5a905346b1559c74bbf332f3..9255e3febf5d5ed82682ed7df522b7bec6ff8367 100644 (file)
@@ -1,4 +1,4 @@
-// CS1570: XML documentation comment on `Testing.Test2' is not well-formed XML markup ('summary' is expected  Line 3, position 4.)
+// CS1570: XML documentation comment on `Testing.Test2' is not well-formed XML markup ('summary' is expected. Line 3, position 3.)
 // Line: 12
 // Compiler options: -doc:dummy.xml -warn:1 -warnaserror
 
index 9a949509b611a1735d57f93253018dbc0c8b2cc9..66e4946d2910fb927d575b20754057f2b6f35d4c 100644 (file)
@@ -1,4 +1,4 @@
-// CS1570: XML documentation comment on `Testing.StructTest2' is not well-formed XML markup ('summary' is expected  Line 3, position 4.)
+// CS1570: XML documentation comment on `Testing.StructTest2' is not well-formed XML markup ('summary' is expected. Line 3, position 3.)
 // Line: 10
 // Compiler options: -doc:dummy.xml -warn:1 -warnaserror
 
index 90d40d51b928e580f5dc098ba6c843eaf3ccd59a..0561f47425133dcf617f94987c4b6b9815d92a8f 100644 (file)
@@ -1,4 +1,4 @@
-// CS1570: XML documentation comment on `Testing.InterfaceTest2' is not well-formed XML markup ('summary' is expected  Line 3, position 4.)
+// CS1570: XML documentation comment on `Testing.InterfaceTest2' is not well-formed XML markup ('summary' is expected. Line 3, position 3.)
 // Line: 12
 // Compiler options: -doc:dummy.xml -warn:1 -warnaserror
 
index 8e2e30a6e63a21cf6488403ade56200af6e27fc9..45c420168bbb65a37fac29bfb090356b5c8a076a 100644 (file)
@@ -1,4 +1,4 @@
-// CS1570: XML documentation comment on `Testing.EnumTest2' is not well-formed XML markup ('summary' is expected  Line 3, position 4.)
+// CS1570: XML documentation comment on `Testing.EnumTest2' is not well-formed XML markup ('summary' is expected. Line 3, position 3.)
 // Line: 12
 // Compiler options: -doc:dummy.xml -warn:1 -warnaserror
 
index 2db15b6feec64d3650fa08ecadf11a2c872024e0..4d864f74184958b05a911336f508b7d78d464d7b 100644 (file)
@@ -1,4 +1,4 @@
-// CS1570: XML documentation comment on `Testing.MyDelegate2' is not well-formed XML markup ('summary' is expected  Line 3, position 4.)
+// CS1570: XML documentation comment on `Testing.MyDelegate2' is not well-formed XML markup ('summary' is expected. Line 3, position 3.)
 // Line: 12
 // Compiler options: -doc:dummy.xml -warn:1 -warnaserror
 
index 8c18e6398068e2ed259ae0b31fe84a58d39c9d4c..d4ba07d99b0fe226135b53e924c3917fe9cd867c 100644 (file)
@@ -1,4 +1,4 @@
-// CS1570: XML documentation comment on `Testing.Test2' is not well-formed XML markup (a name did not start with a legal character 54 (6)  Line 1, position 3.)
+// CS1570: XML documentation comment on `Testing.Test2' is not well-formed XML markup (a name did not start with a legal character '6' (0x36). Line 1, position 2.)
 // Line: 9
 // Compiler options: -doc:dummy.xml -warn:1 -warnaserror
 
index a009f88a50e0fe67cdc75d658d269112c7feb083..947516802859b4a684282ca604fba7ec5180f3c6 100644 (file)
@@ -1,4 +1,4 @@
-// CS1570: XML documentation comment on `Testing.Test.Constant2' is not well-formed XML markup ('summary' is expected  Line 3, position 4.)
+// CS1570: XML documentation comment on `Testing.Test.Constant2' is not well-formed XML markup ('summary' is expected. Line 3, position 3.)
 // Line: 19
 // Compiler options: -doc:dummy.xml -warn:1 -warnaserror
 
index 91753dbe295a5aca50260acad0810ff35800be1d..755a8b0eba870687cd6e02015cae0b9bb125935e 100644 (file)
@@ -1,4 +1,4 @@
-// CS1570: XML documentation comment on `Testing.Test.PublicField2' is not well-formed XML markup ('summary' is expected  Line 3, position 4.)
+// CS1570: XML documentation comment on `Testing.Test.PublicField2' is not well-formed XML markup ('summary' is expected. Line 3, position 3.)
 // Line: 19
 // Compiler options: -doc:dummy.xml -warn:1 -warnaserror
 
index 52c439c95e77071a8284624707de20675106fba1..080acf3d8f0fe562e328e7a598e9373a03942e1a 100644 (file)
@@ -1,4 +1,4 @@
-// CS1570: XML documentation comment on `Testing.Test2' is not well-formed XML markup ('summary' is expected  Line 3, position 4.)
+// CS1570: XML documentation comment on `Testing.Test2' is not well-formed XML markup ('summary' is expected. Line 3, position 3.)
 // Line: 12
 // Compiler options: -doc:dummy.xml -warnaserror -warn:1