Browse Source

Fix formatting

pull/2874/head
ElektroKill 3 years ago
parent
commit
29eb31354b
No known key found for this signature in database
GPG Key ID: 7E3C5C084E40E3EC
  1. 2
      ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.cs

2
ICSharpCode.Decompiler/IL/ControlFlow/YieldReturnDecompiler.cs

@ -596,7 +596,7 @@ namespace ICSharpCode.Decompiler.IL.ControlFlow @@ -596,7 +596,7 @@ namespace ICSharpCode.Decompiler.IL.ControlFlow
foreach (var instr in body.Blocks.SelectMany(block => block.Instructions))
{
if (instr is CallInstruction call && call.Arguments.Count == 1 && call.Arguments[0].MatchLdThis() &&
IsMethod((MethodDefinitionHandle)call.Method.MetadataToken, "MoveNext"))
IsMethod((MethodDefinitionHandle)call.Method.MetadataToken, "MoveNext"))
{
isCompiledWithVisualBasic = true;
break;

Loading…
Cancel
Save