BTDB.IL.SourceCodeWriter.WriteLine C# (CSharp) Метод

WriteLine() приватный Метод

private WriteLine ( string text ) : void
text string
Результат void
        internal void WriteLine(string text)
        {
            _sourceWriter.Write(new string(' ', RealIndent));
            _sourceWriter.WriteLine(text);
            _currentLine++;
        }

Usage Example

Пример #1
0
        public IILLocal DeclareLocal(Type type, string name, bool pinned = false)
        {
            var localBuilder = _ilGenerator.DeclareLocal(type, pinned);

            if (name == null)
            {
                name = "local" + localBuilder.LocalIndex;
            }
            localBuilder.SetLocalSymInfo(name);
            _sourceCodeWriter.WriteLine(string.Format("{3}{0} {1} // index {2}", type.ToSimpleName(), name, localBuilder.LocalIndex, pinned ? "pinned " : ""));
            return(new ILLocalImpl(localBuilder, name));
        }
All Usage Examples Of BTDB.IL.SourceCodeWriter::WriteLine