8 references to IsTypeLessAccessibleThanOtherType
Microsoft.CodeAnalysis.CodeStyle.Fixes (8)
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementHelpers.cs (8)
134if (IsTypeLessAccessibleThanOtherType(propertySymbol.Type, second, []))
146if (IsTypeLessAccessibleThanOtherType(methodSymbol.ReturnType, second, []))
151if (IsTypeLessAccessibleThanOtherType(parameter.Type, second, []))
157if (IsTypeLessAccessibleThanOtherType(typeArg, second, []))
164return IsTypeLessAccessibleThanOtherType(eventSymbol.Type, second, []);
185if (IsTypeLessAccessibleThanOtherType(constraint, second, alreadyCheckingTypes))
206if (IsTypeLessAccessibleThanOtherType(genericParam, second, alreadyCheckingTypes))
211if (IsTypeLessAccessibleThanOtherType(first.ContainingType, second, alreadyCheckingTypes))