Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaja R Harinath <harinath@hurrynot.org>2005-11-14 16:18:32 +0300
committerRaja R Harinath <harinath@hurrynot.org>2005-11-14 16:18:32 +0300
commit1ef50e1b8af7998ff679be6ac715cc4f10a38a0e (patch)
treec479ed892efca6dd9c53933615c1f895b6ab3350 /mcs/gmcs/typemanager.cs
parent929b7d3ca48a03b6365f5c523ab28fb4fb627168 (diff)
*** merged revisions from mcs: 52837-52943
svn path=/trunk/mcs/; revision=53012
Diffstat (limited to 'mcs/gmcs/typemanager.cs')
-rw-r--r--mcs/gmcs/typemanager.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/mcs/gmcs/typemanager.cs b/mcs/gmcs/typemanager.cs
index 8c41e67d3d9..01450200880 100644
--- a/mcs/gmcs/typemanager.cs
+++ b/mcs/gmcs/typemanager.cs
@@ -2387,9 +2387,7 @@ public partial class TypeManager {
new Type [] { typeof (Type), typeof (bool)},
null);
if (declare_local_method == null){
- Report.Warning (-30, new Location (-1),
- "This version of the runtime does not support making pinned local variables. " +
- "This code may cause errors on a runtime with a moving GC");
+ Report.RuntimeMissingSupport (Location.Null, "pinned local variables");
return ig.DeclareLocal (t);
}
}