This commit is contained in:
mterwoord_cp 2009-07-22 15:36:14 +00:00
parent 5f6c0e0a10
commit fbc1a086ab

View file

@ -53,6 +53,7 @@ namespace Cosmos.Compiler
private void ScanList() private void ScanList()
{ {
// dont use a foreach here, the list will change.
for(int i = 0; i < mMethods.Count; i++) for(int i = 0; i < mMethods.Count; i++)
{ {
ScanMethod(mMethods[i]); ScanMethod(mMethods[i]);
@ -67,10 +68,10 @@ namespace Cosmos.Compiler
// pinvoke // pinvoke
return; return;
} }
else if (aMethodBase.IsAbstract)
// abstract methods dont have an implementation
if(aMethodBase.IsAbstract)
{ {
// abstract methods dont have an implementation
return; return;
} }