This documentation is archived and is not being maintained.

Compiler Error CS1663 

Error Message

Fixed size buffer type must be one of the following: bool, byte, short, int, long, char, sbyte, ushort, uint, ulong, float or double

A fixed sized buffer may not be any type other than those listed. To avoid this error, use another type or do not use a fixed array.


The following sample generates CS1663.

// CS1663.cs
// compile with: /unsafe /target:library

unsafe struct C
   fixed string ab[10];   // CS1663