예제 #1
0
        internal SequencePoint(int offset, Document document)
        {
            if (document == null)
            {
                throw new ArgumentNullException("document");
            }

            this.offset   = new InstructionOffset(offset);
            this.document = document;
        }
예제 #2
0
        public SequencePoint(Instruction instruction, Document document)
        {
            if (document == null)
            {
                throw new ArgumentNullException("document");
            }

            this.offset   = new InstructionOffset(instruction);
            this.document = document;
        }
예제 #3
0
        public ScopeDebugInformation(Instruction start, Instruction end)
            : this()
        {
            if (start == null)
            {
                throw new ArgumentNullException("start");
            }

            this.start = new InstructionOffset(start);

            if (end != null)
            {
                this.end = new InstructionOffset(end);
            }
        }
예제 #4
0
 public StateMachineScope(Instruction start, Instruction end)
 {
     this.start = new InstructionOffset(start);
     this.end   = end != null ? new InstructionOffset(end) : new InstructionOffset();
 }
예제 #5
0
 internal StateMachineScope(int start, int end)
 {
     this.start = new InstructionOffset(start);
     this.end   = new InstructionOffset(end);
 }
예제 #6
0
 public AsyncMethodBodyDebugInformation()
     : base(KindIdentifier)
 {
     this.catch_handler = new InstructionOffset(-1);
 }
예제 #7
0
 internal AsyncMethodBodyDebugInformation(int catchHandler)
     : base(KindIdentifier)
 {
     this.catch_handler = new InstructionOffset(catchHandler);
 }