Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/ikvm-fork.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjfrijters <jfrijters>2011-12-02 12:14:58 +0400
committerjfrijters <jfrijters>2011-12-02 12:14:58 +0400
commit1329badf2f10a9819841c1a59f5f3ccc435ef3ea (patch)
tree8478e20ef693062e3ef8d2634a2f8a8733b79991 /reflect/StandAloneMethodSig.cs
parent72e3bfb7966341d49f9696e8c91fe3bc1f419d21 (diff)
Removed static Create() from __StandAloneMethodSig and added Universe.MakeStandAloneMethodSig().
Diffstat (limited to 'reflect/StandAloneMethodSig.cs')
-rw-r--r--reflect/StandAloneMethodSig.cs12
1 files changed, 0 insertions, 12 deletions
diff --git a/reflect/StandAloneMethodSig.cs b/reflect/StandAloneMethodSig.cs
index 1371bf6f..1d9425d7 100644
--- a/reflect/StandAloneMethodSig.cs
+++ b/reflect/StandAloneMethodSig.cs
@@ -115,17 +115,5 @@ namespace IKVM.Reflection
{
get { return parameterTypes.Length + optionalParameterTypes.Length; }
}
-
- public static __StandAloneMethodSig Create(CallingConvention callingConvention, Type returnType, CustomModifiers returnTypeCustomModifiers, Type[] parameterTypes, CustomModifiers[] parameterTypeCustomModifiers)
- {
- return new __StandAloneMethodSig(true, callingConvention, 0, returnType, Util.Copy(parameterTypes), Type.EmptyTypes,
- PackedCustomModifiers.CreateFromExternal(returnTypeCustomModifiers, parameterTypeCustomModifiers, Util.NullSafeLength(parameterTypes)));
- }
-
- public static __StandAloneMethodSig Create(CallingConventions callingConvention, Type returnType, CustomModifiers returnTypeCustomModifiers, Type[] parameterTypes, Type[] optionalParameterTypes, CustomModifiers[] parameterTypeCustomModifiers)
- {
- return new __StandAloneMethodSig(false, 0, callingConvention, returnType, Util.Copy(parameterTypes), Util.Copy(optionalParameterTypes),
- PackedCustomModifiers.CreateFromExternal(returnTypeCustomModifiers, parameterTypeCustomModifiers, Util.NullSafeLength(parameterTypes) + Util.NullSafeLength(optionalParameterTypes)));
- }
}
}