23 references to AllInterfacesNoUseSiteDiagnostics
Microsoft.CodeAnalysis.CSharp (23)
Binder\Binder_Expressions.cs (3)
1923(currentType.IsInterface && (declaringType.IsObjectType() || currentType.AllInterfacesNoUseSiteDiagnostics.Contains(declaringType)))) 2262(currentType.IsInterface && (declaringType.IsObjectType() || currentType.AllInterfacesNoUseSiteDiagnostics.Contains(declaringType)))) 8093return IsWinRTAsyncInterface(type) || type.AllInterfacesNoUseSiteDiagnostics.Any(static (i, self) => self.IsWinRTAsyncInterface(i), this);
Binder\Binder_Lookup.cs (2)
1978foreach (var iface in type.AllInterfacesNoUseSiteDiagnostics) 2024foreach (var baseInterface in type.AllInterfacesNoUseSiteDiagnostics)
Binder\Binder_Patterns.cs (1)
465var interfaces = inputType is TypeParameterSymbol typeParam ? typeParam.EffectiveInterfacesNoUseSiteDiagnostics : inputType.AllInterfacesNoUseSiteDiagnostics;
Emitter\NoPia\EmbeddedEvent.cs (1)
95foreach (NamedTypeSymbol source in sourceInterface.AllInterfacesNoUseSiteDiagnostics)
FlowAnalysis\NullableWalker.cs (2)
5519{ TypeKind: TypeKind.Interface } => type.AllInterfacesNoUseSiteDiagnostics, 8217foreach (var @interface in containingType.AllInterfacesNoUseSiteDiagnostics)
Symbols\Metadata\PE\MetadataDecoder.cs (1)
550? scope.AllInterfacesNoUseSiteDiagnostics.IndexOf((NamedTypeSymbol)targetTypeSymbol, 0, SymbolEqualityComparer.CLRSignature) != -1
Symbols\OverriddenOrHiddenMembersHelpers.cs (4)
421foreach (NamedTypeSymbol currType in containingType.AllInterfacesNoUseSiteDiagnostics) // NB: topologically sorted 448foreach (var hidden in currType.AllInterfacesNoUseSiteDiagnostics) 465foreach (var hidden in currType.AllInterfacesNoUseSiteDiagnostics) 480foreach (var hidden in currType.AllInterfacesNoUseSiteDiagnostics)
Symbols\PublicModel\TypeSymbol.cs (1)
106return UnderlyingTypeSymbol.AllInterfacesNoUseSiteDiagnostics.GetPublicSymbols();
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (3)
123foreach (var @interface in this.AllInterfacesNoUseSiteDiagnostics) 485foreach (var interfaceType in this.AllInterfacesNoUseSiteDiagnostics) 1903return (object)baseType == null || !baseType.AllInterfacesNoUseSiteDiagnostics.Contains(@interface);
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (1)
694foreach (var @interface in t.AllInterfacesNoUseSiteDiagnostics)
Symbols\TypeSymbol.cs (2)
213var result = AllInterfacesNoUseSiteDiagnostics; 422foreach (var baseInterface in @interface.AllInterfacesNoUseSiteDiagnostics)
Symbols\TypeSymbolExtensions.cs (2)
422return type.AllInterfacesNoUseSiteDiagnostics; 427return typeParameter.EffectiveBaseClassNoUseSiteDiagnostics.AllInterfacesNoUseSiteDiagnostics.Concat(typeParameter.AllEffectiveInterfacesNoUseSiteDiagnostics);