Esempio n. 1
0
 public MethodBody(Microsoft.Cci.MemoryStream ilBits,
                   ushort maxStack,
                   Microsoft.Cci.IMethodDefinition parent,
                   IEnumerable <LocalDefinition> locals,
                   Microsoft.Cci.SequencePoint[] sequencePoints)
 {
     this.ilBits         = ilBits;
     this.maxStack       = maxStack;
     this.parent         = parent;
     this.locals         = locals;
     this.sequencePoints = sequencePoints;
 }
 public MethodBody(Microsoft.Cci.MemoryStream ilBits,
     ushort maxStack,
     Microsoft.Cci.IMethodDefinition parent,
     IEnumerable<LocalDefinition> locals,
     Microsoft.Cci.SequencePoint[] sequencePoints)
 {
     this.ilBits = ilBits;
     this.maxStack = maxStack;
     this.parent = parent;
     this.locals = locals;
     this.sequencePoints = sequencePoints;
 }
Esempio n. 3
0
 public LocalScopeDefinition(uint begin, uint end, Microsoft.Cci.IMethodDefinition parent)
 {
     this.begin  = begin;
     this.end    = end;
     this.parent = parent;
 }
 // Add a new synthesized method indexed by it's name if the method isn't already present.
 internal bool TryAddSynthesizedMethod(Microsoft.Cci.IMethodDefinition method)
 {
     Debug.Assert(!IsFrozen);
     return(this.synthesizedMethods.TryAdd(method.Name, method));
 }
 public LocalScopeDefinition(uint begin, uint end, Microsoft.Cci.IMethodDefinition parent)
 {
     this.begin = begin;
     this.end = end;
     this.parent = parent;
 }