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

neo-project / neo-devpack-dotnet / 11833857588

14 Nov 2024 08:57AM CUT coverage: 74.059% (+0.001%) from 74.058%
11833857588

Pull #1214

github

web-flow
Merge fd8c8cdd4 into 542365a4e
Pull Request #1214: nullable Storage.Get; refactor TokenContract

4827 of 7082 branches covered (68.16%)

Branch coverage included in aggregate %.

1 of 16 new or added lines in 6 files covered. (6.25%)

1 existing line in 1 file now uncovered.

12913 of 16872 relevant lines covered (76.54%)

17623.59 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