10 instantiations of InMethodBinder
Microsoft.CodeAnalysis.CSharp (9)
Binder\BinderFactory.BinderFactoryVisitor.cs (6)
180resultBinder = new InMethodBinder(method, resultBinder); 217resultBinder = new InMethodBinder(method, resultBinder); 246resultBinder = new InMethodBinder(method, resultBinder); 309resultBinder = new InMethodBinder(accessor, resultBinder); 339resultBinder = new InMethodBinder(method, resultBinder); 408resultBinder = new InMethodBinder(accessor, resultBinder);
Binder\BinderFactory.cs (1)
152resultBinder = new InMethodBinder(constructor, GetInTypeBodyBinder(typeDecl));
Binder\LocalBinderFactory.cs (1)
379binder = new InMethodBinder(match, binder);
Symbols\Synthesized\SynthesizedSimpleProgramEntryPointSymbol.cs (1)
229result = new InMethodBinder(this, result);
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (1)
Binders\EEMethodBinder.cs (1)
49_sourceBinder = new InMethodBinder(substitutedSourceMethod, new BuckStopsHereBinder(next.Compilation, associatedFileIdentifier: null).WithAdditionalFlags(BinderFlags.InEEMethodBinder));
16 references to InMethodBinder
Microsoft.CodeAnalysis.CSharp (16)
Binder\Binder_Expressions.cs (2)
1614while (current is not (null or InMethodBinder { IdentifierMap: not null })) 1619if (current is InMethodBinder { IdentifierMap: { } identifierMap })
Binder\BinderFactory.cs (2)
140internal InMethodBinder GetPrimaryConstructorInMethodBinder(SynthesizedPrimaryConstructor constructor) 157return (InMethodBinder)resultBinder;
Binder\ExecutableCodeBinder.cs (2)
137TypeWithAnnotations elementType = InMethodBinder.GetIteratorElementTypeFromReturnType(compilation, refKind, returnType, errorLocation, diagnostics); 151bool asyncInterface = InMethodBinder.IsAsyncStreamInterface(compilation, refKind, returnType);
Compiler\MethodCompiler.cs (5)
1822InMethodBinder? inMethodBinder; 2016out InMethodBinder? inMethodBinder, out ConcurrentDictionary<IdentifierNameSyntax, int>? identifierMap) 2028while (current is not InMethodBinder) 2033inMethodBinder = (InMethodBinder)current; 2148static void assertBindIdentifierTargets(InMethodBinder? inMethodBinder, ConcurrentDictionary<IdentifierNameSyntax, int>? identifierMap, BoundNode methodBody, BindingDiagnosticBag diagnostics)
FlowAnalysis\NullableWalker.cs (1)
11079TypeWithAnnotations elementType = InMethodBinder.GetIteratorElementTypeFromReturnType(compilation, RefKind.None,
Symbols\Source\LocalFunctionOrSourceMemberMethodSymbol.cs (1)
29TypeWithAnnotations elementType = InMethodBinder.GetIteratorElementTypeFromReturnType(DeclaringCompilation, RefKind, ReturnType, errorLocation: null, diagnostics: null);
Symbols\Source\SourceMemberMethodSymbol.cs (2)
643if (current is InMethodBinder) 652Debug.Assert(current is InMethodBinder);
Symbols\Synthesized\Records\SynthesizedPrimaryConstructor.cs (1)
70InMethodBinder result = (binderFactoryOpt ?? this.DeclaringCompilation.GetBinderFactory(typeDecl.SyntaxTree)).GetPrimaryConstructorInMethodBinder(this);