csharp
public sealed class ContextBinderSwaps in a different BindingContext without changing the scope chain. The SemanticModel uses this so diagnostics and bound nodes from method bodies land in its own maps rather than the compilation's declaration state.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (1)
public override BindingContext Context
Methods (1)
public ContextBinder(Binder next, BindingContext context)Swaps in a different BindingContext without changing the scope chain. The SemanticModel uses this so diagnostics and bound nodes from method bodies land in its own maps rather than the compilation's declaration state.
Used by (2)
- BinderVixen.Raven
- SemanticModelVixen.Raven