Files
mono/mcs/errors/cs1666.cs
T
Marek Safar ab0ffe83b9 fixed text
svn path=/trunk/mcs/; revision=52510
2005-11-03 15:33:08 +00:00

14 lines
268 B
C#

// cs1666.cs: You cannot use fixed size buffers contained in unfixed expressions. Try using the fixed statement
// Line: 11
// Compiler options: -unsafe
public unsafe struct S
{
fixed char test_1 [128];
public void Test ()
{
test_1 [55] = 'g';
}
}