4 references to IsAsRestrictive
Microsoft.CodeAnalysis.CSharp (4)
Symbols\Source\ModifierUtils.cs (2)
495case FieldSymbol when !symbol.IsAsRestrictive(symbol.ContainingType, ref useSiteInfo): 496case PropertySymbol { SetMethod: { } method } when !method.IsAsRestrictive(symbol.ContainingType, ref useSiteInfo):
Symbols\Source\SourceComplexParameterSymbol.cs (1)
1669bool result = method.IsAsRestrictive(ContainingSymbol, ref useSiteInfo) &&
Symbols\TypeSymbolExtensions.cs (1)
707return !IsAsRestrictive((NamedTypeSymbol)type, sym, ref useSiteInfo);