oops old code
This commit is contained in:
parent
3135925982
commit
5b5304403b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue