16 references to NotInvocable
Microsoft.CodeAnalysis.CSharp (16)
Binder\Binder_Expressions.cs (3)
5406
return new BoundBadExpression(node, LookupResultKind.
NotInvocable
, StaticCast<Symbol>.From(type.InstanceConstructors), ImmutableArray.Create(argument), type);
6345
return BadExpression(elementInitializer, LookupResultKind.
NotInvocable
);
6386
return BadExpression(elementInitializer, LookupResultKind.
NotInvocable
, ImmutableArray<Symbol>.Empty, boundElementInitializerExpressions);
Binder\Binder_Invocation.cs (1)
381
result = CreateBadCall(node, boundExpression, LookupResultKind.
NotInvocable
, analyzedArguments);
Binder\LookupResult.cs (1)
188
return new SingleLookupResult(LookupResultKind.
NotInvocable
, symbol, diagInfo);
Binder\LookupResultKind.cs (1)
87
case LookupResultKind.
NotInvocable
: return CandidateReason.NotInvocable;
Lowering\LocalRewriter\LocalRewriter_Event.cs (4)
128
clearCall = new BoundBadExpression(syntax, LookupResultKind.
NotInvocable
, ImmutableArray<Symbol?>.Empty, ImmutableArray.Create<BoundExpression>(removeDelegate), ErrorTypeSymbol.UnknownResultType);
170
marshalCall = new BoundBadExpression(syntax, LookupResultKind.
NotInvocable
, ImmutableArray<Symbol?>.Empty, marshalArguments, ErrorTypeSymbol.UnknownResultType);
265
getOrCreateCall = new BoundBadExpression(syntax, LookupResultKind.
NotInvocable
, ImmutableArray<Symbol?>.Empty, ImmutableArray.Create<BoundExpression>(fieldAccess), ErrorTypeSymbol.UnknownResultType);
287
return new BoundBadExpression(syntax, LookupResultKind.
NotInvocable
, ImmutableArray<Symbol?>.Empty, ImmutableArray.Create(getOrCreateCall), ErrorTypeSymbol.UnknownResultType);
Lowering\LocalRewriter\LocalRewriter_FixedStatement.cs (2)
483
helperCall = new BoundBadExpression(fixedInitializer.Syntax, LookupResultKind.
NotInvocable
, ImmutableArray<Symbol?>.Empty, ImmutableArray<BoundExpression>.Empty, ErrorTypeSymbol.UnknownResultType);
544
lengthCall = new BoundBadExpression(fixedInitializer.Syntax, LookupResultKind.
NotInvocable
, ImmutableArray<Symbol?>.Empty, ImmutableArray.Create<BoundExpression>(factory.Local(pinnedTemp)), ErrorTypeSymbol.UnknownResultType);
Lowering\LocalRewriter\LocalRewriter_LockStatement.cs (2)
117
exitCallExpr = new BoundBadExpression(lockSyntax, LookupResultKind.
NotInvocable
, ImmutableArray<Symbol?>.Empty, ImmutableArray.Create<BoundExpression>(boundLockTemp), ErrorTypeSymbol.UnknownResultType);
212
enterCallExpr = new BoundBadExpression(lockSyntax, LookupResultKind.
NotInvocable
, ImmutableArray<Symbol?>.Empty, ImmutableArray.Create<BoundExpression>(boundLockTemp), ErrorTypeSymbol.UnknownResultType);
Lowering\LocalRewriter\LocalRewriter_StackAlloc.cs (1)
69
resultKind: LookupResultKind.
NotInvocable
,
Lowering\LocalRewriter\LocalRewriter_UsingStatement.cs (1)
463
disposeCall = new BoundBadExpression(resourceSyntax, LookupResultKind.
NotInvocable
, ImmutableArray<Symbol?>.Empty, ImmutableArray.Create(disposedExpression), ErrorTypeSymbol.UnknownResultType);