3 instantiations of 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);
13 references to ReadOnlyBindingDiagnostic
Microsoft.CodeAnalysis (12)
Binding\BindingDiagnosticBag.cs (12)
83
internal
ReadOnlyBindingDiagnostic
<TAssemblySymbol> ToReadOnly(bool forceDiagnosticResolution = true)
88
internal
ReadOnlyBindingDiagnostic
<TAssemblySymbol> ToReadOnlyAndFree(bool forceDiagnosticResolution = true)
90
var
result = ToReadOnly(forceDiagnosticResolution);
107
internal void AddRange(
ReadOnlyBindingDiagnostic
<TAssemblySymbol> other, bool allowMismatchInDependencyAccumulation = false)
320
public static
ReadOnlyBindingDiagnostic
<TAssemblySymbol> Empty => new ReadOnlyBindingDiagnostic<TAssemblySymbol>(default, default);
328
public
ReadOnlyBindingDiagnostic
<TAssemblySymbol> NullToEmpty() => new ReadOnlyBindingDiagnostic<TAssemblySymbol>(Diagnostics, Dependencies);
330
public static bool operator ==(
ReadOnlyBindingDiagnostic
<TAssemblySymbol> first,
ReadOnlyBindingDiagnostic
<TAssemblySymbol> second)
335
public static bool operator !=(
ReadOnlyBindingDiagnostic
<TAssemblySymbol> first,
ReadOnlyBindingDiagnostic
<TAssemblySymbol> second)
342
return (obj as
ReadOnlyBindingDiagnostic
<TAssemblySymbol>?)?.Equals(this) ?? false;
345
public bool Equals(
ReadOnlyBindingDiagnostic
<TAssemblySymbol> other)
Microsoft.CodeAnalysis.CSharp (1)
Binder\Binder_Expressions.cs (1)
10403
var
sealedDiagnostics = ReadOnlyBindingDiagnostic<AssemblySymbol>.Empty;