public MethodSignature ImportMethodSignature(MethodSignature signature)
{
var newSignature = new MethodSignature(ImportTypeSignature(signature.ReturnType))
{
Attributes = signature.Attributes,
GenericParameterCount = signature.GenericParameterCount,
};
foreach (var parameter in signature.Parameters)
newSignature.Parameters.Add(new ParameterSignature(ImportTypeSignature(parameter.ParameterType)));
return newSignature;
}