3 references to ReadOnlyBindingDiagnostic
Microsoft.CodeAnalysis (3)
Binding\BindingDiagnosticBag.cs (3)
85
return new
ReadOnlyBindingDiagnostic
<TAssemblySymbol>(DiagnosticBag?.ToReadOnly(forceDiagnosticResolution) ?? default, DependenciesBag?.ToImmutableArray() ?? default);
320
public static ReadOnlyBindingDiagnostic<TAssemblySymbol> Empty => new
ReadOnlyBindingDiagnostic
<TAssemblySymbol>(default, default);
328
public ReadOnlyBindingDiagnostic<TAssemblySymbol> NullToEmpty() => new
ReadOnlyBindingDiagnostic
<TAssemblySymbol>(Diagnostics, Dependencies);