15 references to ExplicitBody
Microsoft.CodeAnalysis.CSharp.Features (15)
EditAndContinue\DeclarationBody\PropertyOrIndexerAccessorDeclarationBody.cs (15)
50
/// Active statement outside of <see cref="
ExplicitBody
"/>.
59
=>
ExplicitBody
?? HeaderActiveStatement!;
65
=>
ExplicitBody
?.Span ?? HeaderActiveStatementSpan;
77
=> (
ExplicitBody
!= null) ? model.AnalyzeDataFlow(
ExplicitBody
).CapturedInside : [];
90
Debug.Assert(
ExplicitBody
!= null);
91
Debug.Assert(partnerDeclarationBody is null or PropertyOrIndexerAccessorDeclarationBody {
ExplicitBody
: not null });
95
body:
ExplicitBody
,
96
partnerBody: ((PropertyOrIndexerAccessorDeclarationBody?)partnerDeclarationBody)?.
ExplicitBody
,
119
Contract.ThrowIfNull(newPropertyBody.
ExplicitBody
);
120
(newStatement, statementPart) = CSharpEditAndContinueAnalyzer.GetFirstBodyActiveStatement(newPropertyBody.
ExplicitBody
);
131
Contract.ThrowIfNull(
ExplicitBody
);
132
Contract.ThrowIfNull(newPropertyBody.
ExplicitBody
);
138
if (oldStatement ==
ExplicitBody
)
140
newStatement = newPropertyBody.
ExplicitBody
;