8 references to IsTypeLessAccessibleThanOtherType
Microsoft.CodeAnalysis.Features (8)
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementHelpers.cs (8)
137if (IsTypeLessAccessibleThanOtherType(propertySymbol.Type, second, []))
149if (IsTypeLessAccessibleThanOtherType(methodSymbol.ReturnType, second, []))
154if (IsTypeLessAccessibleThanOtherType(parameter.Type, second, []))
160if (IsTypeLessAccessibleThanOtherType(typeArg, second, []))
167return IsTypeLessAccessibleThanOtherType(eventSymbol.Type, second, []);
188if (IsTypeLessAccessibleThanOtherType(constraint, second, alreadyCheckingTypes))
209if (IsTypeLessAccessibleThanOtherType(genericParam, second, alreadyCheckingTypes))
214if (IsTypeLessAccessibleThanOtherType(first.ContainingType, second, alreadyCheckingTypes))