In VS 2010 VAX 1862 seems to fail to recognize symbols in C# when used inside a fixed() expression. The following snippet recreates the problem:
private void SomeFunc ()
{
byte[] byData = new byte[120];
fixed ( byte* pData = byData )
{
*pData = 1;
}
}
This code is in a .NET 4.0 .dll project. Is there a workaround for this?
Here's my system info:
VA_X.dll file version 10.6.1862.0 built 2011.12.13
Licensed to:
VA X: gbozoki@<email removed> (1-user license) Support ends 2012.02.12
DevEnv.exe version 10.0.30319.1 Professional
msenv.dll version 10.0.30319.1
Comctl32.dll version 6.0.2900.6028
Windows XP 5.1 Build 2600 Service Pack 3
2 processors (x86)
Language info: 1252, 0x409
Platform: Win32
Stable Includes:
C:\\Program Files\\Microsoft Visual Studio 10.0\\VC\\include;
C:\\Program Files\\Microsoft Visual Studio 10.0\\VC\\atlmfc\\include;
C:\\Program Files\\Microsoft SDKs\\Windows\\v7.0A\\include;
C:\\Program Files\\Microsoft SDKs\\Windows\\v7.0A\\include;
Other Includes:
Stable Source Directories:
C:\\Program Files\\Microsoft Visual Studio 10.0\\VC\\atlmfc\\src\\mfc;
C:\\Program Files\\Microsoft Visual Studio 10.0\\VC\\atlmfc\\src\\mfcm;
C:\\Program Files\\Microsoft Visual Studio 10.0\\VC\\atlmfc\\src\\atl;
C:\\Program Files\\Microsoft Visual Studio 10.0\\VC\\crt\\src;