[Rewrite] Removed unused conditional.

This commit is contained in:
thefiddler 2014-05-12 16:34:02 +02:00
parent 3a94d8147f
commit bb01f35de9

View file

@ -814,9 +814,7 @@ namespace OpenTK.Rewrite
{
// 2d-3d array, address must be taken as follows:
// call instance T& T[0..., 0..., 0...]::Address(int, int, int)
ByReferenceType t_ref = array.IsGenericParameter ?
array.ElementType.MakeByReferenceType() :
array.ElementType.MakeByReferenceType();
ByReferenceType t_ref = array.ElementType.MakeByReferenceType();
MethodReference get_address = new MethodReference("Address", t_ref, array);
for (int r = 0; r < array.Rank; r++)
{