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

DomCR / ACadSharp / 29143042407

11 Jul 2026 06:34AM UTC coverage: 2.912% (-73.0%) from 75.918%
29143042407

push

github

web-flow
Merge pull request #1146 from ilCosmico/acds-read-payload-anchor

Read the AcDs payload area offset from the data segment header

264 of 12999 branches covered (2.03%)

Branch coverage included in aggregate %.

0 of 30 new or added lines in 1 file covered. (0.0%)

31243 existing lines in 465 files now uncovered.

1337 of 41984 relevant lines covered (3.18%)

5.38 hits per line

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

0.0
/src/ACadSharp/Objects/UnknownNonGraphicalObject.cs
1
using ACadSharp.Classes;
2

3
namespace ACadSharp.Objects
4
{
5
        /// <summary>
6
        /// Class that holds the basic information for an unknown <see cref="NonGraphicalObject"/>.
7
        /// </summary>
8
        /// <remarks>
9
        /// Unknown entities may appear in the <see cref="CadDocument"/> if the cad file contains proxies or objects not yet supported by ACadSharp.
10
        /// </remarks>
11
        public class UnknownNonGraphicalObject : NonGraphicalObject
12
        {
13
                /// <inheritdoc/>
14
                public override ObjectType ObjectType => ObjectType.UNDEFINED;
×
15

16
                /// <inheritdoc/>
17
                public override string ObjectName
18
                {
19
                        get
UNCOV
20
                        {
×
UNCOV
21
                                if (this.DxfClass == null)
×
22
                                {
×
23
                                        return "UNKNOWN";
×
24
                                }
25
                                else
UNCOV
26
                                {
×
UNCOV
27
                                        return this.DxfClass.DxfName;
×
28
                                }
UNCOV
29
                        }
×
30
                }
31

32
                /// <inheritdoc/>
33
                public override string SubclassMarker
34
                {
35
                        get
36
                        {
×
37
                                if (this.DxfClass == null)
×
38
                                {
×
39
                                        return DxfSubclassMarker.Entity;
×
40
                                }
41
                                else
42
                                {
×
43
                                        return this.DxfClass.CppClassName;
×
44
                                }
45
                        }
×
46
                }
47

48
                /// <summary>
49
                /// Dxf class linked to this entity.
50
                /// </summary>
UNCOV
51
                public DxfClass DxfClass { get; }
×
52

UNCOV
53
                internal UnknownNonGraphicalObject(DxfClass dxfClass)
×
UNCOV
54
                {
×
UNCOV
55
                        this.DxfClass = dxfClass;
×
UNCOV
56
                }
×
57
        }
58
}
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