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

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

private CloseScope ( ) : void
Результат void
        internal void CloseScope()
        {
            Indent--;
            WriteLine("}");
        }

Usage Example

Пример #1
0
 public IILGen Catch(Type exceptionType)
 {
     _sourceCodeWriter.CloseScope();
     _sourceCodeWriter.MarkAndWriteLine(_ilGenerator, $"catch ({exceptionType.FullName})");
     _sourceCodeWriter.OpenScope();
     _ilGenerator.BeginCatchBlock(exceptionType);
     return(this);
 }
All Usage Examples Of BTDB.IL.SourceCodeWriter::CloseScope