System.Linq.Expressions.Compiler.LabelInfo.ValidateFinish C# (CSharp) Method

ValidateFinish() private method

private ValidateFinish ( ) : void
return void
        internal void ValidateFinish()
        {
            // Make sure that if this label was jumped to, it is also defined
            if (_references.Count > 0 && _definitions.Count == 0)
            {
                throw Error.LabelTargetUndefined(_node.Name);
            }
        }