private CSharpLineMappingWriter([NotNull] CSharpCodeWriter writer, bool addLineMappings) { _writer = writer; _addLineMapping = addLineMappings; _startIndent = _writer.CurrentIndent; _writer.ResetIndent(); }
private CSharpLineMappingWriter([NotNull] CSharpCodeWriter writer, bool addLineMappings) { _writer = writer; _addLineMapping = addLineMappings; _startIndent = _writer.CurrentIndent; _writer.ResetIndent(); }
public CSharpLineMappingWriter(CSharpCodeWriter writer, SourceLocation documentLocation, int contentLength) { _writer = writer; _documentMapping = new MappingLocation(documentLocation, contentLength); _startIndent = _writer.CurrentIndent; _generatedContentLength = 0; _writer.ResetIndent(); _generatedLocation = _writer.GetCurrentSourceLocation(); }
public CSharpLineMappingWriter(CSharpCodeWriter writer, SourceLocation documentLocation, int contentLength) { _writer = writer; _documentMapping = new MappingLocation(documentLocation, contentLength); _startIndent = _writer.CurrentIndent; _generatedContentLength = 0; _writer.ResetIndent(); _generatedLocation = _writer.GetCurrentSourceLocation(); }