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