Changed signature of RemoveNativeSignatures.

This commit is contained in:
Jarl Gullberg 2017-05-29 22:08:48 +02:00
parent 7b65131fb5
commit b420ce8735
No known key found for this signature in database
GPG key ID: 750FF6F6BDA72D23

View file

@ -219,7 +219,7 @@ namespace OpenTK.Rewrite
}
}
static void RemoveNativeSignatures(TypeDefinition type, List<MethodDefinition> methods)
static void RemoveNativeSignatures(TypeDefinition type, IEnumerable<MethodDefinition> methods)
{
// Remove all DllImports for functions called through calli, since
// their signatures are embedded directly into the calli callsite.
@ -516,7 +516,7 @@ namespace OpenTK.Rewrite
}
static void EmitParameterEpilogues(MethodDefinition wrapper, MethodDefinition native, MethodBody body, ILProcessor il,
IReadOnlyCollection<GeneratedVariableIdentifier> generatedVariables)
List<GeneratedVariableIdentifier> generatedVariables)
{
foreach (var p in wrapper.Parameters)
{