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))))
8093
return IsWinRTAsyncInterface(type) || type.
AllInterfacesNoUseSiteDiagnostics
.Any(static (i, self) => self.IsWinRTAsyncInterface(i), this);
Binder\Binder_Lookup.cs (2)
1978
foreach (var iface in type.
AllInterfacesNoUseSiteDiagnostics
)
2024
foreach (var baseInterface in type.
AllInterfacesNoUseSiteDiagnostics
)
Binder\Binder_Patterns.cs (1)
465
var interfaces = inputType is TypeParameterSymbol typeParam ? typeParam.EffectiveInterfacesNoUseSiteDiagnostics : inputType.
AllInterfacesNoUseSiteDiagnostics
;
Emitter\NoPia\EmbeddedEvent.cs (1)
95
foreach (NamedTypeSymbol source in sourceInterface.
AllInterfacesNoUseSiteDiagnostics
)
FlowAnalysis\NullableWalker.cs (2)
5519
{ TypeKind: TypeKind.Interface } => type.
AllInterfacesNoUseSiteDiagnostics
,
8217
foreach (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)
421
foreach (NamedTypeSymbol currType in containingType.
AllInterfacesNoUseSiteDiagnostics
) // NB: topologically sorted
448
foreach (var hidden in currType.
AllInterfacesNoUseSiteDiagnostics
)
465
foreach (var hidden in currType.
AllInterfacesNoUseSiteDiagnostics
)
480
foreach (var hidden in currType.
AllInterfacesNoUseSiteDiagnostics
)
Symbols\PublicModel\TypeSymbol.cs (1)
106
return UnderlyingTypeSymbol.
AllInterfacesNoUseSiteDiagnostics
.GetPublicSymbols();
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (3)
123
foreach (var @interface in this.
AllInterfacesNoUseSiteDiagnostics
)
485
foreach (var interfaceType in this.
AllInterfacesNoUseSiteDiagnostics
)
1903
return (object)baseType == null || !baseType.
AllInterfacesNoUseSiteDiagnostics
.Contains(@interface);
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (1)
694
foreach (var @interface in t.
AllInterfacesNoUseSiteDiagnostics
)
Symbols\TypeSymbol.cs (2)
213
var result =
AllInterfacesNoUseSiteDiagnostics
;
422
foreach (var baseInterface in @interface.
AllInterfacesNoUseSiteDiagnostics
)
Symbols\TypeSymbolExtensions.cs (2)
422
return type.
AllInterfacesNoUseSiteDiagnostics
;
427
return typeParameter.EffectiveBaseClassNoUseSiteDiagnostics.
AllInterfacesNoUseSiteDiagnostics
.Concat(typeParameter.AllEffectiveInterfacesNoUseSiteDiagnostics);