[Mono-bugs] [Bug 613492] New: [Regression] mcs shouldn't warn about deprecated API in the 2.0 profile
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Jun 11 05:42:35 EDT 2010
http://bugzilla.novell.com/show_bug.cgi?id=613492
http://bugzilla.novell.com/show_bug.cgi?id=613492#c0
Summary: [Regression] mcs shouldn't warn about deprecated API
in the 2.0 profile
Classification: Mono
Product: Mono: Compilers
Version: 2.6.x
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P5 - None
Component: C#
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: knocte at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-GB; rv:1.9.2.3)
Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729; .NET4.0E)
Testcase:
class SomeClass {
public void SomeMethod () {
System.Console.WriteLine("hello world 1.0");
}
public int obsoleteIn20 = System.AppDomain.GetCurrentThreadId ();
}
Reproducible: Always
Steps to Reproduce:
1. Compile the above code with mcs (and -warnaserror).
Actual Results:
Fails with an error.
Expected Results:
Should not fail (as we're using mcs instead of gmcs).
This bug is a regression, because it doesn't exist in Mono 1.9.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list