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