public PdbSourceLocation(Context cx, PDB.Location location) : base(cx) { this.location = location; file = cx.CreateSourceFile(location.File); ShortId = file.ShortId + separator + new IntId(location.StartLine) + separator + new IntId(location.StartColumn) + separator + new IntId(location.EndLine) + separator + new IntId(location.EndColumn); }
/// <summary> /// Creates a source location. /// </summary> /// <param name="loc">The source location from PDB.</param> /// <returns>A source location entity.</returns> public PdbSourceLocation CreateSourceLocation(PDB.Location loc) => sourceLocations[loc];
public PdbSourceLocation(Context cx, PDB.Location location) : base(cx) { this.location = location; file = cx.CreateSourceFile(location.File); }