17 references to MemberBody
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (3)
EditAndContinue\Helpers\EditingTestBase.cs (3)
211
var
body = SyntaxUtilities.TryGetDeclarationBody(declaration, symbol: null);
243
var
oldBody = SyntaxUtilities.TryGetDeclarationBody(oldDeclaration, symbol: null);
247
var
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"/>.
110
internal abstract
MemberBody
? TryGetDeclarationBody(SyntaxNode node, ISymbol? symbol);
458
internal bool ContainsLambda(
MemberBody
body)
816
var
oldBody = TryGetDeclarationBody(oldMember, symbol: null);
817
var
newBody = TryGetDeclarationBody(newMember, symbol: null);
931
MemberBody
? oldMemberBody,
932
MemberBody
? newMemberBody,
1307
private static bool TryGetTrackedStatement(ImmutableArray<ActiveStatementLineSpan> activeStatementSpans, ActiveStatementId id, SourceText text,
MemberBody
body, [NotNullWhen(true)] out SyntaxNode? trackedStatement, out int trackedStatementPart)
EditAndContinue\AbstractSimpleMemberBody.cs (1)
12
internal 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
"/>.
40
public abstract SyntaxNode FindStatementAndPartner(TextSpan span,
MemberBody
? partnerDeclarationBody, out SyntaxNode? partnerStatement, out int statementPart);