2 types derived from DeclarationBody
Microsoft.CodeAnalysis.Features (2)
EditAndContinue\LambdaBody.cs (1)
7
internal abstract class LambdaBody :
DeclarationBody
EditAndContinue\MemberBody.cs (1)
11
internal abstract class MemberBody :
DeclarationBody
13 references to DeclarationBody
Microsoft.CodeAnalysis.Features (13)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (7)
413
private bool ReportUnsupportedOperations(in DiagnosticContext diagnosticContext,
DeclarationBody
body, CancellationToken cancellationToken)
428
DeclarationBody
oldBody,
431
DeclarationBody
newBody,
1149
DeclarationBody
oldBody;
1150
DeclarationBody
? newBody;
1509
private static DeclarationBodyMap ComputeDeclarationBodyMap(
DeclarationBody
? oldBody,
DeclarationBody
? newBody, IEnumerable<ActiveNode> activeNodes)
EditAndContinue\DeclarationBody.cs (6)
14
internal abstract class DeclarationBody : IEquatable<
DeclarationBody
>
68
public virtual DeclarationBodyMap ComputeMap(
DeclarationBody
newBody, IEnumerable<KeyValuePair<SyntaxNode, SyntaxNode>>? knownMatches)
78
public abstract Match<SyntaxNode>? ComputeSingleRootMatch(
DeclarationBody
newBody, IEnumerable<KeyValuePair<SyntaxNode, SyntaxNode>>? knownMatches);
84
public abstract bool TryMatchActiveStatement(
DeclarationBody
newBody, SyntaxNode oldStatement, ref int statementPart, [NotNullWhen(true)] out SyntaxNode? newStatement);
86
public bool Equals(
DeclarationBody
? other)
91
=> Equals(obj as
DeclarationBody
);