8 references to MustNotBeInstance
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder_Expressions.cs (1)
7840
this.LookupMembersWithFallback(lookupResult, leftType, rightName, rightArity, ref useSiteInfo, basesBeingResolved: null, options: options | LookupOptions.
MustNotBeInstance
| LookupOptions.MustBeAbstractOrVirtual);
Binder\Binder_Lookup.cs (5)
1387
Debug.Assert((options & LookupOptions.MustBeAbstractOrVirtual) == 0 || (options & LookupOptions.
MustNotBeInstance
) != 0);
1411
else if ((options & (LookupOptions.
MustNotBeInstance
| LookupOptions.MustBeAbstractOrVirtual)) == (LookupOptions.
MustNotBeInstance
| LookupOptions.MustBeAbstractOrVirtual) &&
1481
else if ((options & LookupOptions.
MustNotBeInstance
) != 0 && IsInstance(unwrappedSymbol))
1614
else if ((options & LookupOptions.
MustNotBeInstance
) != 0 && IsInstance(symbol))
Binder\LookupOptions.cs (1)
144
LookupOptions mustBeAndNotBeInstance = (LookupOptions.MustBeInstance | LookupOptions.
MustNotBeInstance
);
Compilation\CSharpSemanticModel.cs (1)
1488
return LookupSymbolsInternal(position, container, name, LookupOptions.
MustNotBeInstance
, useBaseReferenceAccessibility: false);