public override void OnLabelStatement(LabelStatement node)
{
AstAnnotations.SetTryBlockDepth(node, _state.TryBlockDepth);
if (null == _state.ResolveLabel(node.Name))
{
_state.AddLabel(new InternalLabel(node));
}
else
{
Error(
CompilerErrorFactory.LabelAlreadyDefined(node,
_currentMethod.FullName,
node.Name));
}
}