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