Show/Hide Toolbars

XSharp

Do not use 'System.Runtime.CompilerServices.FixedBuffer' attribute. Use the 'fixed' field modifier instead.

 

This error arises in an unsafe code section that contains a fixed-size array declaration similar to a field declaration. Do not use this attribute. Instead, use the keyword fixed.

Example

 

The following example generates XS1716.

 

 

// XS1716.prg  
// compile with: /unsafe