System.Xml.Xsl.IlGen.GenerateHelper.MarkLabel C# (CSharp) Method

MarkLabel() public method

public MarkLabel ( Label lbl ) : void
lbl Label
return void
        public void MarkLabel(Label lbl)
        {
            if (_lastSourceInfo != null && !_lastSourceInfo.IsNoSource)
            {
                // Emit a "no source" sequence point, otherwise the debugger would show
                // a wrong line if we jumped to this label from another place
                DebugSequencePoint(SourceLineInfo.NoSource);
            }

#if DEBUG
            if (XmlILTrace.IsEnabled)
                this.writerDump.WriteLine("Label {0}:", this.symbols[lbl]);
#endif

            _ilgen.MarkLabel(lbl);
        }