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