30.06.2013 Views

Under the Hood of .NET Memory Management - Simple Talk

Under the Hood of .NET Memory Management - Simple Talk

Under the Hood of .NET Memory Management - Simple Talk

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 4: Common <strong>Memory</strong> Problems<br />

[DebuggerHidden]<br />

IEnumerator IEnumerable.GetEnumerator()<br />

{<br />

return this.System.Collections.Generic.<br />

IEnumerable.<br />

GetEnumerator();<br />

}<br />

[DebuggerHidden]<br />

void IEnumerator.Reset()<br />

{<br />

throw new NotSupportedException();<br />

}<br />

void IDisposable.Dispose()<br />

{<br />

}<br />

// Properties<br />

AmortizationScheduleItem IEnumerator.Current<br />

{<br />

[DebuggerHidden]<br />

get<br />

{<br />

return this.2__current;<br />

}<br />

}<br />

object IEnumerator.Current<br />

{<br />

[DebuggerHidden]<br />

get<br />

{<br />

return this.2__current;<br />

}<br />

}<br />

}<br />

Listing 4.50: The effects <strong>of</strong> <strong>the</strong> yield expanded by <strong>the</strong> compiler.<br />

134

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!