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

neo-project / neo-devpack-dotnet / 12049769944

27 Nov 2024 11:55AM CUT coverage: 74.097% (-0.004%) from 74.101%
12049769944

push

github

web-flow
Remove nullable enable (#1255)

Co-authored-by: Jimmy <jimmy@r3e.network>

4982 of 7330 branches covered (67.97%)

Branch coverage included in aggregate %.

13257 of 17285 relevant lines covered (76.7%)

18314.22 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