9 instantiations of InMethodBinder
Microsoft.CodeAnalysis.CSharp (9)
Binder\BinderFactory.BinderFactoryVisitor.cs (6)
186resultBinder = new InMethodBinder(method, resultBinder); 223resultBinder = new InMethodBinder(method, resultBinder); 252resultBinder = new InMethodBinder(method, resultBinder); 316resultBinder = new InMethodBinder(accessor, resultBinder); 352resultBinder = new InMethodBinder(method, resultBinder); 425resultBinder = new InMethodBinder(accessor, resultBinder);
Binder\BinderFactory.cs (1)
167resultBinder = new InMethodBinder(constructor, GetInTypeBodyBinder(typeDecl));
Binder\LocalBinderFactory.cs (1)
422binder = new InMethodBinder(match, binder);
Symbols\Synthesized\SynthesizedSimpleProgramEntryPointSymbol.cs (1)
228result = new InMethodBinder(this, result);
16 references to InMethodBinder
Microsoft.CodeAnalysis.CSharp (16)
Binder\Binder_Expressions.cs (2)
1705while (current is not (null or InMethodBinder { IdentifierMap: not null })) 1710if (current is InMethodBinder { IdentifierMap: { } identifierMap })
Binder\BinderFactory.cs (2)
155internal InMethodBinder GetPrimaryConstructorInMethodBinder(SynthesizedPrimaryConstructor constructor) 172return (InMethodBinder)resultBinder;
Binder\ExecutableCodeBinder.cs (2)
137TypeWithAnnotations elementType = InMethodBinder.GetIteratorElementTypeFromReturnType(compilation, refKind, returnType, errorLocation, diagnostics); 155bool asyncInterface = InMethodBinder.IsAsyncStreamInterface(compilation, refKind, returnType);
Compiler\MethodCompiler.cs (5)
1782InMethodBinder? inMethodBinder; 1979out InMethodBinder? inMethodBinder, out ConcurrentDictionary<IdentifierNameSyntax, int>? identifierMap) 1991while (current is not InMethodBinder) 1996inMethodBinder = (InMethodBinder)current; 2113static void assertBindIdentifierTargets(InMethodBinder? inMethodBinder, ConcurrentDictionary<IdentifierNameSyntax, int>? identifierMap, BoundNode methodBody, BindingDiagnosticBag diagnostics)
FlowAnalysis\NullableWalker.cs (1)
11995TypeWithAnnotations 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)
750if (current is InMethodBinder) 759Debug.Assert(current is InMethodBinder);
Symbols\Synthesized\Records\SynthesizedPrimaryConstructor.cs (1)
107InMethodBinder result = (binderFactoryOpt ?? this.DeclaringCompilation.GetBinderFactory(typeDecl.SyntaxTree)).GetPrimaryConstructorInMethodBinder(this);