4 instantiations of SymbolAndDiagnostics
Microsoft.CodeAnalysis.CSharp (4)
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (2)
165
implementingMemberAndDiagnostics = new
SymbolAndDiagnostics
(explicitImpl.Single(), ImmutableBindingDiagnostic<AssemblySymbol>.Empty);
169
implementingMemberAndDiagnostics = new
SymbolAndDiagnostics
(null, new ImmutableBindingDiagnostic<AssemblySymbol>(ImmutableArray.Create(diag), default));
Symbols\TypeSymbol.cs (1)
778
var implementingMemberAndDiagnostics = new
SymbolAndDiagnostics
(implementingMember, diagnostics.ToReadOnlyAndFree());
Symbols\TypeSymbol.SymbolAndDiagnostics.cs (1)
21
public static readonly SymbolAndDiagnostics Empty = new
SymbolAndDiagnostics
(null, ImmutableBindingDiagnostic<AssemblySymbol>.Empty);
15 references to SymbolAndDiagnostics
Microsoft.CodeAnalysis.CSharp (15)
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (2)
154
SymbolAndDiagnostics
implementingMemberAndDiagnostics;
1749
SynthesizeInterfaceMemberImplementation(
SymbolAndDiagnostics
implementingMemberAndDiagnostics, Symbol interfaceMember)
Symbols\TypeSymbol.cs (12)
60
private ConcurrentDictionary<Symbol,
SymbolAndDiagnostics
> _implementationForInterfaceMemberMap;
62
public ConcurrentDictionary<Symbol,
SymbolAndDiagnostics
> ImplementationForInterfaceMemberMap
73
map = new ConcurrentDictionary<Symbol,
SymbolAndDiagnostics
>(concurrencyLevel: 1, capacity: 1, comparer: SymbolEqualityComparer.ConsiderEverything);
718
internal
SymbolAndDiagnostics
FindImplementationForInterfaceMemberInNonInterfaceWithDiagnostics(Symbol interfaceMember, bool ignoreImplementationInInterfacesIfResultIsNotReady = false)
725
return
SymbolAndDiagnostics
.Empty;
731
return
SymbolAndDiagnostics
.Empty;
742
return
SymbolAndDiagnostics
.Empty;
747
SymbolAndDiagnostics
result;
765
return
SymbolAndDiagnostics
.Empty;
774
private
SymbolAndDiagnostics
ComputeImplementationAndDiagnosticsForInterfaceMember(Symbol interfaceMember, bool ignoreImplementationInInterfaces, out bool implementationInInterfacesMightChangeResult)
778
var
implementingMemberAndDiagnostics = new SymbolAndDiagnostics(implementingMember, diagnostics.ToReadOnlyAndFree());
1086
SymbolAndDiagnostics
symbolAndDiagnostics = implementingType.FindImplementationForInterfaceMemberInNonInterfaceWithDiagnostics(interfaceAccessor);
Symbols\TypeSymbol.SymbolAndDiagnostics.cs (1)
21
public static readonly
SymbolAndDiagnostics
Empty = new SymbolAndDiagnostics(null, ImmutableBindingDiagnostic<AssemblySymbol>.Empty);