mirror of
https://github.com/danbulant/Cosmos
synced 2026-06-07 16:52:50 +00:00
This commit is contained in:
parent
1f9a36ddf8
commit
ef481ad578
1 changed files with 24 additions and 21 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue