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)
6558if (!IsConstructorAccessible(constructor, ref useSiteInfo, allowProtectedConstructorsOfBaseType)) 6826else if (memberResolutionResult.IsValid && !IsConstructorAccessible(memberResolutionResult.Member, ref useSiteInfo))