protected internal MethodBaseDebugging(T method, ILGenerator generator, CodeDocument document, ISymbolDocumentWriter symbolDocument, Indention firstIndent)
            : this()
        {
            this.Builder        = method;
            this.Generator      = generator;
            this.Document       = document;
            this.SymbolDocument = symbolDocument;
            this.CurrentIndent  = firstIndent;

            if (this.Document != null)
            {
                this.BeginMethod(method);
            }
        }
Example #2
0
 internal TypeDebugging(TypeBuilder type, HashSet <Type> interfacesToImplement, CodeDocument document,
                        ISymbolDocumentWriter symbolDocument, Indention firstIndent)
     : base()
 {
     this.Builder               = type;
     this.Document              = document;
     this.SymbolDocument        = symbolDocument;
     this.InterfacesToImplement = interfacesToImplement;
     this.AddInterfacesToImplement();
     this.BeginType(firstIndent);
 }
Example #3
0
 internal ConstructorMethodDebugging(ConstructorBuilder method, CodeDocument document,
                                     ISymbolDocumentWriter symbolDocument, Indention firstIndent)
     : base(method, method.GetILGenerator(), document, symbolDocument, firstIndent)
 {
 }