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