oops old code

This commit is contained in:
Shockah 2022-02-08 22:19:16 +01:00
parent 3135925982
commit 5b5304403b
1 changed files with 0 additions and 1 deletions

View File

@ -143,7 +143,6 @@ namespace StardewModdingAPI.Framework.Reflection
genericTypeParameterBuilders[i].SetGenericParameterAttributes(proxyGenericArguments[i].GenericParameterAttributes); genericTypeParameterBuilders[i].SetGenericParameterAttributes(proxyGenericArguments[i].GenericParameterAttributes);
// set up return type // set up return type
// TODO: keep if it's decided to use isAssignableFrom
methodBuilder.SetReturnType(proxy.ReturnType.IsGenericMethodParameter ? genericTypeParameterBuilders[proxy.ReturnType.GenericParameterPosition] : proxy.ReturnType); methodBuilder.SetReturnType(proxy.ReturnType.IsGenericMethodParameter ? genericTypeParameterBuilders[proxy.ReturnType.GenericParameterPosition] : proxy.ReturnType);
// set up parameters // set up parameters