9 references to IsAccessibleWithin
Microsoft.CodeAnalysis.CodeStyle (9)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\INamedTypeSymbolExtensions.cs (5)
300IsImplementable(m) && m.IsAccessibleWithin(within) && 320=> accessor != null && IsImplementable(accessor) && !accessor.IsAccessibleWithin(within); 477!symbol.IsAccessibleWithin(within)) 502propertySymbol.GetMethod.IsAccessibleWithin(within) && 503propertySymbol.SetMethod.IsAccessibleWithin(within))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ISymbolExtensions.cs (1)
538if (type.IsAttribute() && type.IsAccessibleWithin(withinType ?? withinAssembly))
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.cs (3)
440return types.SelectMany(x => x.GetMembers().OfType<T>().Where(m => m.IsAccessibleWithin(within))); 505return types.SelectMany(x => x.GetMembers().OfType<T>().Where(m => m.IsAccessibleWithin(within))); 515return types.SelectMany(x => x.GetMembers(memberName).OfType<T>().Where(m => m.IsAccessibleWithin(within)));