11 references to NotCreatable
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder_Expressions.cs (5)
4450
LookupResultKind.
NotCreatable
, //in this context, anyway
5171
type = new ExtendedErrorTypeSymbol(type, LookupResultKind.
NotCreatable
,
5179
type = new ExtendedErrorTypeSymbol(type, LookupResultKind.
NotCreatable
,
5550
return new BoundBadExpression(node, LookupResultKind.
NotCreatable
, ImmutableArray.Create<Symbol?>(type), children.ToImmutableAndFree(), type) { WasCompilerGenerated = wasCompilerGenerated };
6824
resultKind = LookupResultKind.
NotCreatable
;
Binder\LookupResultKind.cs (1)
83
case LookupResultKind.
NotCreatable
: return CandidateReason.NotCreatable;
Compilation\CSharpSemanticModel.cs (3)
3372
if (resultKind == LookupResultKind.
NotCreatable
)
3400
((BoundBadExpression)boundNodeForSyntacticParent).ResultKind == LookupResultKind.
NotCreatable
)
3402
resultKind = LookupResultKind.
NotCreatable
;
Lowering\LocalRewriter\LocalRewriter_Event.cs (1)
333
return new BoundBadExpression(node.Syntax, LookupResultKind.
NotCreatable
, ImmutableArray.Create<Symbol?>(node.Event),
Lowering\LocalRewriter\LocalRewriter_ObjectCreationExpression.cs (1)
389
newGuid = new BoundBadExpression(node.Syntax, LookupResultKind.
NotCreatable
, ImmutableArray<Symbol?>.Empty, ImmutableArray<BoundExpression>.Empty, ErrorTypeSymbol.UnknownResultType);