Browse Source

Fix formatting

pull/2276/head
Siegfried Pammer 5 years ago
parent
commit
032bd5356a
  1. 32
      ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs

32
ICSharpCode.Decompiler/CSharp/RecordDecompiler.cs

@ -859,18 +859,18 @@ namespace ICSharpCode.Decompiler.CSharp
bool Visit(ILInstruction inst) bool Visit(ILInstruction inst)
{ {
if (inst is BinaryNumericInstruction if (inst is BinaryNumericInstruction
{
Operator: BinaryNumericOperator.Add,
CheckForOverflow: false,
Left: BinaryNumericInstruction
{ {
Operator: BinaryNumericOperator.Add, Operator: BinaryNumericOperator.Mul,
CheckForOverflow: false, CheckForOverflow: false,
Left: BinaryNumericInstruction Left: var left,
{ Right: LdcI4 { Value: -1521134295 }
Operator: BinaryNumericOperator.Mul, },
CheckForOverflow: false, Right: var right
Left: var left, })
Right: LdcI4 { Value: -1521134295 }
},
Right: var right
})
{ {
if (!Visit(left)) if (!Visit(left))
return false; return false;
@ -971,13 +971,13 @@ namespace ICSharpCode.Decompiler.CSharp
target = null; target = null;
member = null; member = null;
if (inst is CallVirt if (inst is CallVirt
{
Method:
{ {
Method: AccessorKind: System.Reflection.MethodSemanticsAttributes.Getter,
{ AccessorOwner: IProperty property
AccessorKind: System.Reflection.MethodSemanticsAttributes.Getter, }
AccessorOwner: IProperty property } call)
}
} call)
{ {
if (call.Arguments.Count != 1) if (call.Arguments.Count != 1)
return false; return false;

Loading…
Cancel
Save