• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

neo-project / neo-devpack-dotnet / 11753720086

09 Nov 2024 05:34AM CUT coverage: 74.058% (+0.003%) from 74.055%
11753720086

push

github

web-flow
Fix `Dissasembler` (#1236)

* Fix Dissasembler

* Reduce doble computation

* Update src/Neo.Disassembler.CSharp/Disassembler.cs

Co-authored-by: Hecate2 <2474101468@qq.com>

---------

Co-authored-by: Hecate2 <2474101468@qq.com>

4826 of 7082 branches covered (68.14%)

Branch coverage included in aggregate %.

17 of 17 new or added lines in 1 file covered. (100.0%)

12913 of 16871 relevant lines covered (76.54%)

17626.1 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/Neo.Compiler.CSharp/MethodConvert/System/SystemCall.Array.cs
1
// Copyright (C) 2015-2024 The Neo Project.
2
//
3
// The Neo.Compiler.CSharp is free software distributed under the MIT
4
// software license, see the accompanying file LICENSE in the main directory
5
// of the project or http://www.opensource.org/licenses/mit-license.php
6
// for more details.
7
//
8
// Redistribution and use in source and binary forms with or without
9
// modifications are permitted.
10

11
using System.Collections.Generic;
12
using System.Numerics;
13
using System.Runtime.InteropServices;
14
using Microsoft.CodeAnalysis;
15
using Microsoft.CodeAnalysis.CSharp.Syntax;
16
using Neo.SmartContract.Native;
17
using Neo.VM;
18

19
namespace Neo.Compiler;
20

21
internal partial class MethodConvert
22
{
23
    private static void HandleArrayReverse(MethodConvert methodConvert, SemanticModel model, IMethodSymbol symbol, ExpressionSyntax? instanceExpression, IReadOnlyList<SyntaxNode>? arguments)
24
    {
×
25
        if (instanceExpression is not null)
×
26
            methodConvert.ConvertExpression(model, instanceExpression);
×
27
        if (arguments is not null)
×
28
            methodConvert.PrepareArgumentsForMethod(model, symbol, arguments);
×
29
        methodConvert.AddInstruction(OpCode.REVERSEITEMS);
×
30
    }
×
31
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc