7 references to WithContainingMemberOrLambda
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Expressions.cs (1)
468var binder = new LocalScopeBinder(this.WithContainingMemberOrLambda(parameter.ContainingSymbol).WithAdditionalFlags(BinderFlags.ParameterDefaultValue));
Binder\BinderFactory.BinderFactoryVisitor.cs (1)
1183result = result.WithContainingMemberOrLambda(outerBinder.ContainingMemberOrLambda);
Compiler\DocumentationCommentCompiler.IncludeElementExpander.cs (1)
554binder = binder.WithContainingMemberOrLambda(containingSymbol);
Symbols\Source\GlobalExpressionVariable.cs (1)
189binder = binder.WithContainingMemberOrLambda(_containingFieldOpt).WithAdditionalFlags(BinderFlags.FieldInitializer);
Symbols\Source\SourceConstructorSymbolBase.cs (1)
42var bodyBinder = binderFactory.GetBinder(parameterList, syntax, this).WithContainingMemberOrLambda(this);
Symbols\Source\SourceNamedTypeSymbol.cs (2)
356binder = binder.WithContainingMemberOrLambda(this).WithAdditionalFlags(BinderFlags.GenericConstraintsClause | BinderFlags.SuppressConstraintChecks); 437binder = binder.WithContainingMemberOrLambda(this).WithAdditionalFlags(BinderFlags.GenericConstraintsClause | BinderFlags.SuppressConstraintChecks | BinderFlags.SuppressTypeArgumentBinding);