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)
244result = new InMethodBinder(this, result);
8 references to InMethodBinder
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder_Await.cs (1)
192else if (method.IsIterator && InMethodBinder.IsAsyncStreamInterface(Compilation, method.RefKind, method.ReturnType))
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);
FlowAnalysis\NullableWalker.cs (1)
13752TypeWithAnnotations elementType = InMethodBinder.GetIteratorElementTypeFromReturnType(compilation, RefKind.None,
Symbols\Source\LocalFunctionOrSourceMemberMethodSymbol.cs (1)
29TypeWithAnnotations elementType = InMethodBinder.GetIteratorElementTypeFromReturnType(DeclaringCompilation, RefKind, ReturnType, errorLocation: null, diagnostics: null);
Symbols\Synthesized\Records\SynthesizedPrimaryConstructor.cs (1)
112InMethodBinder result = (binderFactoryOpt ?? this.DeclaringCompilation.GetBinderFactory(typeDecl.SyntaxTree)).GetPrimaryConstructorInMethodBinder(this);