Labels are not valid outside methods-multiline lambdas - Visual Basic ... Learn more about: Labels are not valid outside methods/multiline lambdas. Skip to main content. This browser is no longer supported. Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support. ... You can add a label to a statement only within a Sub, Function, property Get, or property Set ...