void WriteScopeVariables(ScopeDebugInformation scope) { if (!scope.HasVariables) return; foreach (var variable in scope.variables) if (!string.IsNullOrEmpty (variable.Name)) writer.DefineLocalVariable (variable.Index, variable.Name); }