Files
mono/mcs/errors/cs0213.cs
T
Marek Safar f3a7b5e02c Updated to be more consistent
svn path=/trunk/mcs/; revision=45861
2005-06-13 12:15:59 +00:00

17 lines
379 B
C#

// cs0213.cs: You cannot 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) {}
}
}