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