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