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:
authorRavi Pratap M <ravi@mono-cvs.ximian.com>2002-06-25 23:23:14 +0400
committerRavi Pratap M <ravi@mono-cvs.ximian.com>2002-06-25 23:23:14 +0400
commitc8264f5263f5b59a54b34b45d7861d84f48f4056 (patch)
treee2f441240aeab8fa618ad50a3fa03b886041c286 /mcs/errors/cs0255.cs
parentcf615313b4a5a59f0f74ede6c7bd4036094e2ee0 (diff)
Apply patches from Andrew
svn path=/trunk/mcs/; revision=5452
Diffstat (limited to 'mcs/errors/cs0255.cs')
-rwxr-xr-xmcs/errors/cs0255.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/mcs/errors/cs0255.cs b/mcs/errors/cs0255.cs
index 10e2045385e..7fe38d595a0 100755
--- a/mcs/errors/cs0255.cs
+++ b/mcs/errors/cs0255.cs
@@ -1,13 +1,13 @@
// cs0255.cs: Can not use stackalloc in finally or catch
// Line: 10
unsafe class X {
- string s;
static void Main ()
{
try {
} catch {
- char *ptr = stackalloc char [10U];
-}
+ char *ptr = stackalloc char [10];
+ ptr = ptr;
+ }
}
}