• 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/ProxyObject.cs
1
using ACadSharp.Attributes;
2
using ACadSharp.Classes;
3
using System.IO;
4

5
namespace ACadSharp.Objects
6
{
7
        /// <summary>
8
        /// Represents a <see cref="ProxyObject"/> entity.
9
        /// </summary>
10
        /// <remarks>
11
        /// Object name <see cref="DxfFileToken.ObjectProxyObject"/> <br/>
12
        /// Dxf class name <see cref="DxfSubclassMarker.ProxyObject"/>
13
        /// </remarks>
14
        [DxfName(DxfFileToken.ObjectProxyObject)]
15
        [DxfSubClass(DxfSubclassMarker.ProxyObject)]
16
        public class ProxyObject : NonGraphicalObject, IProxy
17
        {
18
                /// <inheritdoc/>
19
                [DxfCodeValue(91)]
20
                public int ClassId { get { return this.DxfClass.ClassNumber; } }
×
21

22
                /// <summary>
23
                /// Object drawing format when it becomes a proxy: <br/>
24
                /// Low word is AcDbDwgVersion. <br/>
25
                /// High word is MaintenanceReleaseVersion.
26
                /// </summary>
27
                [DxfCodeValue(95)]
28
                public int DrawingFormat { get { return (int)this.Version | (this.MaintenanceVersion << 16); } }
×
29

30
                /// <inheritdoc/>
31
                public DxfClass DxfClass { get; set; }
×
32

33
                /// <inheritdoc/>
UNCOV
34
                public int MaintenanceVersion { get; set; }
×
35

36
                /// <inheritdoc/>
37
                public override string ObjectName => DxfFileToken.ObjectProxyObject;
×
38

39
                /// <inheritdoc/>
40
                [DxfCodeValue(70)]
UNCOV
41
                public bool OriginalDataFormatDxf { get; set; }
×
42

43
                /// <inheritdoc/>
44
                /// <remarks>
45
                /// Always 499
46
                /// </remarks>
47
                [DxfCodeValue(90)]
UNCOV
48
                public int ProxyClassId { get; } = 499;
×
49

50
                //93 Size of entity data in bits
51
                //310 Binary entity data(multiple entries can appear) (optional)
52

53
                [DxfCodeValue(310)]
54
                public Stream BinaryData { get; set; }
×
55

56
                [DxfCodeValue(311)]
57
                public Stream Data { get; set; }
×
58

59
                //330 or 340
60
                //or 350 or 360
61
                //An object ID(multiple entries can appear) (optional)
62

63
                //94 0 (indicates end of object ID section)
64

65
                /// <inheritdoc/>
66
                public override string SubclassMarker => DxfSubclassMarker.ProxyObject;
×
67

68
                /// <inheritdoc/>
69
                public ACadVersion Version { get; set; }
×
70
        }
71
}
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