17 references to MemberBody
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (3)
EditAndContinue\Helpers\EditingTestBase.cs (3)
217var body = SyntaxUtilities.TryGetDeclarationBody(declaration, symbol: null); 249var oldBody = SyntaxUtilities.TryGetDeclarationBody(oldDeclaration, symbol: null); 253var newBody = SyntaxUtilities.TryGetDeclarationBody(newDeclaration, symbol: null);
Microsoft.CodeAnalysis.Features (14)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (8)
97/// <paramref name="node"/> node itself may represent a <see cref="MemberBody"/> that doesn't belong to the <paramref name="symbol"/>. 104internal abstract MemberBody? TryGetDeclarationBody(SyntaxNode node, ISymbol? symbol); 454internal bool ContainsLambda(MemberBody body) 824var oldBody = TryGetDeclarationBody(oldMemberDeclaration, symbol: null); 825var newBody = TryGetDeclarationBody(newMemberDeclaration, symbol: null); 947MemberBody? oldMemberBody, 948MemberBody? newMemberBody, 1330private static bool TryGetTrackedStatement(ImmutableArray<ActiveStatementLineSpan> activeStatementSpans, ActiveStatementId id, SourceText text, MemberBody body, [NotNullWhen(true)] out SyntaxNode? trackedStatement, out int trackedStatementPart)
EditAndContinue\AbstractSimpleMemberBody.cs (1)
13internal abstract class AbstractSimpleMemberBody(SyntaxNode node) : MemberBody
EditAndContinue\DeclarationBody.cs (2)
51/// <see cref="SyntaxNode"/> that includes all active tokens (<see cref="MemberBody.GetActiveTokens()"/>) 52/// and its span covers the entire <see cref="MemberBody.Envelope"/>.
EditAndContinue\MemberBody.cs (3)
15/// A minimal span that contains all possible breakpoint spans of <see cref="MemberBody"/>. 20/// True if <paramref name="span"/> belongs to the <see cref="MemberBody"/>. 49public abstract SyntaxNode FindStatementAndPartner(TextSpan span, MemberBody? partnerDeclarationBody, out SyntaxNode? partnerStatement, out int statementPart);