This commit is contained in:
kudzu_cp 2009-09-13 03:26:46 +00:00
parent 1f9a36ddf8
commit ef481ad578

View file

@ -465,6 +465,9 @@ namespace Cosmos.IL2CPU {
} }
} }
// If we found a matching method, check for attributes
// that might disable it.
if (xResult != null) {
//TODO: For signature ones, we could cache the attrib. Thats //TODO: For signature ones, we could cache the attrib. Thats
// why we check for null here // why we check for null here
if (xAttrib == null) { if (xAttrib == null) {
@ -487,6 +490,8 @@ namespace Cosmos.IL2CPU {
xResult = null; xResult = null;
} }
} }
}
return xResult;
//Type xAssembler = null; //Type xAssembler = null;
// } else if (xAttrib.Signature != null) { // } else if (xAttrib.Signature != null) {
// System_Void__Indy_IL2CPU_Assembler_Assembler__cctor__ // System_Void__Indy_IL2CPU_Assembler_Assembler__cctor__
@ -610,8 +615,6 @@ namespace Cosmos.IL2CPU {
// } // }
//} //}
//} //}
return xResult;
} }
protected MethodBase ResolvePlug(MethodBase aMethod, Type[] aParamTypes) { protected MethodBase ResolvePlug(MethodBase aMethod, Type[] aParamTypes) {