diff options
author | Atsushi Eno <atsushieno@gmail.com> | 2005-11-17 01:47:05 +0300 |
---|---|---|
committer | Atsushi Eno <atsushieno@gmail.com> | 2005-11-17 01:47:05 +0300 |
commit | d3e9147bef5c0c52ecb668aa9b464051984f25ed (patch) | |
tree | 624bf5ec223ea1a3c1f5f642ef695abe9807c601 /mcs/errors | |
parent | 9f5c5088143580645a757b2cdcc362b4b15357a6 (diff) |
2005-11-16 Atsushi Enomoto <atsushi@ximian.com>
* doc.cs : apply "override filter" also to properties.
Fixed bug #76730.
* test-xml-047-ref.xml test-xml-047.cs :
Another override filtering test (works with gmcs).
* cs1574-7.cs : fixed code format ("Line") to make it working.
* cs0419-3.cs : new test for ambiguity resolution.
* known-issues-gmcs : actually cs1574-7.cs is kind of regression,
thus no need to be added here.
svn path=/trunk/mcs/; revision=53150
Diffstat (limited to 'mcs/errors')
-rw-r--r-- | mcs/errors/ChangeLog | 7 | ||||
-rw-r--r-- | mcs/errors/cs0419-3.cs | 16 | ||||
-rw-r--r-- | mcs/errors/cs1574-7.cs | 2 | ||||
-rw-r--r-- | mcs/errors/known-issues-gmcs | 1 |
4 files changed, 24 insertions, 2 deletions
diff --git a/mcs/errors/ChangeLog b/mcs/errors/ChangeLog index 571b11aefd6..df61662368e 100644 --- a/mcs/errors/ChangeLog +++ b/mcs/errors/ChangeLog @@ -1,5 +1,12 @@ 2005-11-16 Atsushi Enomoto <atsushi@ximian.com> + * cs1574-7.cs : fixed code format ("Line") to make it working. + * cs0419-3.cs : new test for ambiguity resolution. + * known-issues-gmcs : actually cs1574-7.cs is kind of regression, + thus no need to be added here. + +2005-11-16 Atsushi Enomoto <atsushi@ximian.com> + * cs1574-7.cs : new test to warn doc reference to interface members which is not exposed publicly. * known-issues-gmcs : added above. diff --git a/mcs/errors/cs0419-3.cs b/mcs/errors/cs0419-3.cs new file mode 100644 index 00000000000..6465c9c865e --- /dev/null +++ b/mcs/errors/cs0419-3.cs @@ -0,0 +1,16 @@ +// cs0419-3.cs: 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 +// Line: 10 +// Compiler options: -doc:dummy.xml -warnaserror -warn:4 +// +// NOTE: this error message is dependent on the order of members, so feel free to modify the message if is going not to match. + +using System.Xml; + +/// <summary> +/// <see cref="XmlDocument.Load" /> +/// </summary> +public class EntryPoint +{ + static void Main () { + } +} diff --git a/mcs/errors/cs1574-7.cs b/mcs/errors/cs1574-7.cs index 6e5ff788a2b..eba9dbbf186 100644 --- a/mcs/errors/cs1574-7.cs +++ b/mcs/errors/cs1574-7.cs @@ -1,6 +1,6 @@ // cs1574-7.cs: XML comment on `A' has cref attribute `ExecuteSilently' that could not be resolved -// Compiler options: -doc:dummy.xml -warnaserror // Line: 11 +// Compiler options: -doc:dummy.xml -warnaserror /// <summary /> public interface IExecutable { /// <summary /> diff --git a/mcs/errors/known-issues-gmcs b/mcs/errors/known-issues-gmcs index 9606d2c5fdc..a191a5535fe 100644 --- a/mcs/errors/known-issues-gmcs +++ b/mcs/errors/known-issues-gmcs @@ -40,7 +40,6 @@ cs1528.cs cs1540-2.cs # new in GMCS cs1540-3.cs NO ERROR # new in GMCS cs1540-5.cs NO ERROR # new in GMCS -cs1574-7.cs cs1586.cs cs1641.cs cs1667-3.cs |