internal SequencePoint(int offset, Document document)
        {
            if (document == null)
            {
                throw new ArgumentNullException("document");
            }

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

            this.offset   = new InstructionOffset(instruction);
            this.document = document;
        }
Exemple #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);
            }
        }
Exemple #4
0
 public StateMachineScope(Instruction start, Instruction end)
 {
     this.start = new InstructionOffset(start);
     this.end   = end != null ? new InstructionOffset(end) : new InstructionOffset();
 }
Exemple #5
0
 internal StateMachineScope(int start, int end)
 {
     this.start = new InstructionOffset(start);
     this.end   = new InstructionOffset(end);
 }
Exemple #6
0
 public AsyncMethodBodyDebugInformation()
     : base(KindIdentifier)
 {
     this.catch_handler = new InstructionOffset(-1);
 }
Exemple #7
0
 internal AsyncMethodBodyDebugInformation(int catchHandler)
     : base(KindIdentifier)
 {
     this.catch_handler = new InstructionOffset(catchHandler);
 }