3 references to IsConstructorAccessible
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Attributes.cs (1)
228memberResolutionResult.IsValid && !binder.IsConstructorAccessible(memberResolutionResult.Member, ref useSiteInfo) ?
Binder\Binder_Expressions.cs (2)
6561if (!IsConstructorAccessible(constructor, ref useSiteInfo, allowProtectedConstructorsOfBaseType)) 6829else if (memberResolutionResult.IsValid && !IsConstructorAccessible(memberResolutionResult.Member, ref useSiteInfo))