在Windows 8.1 Preview上运行此代码时:
using System;
using System.Linq;
namespace ConsoleApplication
{
class Program
{
static void Main(string[] args)
{
BlaObject p = new BlaObject();
}
}
public class BlaObject : ContextBoundObject
{
private readonly decimal decimalFactor = 10000;
public BlaObject()
{
}
}
}
我收到以下错误:
AccessViolationException was unhandled
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
有什么想法吗?这段代码一直运行到今天(我有大约3-4天的8.1)。它在Windows 7和Windows 7上运行良好。 8。
感谢。