diff options
author | Raja R Harinath <harinath@hurrynot.org> | 2005-11-14 16:18:32 +0300 |
---|---|---|
committer | Raja R Harinath <harinath@hurrynot.org> | 2005-11-14 16:18:32 +0300 |
commit | 1ef50e1b8af7998ff679be6ac715cc4f10a38a0e (patch) | |
tree | c479ed892efca6dd9c53933615c1f895b6ab3350 /mcs/gmcs/typemanager.cs | |
parent | 929b7d3ca48a03b6365f5c523ab28fb4fb627168 (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.cs | 4 |
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); } } |