9 references to MustBeInstance
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder.WithQueryLambdaParametersBinder.cs (1)
94LookupOptions options = LookupOptions.MustBeInstance;
Binder\Binder_Lookup.cs (2)
1476else if ((options & LookupOptions.MustBeInstance) != 0 && !IsInstance(unwrappedSymbol)) 1610else if ((options & LookupOptions.MustBeInstance) != 0 && !IsInstance(symbol))
Binder\LookupOptions.cs (3)
144LookupOptions mustBeAndNotBeInstance = (LookupOptions.MustBeInstance | LookupOptions.MustNotBeInstance); 190return (options & (LookupOptions.NamespaceAliasesOnly | LookupOptions.MustBeInvocableIfMember | LookupOptions.MustBeInstance | LookupOptions.LabelsOnly)) == 0; 195return (options & (LookupOptions.MustNotBeNamespace | LookupOptions.MustBeInvocableIfMember | LookupOptions.MustBeInstance | LookupOptions.LabelsOnly)) == 0;
Binder\WithTypeParametersBinder.cs (1)
35return (options & (LookupMask | LookupOptions.MustBeInstance | LookupOptions.LabelsOnly)) == 0;
Compilation\CSharpSemanticModel.cs (2)
1660options &= ~LookupOptions.MustBeInstance; 4094AppendSymbolsWithNameAndArity(symbols, WellKnownMemberNames.Indexer, 0, binder, type, LookupOptions.MustBeInstance);