11 references to IsAccessibleWithin
Microsoft.CodeAnalysis.Workspaces (11)
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)));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IMethodSymbolExtensions.cs (1)
176a.AttributeClass?.IsAccessibleWithin(arg.accessibleWithin) == false;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\IPropertySymbolExtensions.cs (1)
71a.AttributeClass?.IsAccessibleWithin(arg.accessibleWithin) == false;