diff options
author | Marek Safar <marek.safar@gmail.com> | 2004-06-10 13:23:07 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2004-06-10 13:23:07 +0400 |
commit | ce6816dd49282ff6c3ca9a505df84549f35b97ac (patch) | |
tree | 3cafd358bd08f4c380f3ef3869a92ceaffbc95c7 /mcs/errors/cs0213.cs | |
parent | 63a60a1904b01ea0c01548defbb9647a02a15b22 (diff) |
CRLF->LF
svn path=/trunk/mcs/; revision=29177
Diffstat (limited to 'mcs/errors/cs0213.cs')
-rw-r--r-- | mcs/errors/cs0213.cs | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/mcs/errors/cs0213.cs b/mcs/errors/cs0213.cs index 65c8b3b0a7e..00faffd0ef4 100644 --- a/mcs/errors/cs0213.cs +++ b/mcs/errors/cs0213.cs @@ -1,16 +1,16 @@ -// cs0213.cs: You do not need to use the fixed statement to take the address of an already fixed expression
-// Line: 12
-// Compiler options: -unsafe
-
-class UnsafeClass {
- unsafe UnsafeClass () {
- int value = 5;
- Calculate(value);
- }
-
- unsafe void Calculate (int value) {
- fixed (int *x = &value) {}
- }
-}
-
-
+// cs0213.cs: You do not need to use the fixed statement to take the address of an already fixed expression +// Line: 12 +// Compiler options: -unsafe + +class UnsafeClass { + unsafe UnsafeClass () { + int value = 5; + Calculate(value); + } + + unsafe void Calculate (int value) { + fixed (int *x = &value) {} + } +} + + |