mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-21 05:18:38 +00:00
output builds now :-)
This commit is contained in:
parent
3f0e954f89
commit
a331bc1b1b
2 changed files with 4 additions and 4 deletions
|
|
@ -40,14 +40,14 @@ namespace Indy.IL2CPU.IL.X86 {
|
|||
if (String.IsNullOrEmpty(xMethodName)) {
|
||||
xMethodName = TheMethod.Name;
|
||||
}
|
||||
if (TheMethod.PInvokeInfo.IsCharSetNotSpec) {
|
||||
//if (TheMethod.PInvokeInfo.IsCharSetNotSpec) {
|
||||
foreach (ParameterDefinition xParam in TheMethod.Parameters) {
|
||||
if (xParam.ParameterType.FullName=="System.String") {
|
||||
xMethodName += "A";
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
//}
|
||||
if (String.IsNullOrEmpty(xDllName)) {
|
||||
throw new Exception("Unable to determine what dll to use!");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -171,12 +171,12 @@ namespace Indy.IL2CPU {
|
|||
TypeDefinition xType = mTypes[i];
|
||||
List<MethodDefinition> xEmittedMethods = new List<MethodDefinition>();
|
||||
foreach (MethodDefinition xMethod in xType.Methods) {
|
||||
if (mMethods.ContainsKey(xMethod) && mMethods[xMethod]) {
|
||||
if (mMethods.ContainsKey(xMethod) && mMethods[xMethod] && !xMethod.IsAbstract) {
|
||||
xEmittedMethods.Add(xMethod);
|
||||
}
|
||||
}
|
||||
foreach (MethodDefinition xCtor in xType.Constructors) {
|
||||
if (mMethods.ContainsKey(xCtor) && mMethods[xCtor]) {
|
||||
if (mMethods.ContainsKey(xCtor) && mMethods[xCtor] && !xCtor.IsAbstract) {
|
||||
xEmittedMethods.Add(xCtor);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue