Browse Source

Fix #1228: SequencePointBuilder: Assertion failed: missing endLocation

pull/1236/head
Siegfried Pammer 8 years ago
parent
commit
1104b29d26
  1. 1
      ICSharpCode.Decompiler/CSharp/Transforms/NormalizeBlockStatements.cs

1
ICSharpCode.Decompiler/CSharp/Transforms/NormalizeBlockStatements.cs

@ -143,6 +143,7 @@ namespace ICSharpCode.Decompiler.CSharp.Transforms
if (!m.Success) if (!m.Success)
return; return;
propertyDeclaration.ExpressionBody = m.Get<Expression>("expression").Single().Detach(); propertyDeclaration.ExpressionBody = m.Get<Expression>("expression").Single().Detach();
propertyDeclaration.Getter.Remove();
} }
} }
} }

Loading…
Cancel
Save