17 references to MemberBody
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (3)
EditAndContinue\Helpers\EditingTestBase.cs (3)
211var body = SyntaxUtilities.TryGetDeclarationBody(declaration, symbol: null); 243var oldBody = SyntaxUtilities.TryGetDeclarationBody(oldDeclaration, symbol: null); 247var newBody = SyntaxUtilities.TryGetDeclarationBody(newDeclaration, symbol: null);
Microsoft.CodeAnalysis.Features (14)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (8)
103/// <paramref name="node"/> node itself may represent a <see cref="MemberBody"/> that doesn't belong to the <paramref name="symbol"/>. 110internal abstract MemberBody? TryGetDeclarationBody(SyntaxNode node, ISymbol? symbol); 458internal bool ContainsLambda(MemberBody body) 816var oldBody = TryGetDeclarationBody(oldMember, symbol: null); 817var newBody = TryGetDeclarationBody(newMember, symbol: null); 931MemberBody? oldMemberBody, 932MemberBody? newMemberBody, 1307private static bool TryGetTrackedStatement(ImmutableArray<ActiveStatementLineSpan> activeStatementSpans, ActiveStatementId id, SourceText text, MemberBody body, [NotNullWhen(true)] out SyntaxNode? trackedStatement, out int trackedStatementPart)
EditAndContinue\AbstractSimpleMemberBody.cs (1)
12internal 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)
14/// A minimal span that contains all possible breakpoint spans of <see cref="MemberBody"/>. 19/// True if <paramref name="span"/> belongs to the <see cref="MemberBody"/>. 40public abstract SyntaxNode FindStatementAndPartner(TextSpan span, MemberBody? partnerDeclarationBody, out SyntaxNode? partnerStatement, out int statementPart);