10 references to InCref
Microsoft.CodeAnalysis.CSharp (10)
Binder\Binder_Expressions.cs (1)
96
get { return
InCref
&& !this.Flags.Includes(BinderFlags.CrefParameterOrReturnType); }
Binder\Binder_Lookup.cs (6)
1264
Debug.Assert(!originalBinder.
InCref
, "Can't dot into type parameters, so how can this happen?");
1510
else if (!
InCref
&& !unwrappedSymbol.CanBeReferencedByNameIgnoringIllegalCharacters && (options & LookupOptions.MustBeOperator) == 0)
1529
else if (
InCref
&& !this.IsCrefAccessible(unwrappedSymbol))
1535
else if (!
InCref
&&
1561
else if (!
InCref
&& unwrappedSymbol.MustCallMethodsDirectly())
1691
else if (
InCref
? !this.IsCrefAccessible(symbol)
Compilation\CSharpSemanticModel.cs (2)
301
else if (binder.
InCref
)
334
if (binder?.
InCref
== true)
Compilation\SyntaxTreeSemanticModel.cs (1)
620
if (binder?.
InCref
== true)