8 references to IsAccessible
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder_Expressions.cs (2)
6603
this.
IsAccessible
(constructor, ref useSiteInfo, null) :
8762
bool isUsableAsField = eventSymbol.HasAssociatedField && this.
IsAccessible
(eventSymbol.AssociatedField, ref useSiteInfo, (receiver != null) ? receiver.Type : null);
Binder\Binder_Lookup.cs (1)
1676
var result =
IsAccessible
(symbol, ref useSiteInfo);
Binder\Binder_Operators.cs (1)
302
if (!this.
IsAccessible
(method, ref useSiteInfo, this.GetAccessThroughType(receiverOpt)))
Binder\ForEachLoopBinder.cs (3)
1663
bool isAccessible = this.
IsAccessible
(currentPropertyGetterCandidate, ref useSiteInfo);
1713
if (this.
IsAccessible
(patternMemberCandidate, ref useSiteInfo))
1761
if (((object)implementedIEnumerable == null) || !this.
IsAccessible
(implementedIEnumerable, ref useSiteInfo))
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
1476
if (!_binder.
IsAccessible
(arg, ref useSiteInfo)) return false;