Low memory while inherits DependencyObject and implement IExtensibleDataObject interface

Not sure why compiler keeps throwing the following message while I start to compile the class which implements IExtensibleDataObject with DependencyObject inherited.

"An error has occurred which the C# compiler is unable to report due to low memory or possible heap corruption. It is recommended that you save all your files, close and restart Visual Studio."

The following is how I tried to implements IExtensibleDataObject and inherits DependencyObject.

[DataContract]

[Serializable()]

publicclassDataObject :DependencyObject,IExtensibleDataObject

{

}

Anyone can help?

[1064 byte] By [BrownHorse] at [2008-1-6]
# 1

Low memory condition must be independent of the actual compilation error. You can try tracking memory usage on the machine thru Task manager and pinpoint the process eating memory.

As far as compilation error is concerned, you can try using commandline compiler csc.exe as a stop-gap measure while memory problem on the machine is being solved.

From the signature of the class nothign more can be infered.

AkshayPrabhu at 2007-9-28 > top of Msdn Tech,Visual Studio Orcas,Windows Communication Foundation (Indigo)...

Visual Studio Orcas

Site Classified