# < Summary

Information

Class: | Renci.SshNet.Security.Chaos.NaCl.Internal.Ed25519Ref10.FieldElement
Assembly: | Renci.SshNet
File(s): | \home\appveyor\projects\ssh-net\src\Renci.SshNet\Security\Chaos.NaCl\Internal\Ed25519Ref10\FieldElement.cs

Line coverage
100%

Covered lines: | 13
Uncovered lines: | 0
Coverable lines: | 13
Total lines: | 36
Line coverage: | 100%

Branch coverage
N/A

Covered branches: | 0
Total branches: | 0
Branch coverage: | N/A

Method coverage

Feature is only available for sponsors

Upgrade to PRO version

# Metrics

Method | Branch coverage | Cyclomatic complexity | Line coverage
--- | --- | --- | ---
.ctor(...) | 100% | 1 | 100%

# File(s)

## \home\appveyor\projects\ssh-net\src\Renci.SshNet\Security\Chaos.NaCl\Internal\Ed25519Ref10\FieldElement.cs

| # | Line |  | Line coverage
--- | --- | --- | --- | ---
|  | `1` |  | `using System;`
|  | `2` |  | ``
|  | `3` |  | `namespace Renci.SshNet.Security.Chaos.NaCl.Internal.Ed25519Ref10`
|  | `4` |  | `{`
|  | `5` |  | `internal struct FieldElement`
|  | `6` |  | `{`
|  | `7` |  | `internal int x0;`
|  | `8` |  | `internal int x1;`
|  | `9` |  | `internal int x2;`
|  | `10` |  | `internal int x3;`
|  | `11` |  | `internal int x4;`
|  | `12` |  | `internal int x5;`
|  | `13` |  | `internal int x6;`
|  | `14` |  | `internal int x7;`
|  | `15` |  | `internal int x8;`
|  | `16` |  | `internal int x9;`
|  | `17` |  | ``
|  | `18` |  | `//internal static readonly FieldElement Zero = new FieldElement();`
|  | `19` |  | `//internal static readonly FieldElement One = new FieldElement() { x0 = 1 };`
|  | `20` |  | ``
|  | `21` |  | `internal FieldElement(params int[] elements)`
| 3180 | `22` |  | `{`
| 3180 | `23` |  | `InternalAssert.Assert(elements.Length == 10, "elements.Length != 10");`
| 3180 | `24` |  | `x0 = elements[0];`
| 3180 | `25` |  | `x1 = elements[1];`
| 3180 | `26` |  | `x2 = elements[2];`
| 3180 | `27` |  | `x3 = elements[3];`
| 3180 | `28` |  | `x4 = elements[4];`
| 3180 | `29` |  | `x5 = elements[5];`
| 3180 | `30` |  | `x6 = elements[6];`
| 3180 | `31` |  | `x7 = elements[7];`
| 3180 | `32` |  | `x8 = elements[8];`
| 3180 | `33` |  | `x9 = elements[9];`
| 3180 | `34` |  | `}`
|  | `35` |  | `}`
|  | `36` |  | `}`

# Methods/Properties

.ctor(System.Int32[])