public void BeginNode(DxfEntity entity, DrawContext.Surface drawContext) { SurfaceGraphicsCache.Class509 class509 = new SurfaceGraphicsCache.Class509(entity, drawContext); if (this.surfaceGraphicsCache_0.bool_0) { SurfaceGraphicsCache.Class508 class5080 = this.class508_0; this.class508_0 = new SurfaceGraphicsCache.Class508(entity, drawContext); class5080?.method_0(this.class508_0); this.class508_0.FirstDrawable = this.linkedListNode_0; this.class508_0.LastDrawable = this.linkedListNode_0.Next; this.stack_0.Push(this.class508_0); List <SurfaceGraphicsCache.Class508> class508List; if (!this.surfaceGraphicsCache_0.dictionary_0.TryGetValue(entity, out class508List)) { class508List = new List <SurfaceGraphicsCache.Class508>(); this.surfaceGraphicsCache_0.dictionary_0.Add(entity, class508List); } class508List.Add(this.class508_0); } this.stack_1.Push(this.linkedListNode_0.List.AddAfter(this.linkedListNode_0, (ISurfaceDrawable)class509)); this.linkedListNode_0 = class509.Drawables.First; }