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