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

icerpc / icerpc-csharp / 20870171951

10 Jan 2026 01:03AM UTC coverage: 83.304% (-0.1%) from 83.399%
20870171951

Pull #4221

github

web-flow
Merge fe4f556d8 into f39e9819d
Pull Request #4221: Use new C#14 extension block syntax

12030 of 14441 relevant lines covered (83.3%)

2957.05 hits per line

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

0.0
src/IceRpc.Slice/Ice/IdentityPathSliceEncoderExtensions.cs
1
// Copyright (c) ZeroC, Inc.
2

3
using IceRpc.Internal;
4
using ZeroC.Slice;
5

6
namespace IceRpc.Slice.Ice;
7

8
/// <summary>Provides an extension for <see cref="SliceEncoder" /> to encode a path as an Ice identity.</summary>
9
public static class IdentityPathSliceEncoderExtensions
10
{
11
    /// <summary>Extension methods for <see cref="SliceEncoder" />.</summary>
12
    /// <param name="encoder">The Slice encoder.</param>
13
    extension(ref SliceEncoder encoder)
14
    {
15
        /// <summary>Encodes a path as an Ice identity.</summary>
16
        /// <param name="value">The path to encode as an Ice identity.</param>
17
        public void EncodeIdentityPath(string value) =>
18
            Identity.Parse(value).Encode(ref encoder);
×
19
    }
20
}
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

© 2026 Coveralls, Inc