Browse Source

Added an edge case for .NET 3 Block expression generation

pull/46/head
Anairkoen Schno 4 years ago
parent
commit
f617f08e09
2 changed files with 3 additions and 0 deletions
  1. +3
    -0
      Net3-Proxy/ExpressionEx.cs
  2. BIN
      Refs/UnityEngine.CoreModule.Net4.dll

+ 3
- 0
Net3-Proxy/ExpressionEx.cs View File

@ -143,6 +143,9 @@ namespace Net3_Proxy
Type lastType = null; Type lastType = null;
var rest = new List<Expression<Action>>(list.Count); var rest = new List<Expression<Action>>(list.Count);
if (list.Count == 0)
list.Add(info.Param);
for (int i = 0; i < list.Count; i++) for (int i = 0; i < list.Count; i++)
{ {
var expr = list[i]; var expr = list[i];


BIN
Refs/UnityEngine.CoreModule.Net4.dll View File


Loading…
Cancel
Save