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