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