Vixen
02b45cc4
csharp
public sealed class ContextBinder

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.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (1)

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