SpeculativeBindingOption Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes the kind of binding to be performed in one of the SemanticModel speculative binding methods.
public enum class SpeculativeBindingOption
public enum SpeculativeBindingOption
type SpeculativeBindingOption =
Public Enum SpeculativeBindingOption
- Inheritance
-
SpeculativeBindingOption
Fields
Name | Value | Description |
---|---|---|
BindAsExpression | 0 | Binds the given expression using the normal expression binding rules that would occur during normal binding of expressions. |
BindAsTypeOrNamespace | 1 | Binds the given expression as a type or namespace only. If this option is selected, then the given expression must derive from TypeSyntax. |