public void MarkSequencePoint(System.Diagnostics.SymbolStore.ISymbolDocumentWriter !document, int startLine, int startColumn, int endLine, int endColumn) { CodeContract.Requires(startLine != 0); CodeContract.Requires(startLine >= 0); CodeContract.Requires(endLine != 0); CodeContract.Requires(endLine >= 0); }
public void DefineSequencePoints(System.Diagnostics.SymbolStore.ISymbolDocumentWriter document, int[] offsets, int[] lines, int[] columns, int[] endLines, int[] endColumns) { currentMethod.document = (SymbolDocumentWriter)document; currentMethod.offsets = offsets; currentMethod.lines = lines; currentMethod.columns = columns; }
/// <summary> /// Marks a sequence point in the Microsoft intermediate language (MSIL) stream. /// </summary> /// <param name="document"> The document for which the sequence point is being defined. </param> /// <param name="span"> The start and end positions which define the sequence point. </param> public void MarkSequencePoint(System.Diagnostics.SymbolStore.ISymbolDocumentWriter document, SourceCodeSpan span) { if (span == null) { throw new ArgumentNullException("span"); } MarkSequencePoint(document, span.StartLine, span.StartColumn, span.EndLine, span.EndColumn); }
/// <summary> /// Marks a sequence point in the Microsoft intermediate language (MSIL) stream. /// </summary> /// <param name="document"> The document for which the sequence point is being defined. </param> /// <param name="startLine"> The line where the sequence point begins. </param> /// <param name="startColumn"> The column in the line where the sequence point begins. </param> /// <param name="endLine"> The line where the sequence point ends. </param> /// <param name="endColumn"> The column in the line where the sequence point ends. </param> public override void MarkSequencePoint(System.Diagnostics.SymbolStore.ISymbolDocumentWriter document, int startLine, int startColumn, int endLine, int endColumn) { #if ENABLE_DEBUGGING this.generator.MarkSequencePoint(document, startLine, startColumn, endLine, endColumn); #else throw new NotImplementedException(); #endif }
public void BeginModule(string ifile) { appdomain = System.Threading.Thread.GetDomain(); appname = getAssemblyName(filename); appbuild = appdomain.DefineDynamicAssembly(appname, AssemblyBuilderAccess.Save, Io.genpath); emodule = appbuild.DefineDynamicModule( filename + "_module", Io.GetOutputFilename(), Io.gendebug); Guid g = System.Guid.Empty; if (Io.gendebug) { srcdoc = emodule.DefineDocument(ifile, g, g, g); } }
/// <summary> /// Marks a sequence point in the Microsoft intermediate language (MSIL) stream. /// </summary> /// <param name="document"> The document for which the sequence point is being defined. </param> /// <param name="startLine"> The line where the sequence point begins. </param> /// <param name="startColumn"> The column in the line where the sequence point begins. </param> /// <param name="endLine"> The line where the sequence point ends. </param> /// <param name="endColumn"> The column in the line where the sequence point ends. </param> public abstract void MarkSequencePoint(System.Diagnostics.SymbolStore.ISymbolDocumentWriter document, int startLine, int startColumn, int endLine, int endColumn);
/// <summary> /// Marks a sequence point in the Microsoft intermediate language (MSIL) stream. /// </summary> /// <param name="document"> The document for which the sequence point is being defined. </param> /// <param name="startLine"> The line where the sequence point begins. </param> /// <param name="startColumn"> The column in the line where the sequence point begins. </param> /// <param name="endLine"> The line where the sequence point ends. </param> /// <param name="endColumn"> The column in the line where the sequence point ends. </param> public override void MarkSequencePoint(System.Diagnostics.SymbolStore.ISymbolDocumentWriter document, int startLine, int startColumn, int endLine, int endColumn) { this.generator.MarkSequencePoint(document, startLine, startColumn, endLine, endColumn); }
public void SetMethodSourceRange(System.Diagnostics.SymbolStore.ISymbolDocumentWriter startDoc, int startLine, int startColumn, System.Diagnostics.SymbolStore.ISymbolDocumentWriter endDoc, int endLine, int endColumn) { }
public void DefineSequencePoints(System.Diagnostics.SymbolStore.ISymbolDocumentWriter document, int[] offsets, int[] lines, int[] columns, int[] endLines, int[] endColumns) { }
public ILEmitter MarkSequencePoint(System.Diagnostics.SymbolStore.ISymbolDocumentWriter document, int startLine, int startIndex, int endLine, int endIndex) { _generator.MarkSequencePoint(document, startLine, startIndex, endLine, endIndex); return(this); }
public virtual void MarkSequencePoint(System.Diagnostics.SymbolStore.ISymbolDocumentWriter document, int startLine, int startColumn, int endLine, int endColumn) { throw new PlatformNotSupportedException(); }
/// <summary> /// Marks a sequence point in the Microsoft intermediate language (MSIL) stream. /// </summary> /// <param name="document"> The document for which the sequence point is being defined. </param> /// <param name="span"> The start and end positions which define the sequence point. </param> public void MarkSequencePoint(System.Diagnostics.SymbolStore.ISymbolDocumentWriter document, Compiler.Debugging.TextSpan span) { MarkSequencePoint(document, span.StartLine, span.StartColumn, span.EndLine, span.EndColumn); }
public void BeginModule(string ifile) { appdomain = System.Threading.Thread.GetDomain(); appname = getAssemblyName(filename); appbuild = appdomain.DefineDynamicAssembly(appname, AssemblyBuilderAccess.Save, Io.genpath); emodule = appbuild.DefineDynamicModule( filename+"_module", Io.GetOutputFilename(), Io.gendebug); Guid g = System.Guid.Empty; if (Io.gendebug) srcdoc = emodule.DefineDocument(ifile, g, g, g); }
public CompilationUnit(string filename, ModuleBuilder module_builder, bool debuggable) { ModuleBuilder = module_builder; SymbolDocument = debuggable ? module_builder.DefineDocument(filename, Guid.Empty, Guid.Empty, Guid.Empty) : null; }