Browse Source

Added an edge case for .NET 3 Block expression generation

4.0.0-beta
Anairkoen Schno 4 years ago
parent
commit
d8b3042636
3 changed files with 3 additions and 0 deletions
  1. +3
    -0
      Net3-Proxy/ExpressionEx.cs
  2. BIN
      Refs/MainAssembly.dll
  3. 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/MainAssembly.dll View File


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


Loading…
Cancel
Save