16 references to EmbeddedDiagnostic
Microsoft.CodeAnalysis.Workspaces (16)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedDiagnostic.cs (7)
20internal readonly struct EmbeddedDiagnostic : IEquatable<EmbeddedDiagnostic> 33=> obj is EmbeddedDiagnostic diagnostic && Equals(diagnostic); 35public bool Equals(EmbeddedDiagnostic other) 54public static bool operator ==(EmbeddedDiagnostic diagnostic1, EmbeddedDiagnostic diagnostic2) 57public static bool operator !=(EmbeddedDiagnostic diagnostic1, EmbeddedDiagnostic diagnostic2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedSyntaxToken.cs (5)
21internal readonly ImmutableArray<EmbeddedDiagnostic> Diagnostics; 34ImmutableArray<EmbeddedDiagnostic> diagnostics, object value) 50public EmbeddedSyntaxToken<TSyntaxKind> AddDiagnosticIfNone(EmbeddedDiagnostic diagnostic) 53public EmbeddedSyntaxToken<TSyntaxKind> WithDiagnostics(ImmutableArray<EmbeddedDiagnostic> diagnostics) 61Optional<ImmutableArray<EmbeddedDiagnostic>> diagnostics = default,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedSyntaxTree.cs (2)
17public readonly ImmutableArray<EmbeddedDiagnostic> Diagnostics; 22ImmutableArray<EmbeddedDiagnostic> diagnostics)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedSyntaxTrivia.cs (2)
24internal readonly ImmutableArray<EmbeddedDiagnostic> Diagnostics; 26public EmbeddedSyntaxTrivia(TSyntaxKind kind, VirtualCharSequence virtualChars, ImmutableArray<EmbeddedDiagnostic> diagnostics)