Skip to content

Commit

Permalink
fixed issue with using declaration in method calls with out params
Browse files Browse the repository at this point in the history
  • Loading branch information
ASDAlexander77 committed Jul 8, 2017
1 parent a198f3c commit eeaac82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Il2Native.Logic/DOM2/Base.cs
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ internal static void ParseBoundStatementList(BoundStatementList boundStatementLi
var boundBlock = boundStatementList as BoundBlock;
if (boundBlock != null)
{
ParseLocals(boundBlock.Locals, statements, boundBlock.Syntax.Green is UsingStatementSyntax || boundBlock.Syntax.Green is FixedStatementSyntax);
ParseLocals(boundBlock.Locals, statements, boundBlock.Syntax.Green is UsingStatementSyntax || boundBlock.Syntax.Green is FixedStatementSyntax || boundBlock.Syntax.Green is BlockSyntax);
}

foreach (var boundStatement in IterateBoundStatementsList(boundStatementList))
Expand Down
4 changes: 2 additions & 2 deletions Il2Native/Il2Native.CmdLine.csproj.user
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
<StartArguments>HelloWorld.cs /corelib:C:\Dev\Gits\IlNative\CoreLib\bin\Release\CoreLib.dll</StartArguments>
<StartWorkingDirectory>C:\Temp\cs2cpp_tries\helloworld</StartWorkingDirectory>
<StartArguments>HelloWorld.cs /corelib:D:\Developing\Il2Native\CoreLib\bin\Release\CoreLib.dll</StartArguments>
<StartWorkingDirectory>D:\Temp\cs2cpp_tries\</StartWorkingDirectory>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
<StartArguments>
Expand Down

0 comments on commit eeaac82

Please sign in to comment.