private SourceWriter CodeIndent(Chunk chunk) { if (_source.AdjustDebugSymbols) { if (chunk != null && chunk.Position != null) { _source.StartOfLine = false; return(_source .WriteDirective("#ExternalSource(\"{1}\", {0})", chunk.Position.Line, chunk.Position.SourceContext.FileName) .Indent(chunk.Position.Column - 1)); } return(_source.WriteDirective("#ExternalSource(\"\", 16707566)")); } return(_source); }
private SourceWriter CodeIndent(Chunk chunk) { if (_source.AdjustDebugSymbols) { if (chunk != null && chunk.Position != null) { _source.StartOfLine = false; return(_source .WriteDirective("#line {0} \"{1}\"", chunk.Position.Line, chunk.Position.SourceContext.FileName) .Indent(chunk.Position.Column - 1)); } _source.StartOfLine = false; return(_source.WriteLine("#line default")); } return(_source); }