Fixed dotnet-issue with invalid memory access when using Parameter lists