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)
421binder = new InMethodBinder(match, binder);
Symbols\Synthesized\SynthesizedSimpleProgramEntryPointSymbol.cs (1)
233result = new InMethodBinder(this, result);
17 references to InMethodBinder
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder_Await.cs (1)
192else if (method.IsIterator && InMethodBinder.IsAsyncStreamInterface(Compilation, method.RefKind, method.ReturnType))
Binder\Binder_Expressions.cs (2)
1809while (current is not (null or InMethodBinder { IdentifierMap: not null })) 1814if (current is InMethodBinder { IdentifierMap: { } identifierMap })
Binder\BinderFactory.cs (2)
155internal InMethodBinder GetPrimaryConstructorInMethodBinder(SynthesizedPrimaryConstructor constructor) 172return (InMethodBinder)resultBinder;
Binder\ExecutableCodeBinder.cs (2)
142TypeWithAnnotations elementType = InMethodBinder.GetIteratorElementTypeFromReturnType(compilation, refKind, returnType, errorLocation, diagnostics); 160bool asyncInterface = InMethodBinder.IsAsyncStreamInterface(compilation, refKind, returnType);
Compiler\MethodCompiler.cs (5)
1932InMethodBinder? inMethodBinder; 2129out InMethodBinder? inMethodBinder, out ConcurrentDictionary<IdentifierNameSyntax, int>? identifierMap) 2141while (current is not InMethodBinder) 2146inMethodBinder = (InMethodBinder)current; 2263static void assertBindIdentifierTargets(InMethodBinder? inMethodBinder, ConcurrentDictionary<IdentifierNameSyntax, int>? identifierMap, BoundNode methodBody, BindingDiagnosticBag diagnostics)
FlowAnalysis\NullableWalker.cs (1)
12952TypeWithAnnotations 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)
778if (current is InMethodBinder) 787Debug.Assert(current is InMethodBinder);
Symbols\Synthesized\Records\SynthesizedPrimaryConstructor.cs (1)
108InMethodBinder result = (binderFactoryOpt ?? this.DeclaringCompilation.GetBinderFactory(typeDecl.SyntaxTree)).GetPrimaryConstructorInMethodBinder(this);