4 instantiations of SymbolAndDiagnostics
Microsoft.CodeAnalysis.CSharp (4)
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (2)
165
implementingMemberAndDiagnostics = new
SymbolAndDiagnostics
(explicitImpl.Single(), ReadOnlyBindingDiagnostic<AssemblySymbol>.Empty);
169
implementingMemberAndDiagnostics = new
SymbolAndDiagnostics
(null, new ReadOnlyBindingDiagnostic<AssemblySymbol>(ImmutableArray.Create(diag), default));
Symbols\TypeSymbol.cs (1)
782
var implementingMemberAndDiagnostics = new
SymbolAndDiagnostics
(implementingMember, diagnostics.ToReadOnlyAndFree());
Symbols\TypeSymbol.SymbolAndDiagnostics.cs (1)
21
public static readonly SymbolAndDiagnostics Empty = new
SymbolAndDiagnostics
(null, ReadOnlyBindingDiagnostic<AssemblySymbol>.Empty);
15 references to SymbolAndDiagnostics
Microsoft.CodeAnalysis.CSharp (15)
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (2)
154
SymbolAndDiagnostics
implementingMemberAndDiagnostics;
1865
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);
722
internal
SymbolAndDiagnostics
FindImplementationForInterfaceMemberInNonInterfaceWithDiagnostics(Symbol interfaceMember, bool ignoreImplementationInInterfacesIfResultIsNotReady = false)
729
return
SymbolAndDiagnostics
.Empty;
735
return
SymbolAndDiagnostics
.Empty;
746
return
SymbolAndDiagnostics
.Empty;
751
SymbolAndDiagnostics
result;
769
return
SymbolAndDiagnostics
.Empty;
778
private
SymbolAndDiagnostics
ComputeImplementationAndDiagnosticsForInterfaceMember(Symbol interfaceMember, bool ignoreImplementationInInterfaces, out bool implementationInInterfacesMightChangeResult)
782
var
implementingMemberAndDiagnostics = new SymbolAndDiagnostics(implementingMember, diagnostics.ToReadOnlyAndFree());
1096
SymbolAndDiagnostics
symbolAndDiagnostics = implementingType.FindImplementationForInterfaceMemberInNonInterfaceWithDiagnostics(interfaceAccessor);
Symbols\TypeSymbol.SymbolAndDiagnostics.cs (1)
21
public static readonly
SymbolAndDiagnostics
Empty = new SymbolAndDiagnostics(null, ReadOnlyBindingDiagnostic<AssemblySymbol>.Empty);