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

neo-project / neo-devpack-dotnet / 12049860354

27 Nov 2024 12:01PM CUT coverage: 74.047%. Remained the same
12049860354

Pull #1253

github

web-flow
Merge a37ed6526 into 76b15d5a6
Pull Request #1253: Small optmizations from #1251

4991 of 7352 branches covered (67.89%)

Branch coverage included in aggregate %.

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

13258 of 17293 relevant lines covered (76.67%)

18305.71 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