23 references to CSharpEditAndContinueAnalyzer
Microsoft.CodeAnalysis.CSharp.Features (16)
EditAndContinue\CSharpEditAndContinueAnalyzer.cs (2)
2279
private readonly
CSharpEditAndContinueAnalyzer
_analyzer;
2288
CSharpEditAndContinueAnalyzer
analyzer,
EditAndContinue\DeclarationBody\CSharpLambdaBody.cs (2)
40
=>
CSharpEditAndContinueAnalyzer
.ComputeBodyMatch(node, ((CSharpLambdaBody)newBody).Node, knownMatches);
53
=>
CSharpEditAndContinueAnalyzer
.TryMatchActiveStatement(Node, ((CSharpLambdaBody)newBody).Node, oldStatement, out newStatement);
EditAndContinue\DeclarationBody\FieldWithInitializerDeclarationBody.cs (2)
66
=>
CSharpEditAndContinueAnalyzer
.ComputeBodyMatch(InitializerExpression, ((FieldWithInitializerDeclarationBody)newBody).InitializerExpression, knownMatches);
81
=>
CSharpEditAndContinueAnalyzer
.FindStatementAndPartner(
EditAndContinue\DeclarationBody\InstanceConstructorDeclarationBody.cs (3)
53
return
CSharpEditAndContinueAnalyzer
.FindStatementAndPartner(
66
return
CSharpEditAndContinueAnalyzer
.FindStatementAndPartner(
85
CSharpEditAndContinueAnalyzer
.TryMatchActiveStatement(ExplicitBody, newCtorBody.ExplicitBody, oldStatement, out newStatement))
EditAndContinue\DeclarationBody\PropertyOrIndexerAccessorDeclarationBody.cs (2)
94
return
CSharpEditAndContinueAnalyzer
.FindStatementAndPartner(
121
(newStatement, statementPart) =
CSharpEditAndContinueAnalyzer
.GetFirstBodyActiveStatement(newPropertyBody.ExplicitBody);
EditAndContinue\DeclarationBody\SimpleMemberBody.cs (3)
17
=>
CSharpEditAndContinueAnalyzer
.FindStatementAndPartner(
31
=>
CSharpEditAndContinueAnalyzer
.ComputeBodyMatch(Node, ((SimpleMemberBody)newBody).Node, knownMatches);
34
=>
CSharpEditAndContinueAnalyzer
.TryMatchActiveStatement(Node, ((SimpleMemberBody)newBody).Node, oldStatement, out newStatement);
EditAndContinue\DeclarationBody\TopLevelCodeDeclarationBody.cs (2)
56
=>
CSharpEditAndContinueAnalyzer
.ComputeBodyMatch(Unit, ((TopLevelCodeDeclarationBody)newBody).Unit, knownMatches);
59
=>
CSharpEditAndContinueAnalyzer
.FindStatementAndPartner(
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (7)
EditAndContinue\CSharpEditAndContinueAnalyzerTests.cs (5)
57
var actual =
CSharpEditAndContinueAnalyzer
.GetDiagnosticSpan(node, EditKind.Update);
95
span =
CSharpEditAndContinueAnalyzer
.TryGetDiagnosticSpanImpl(kind, null, EditKind.Update);
263
/// Verifies that <see cref="
CSharpEditAndContinueAnalyzer
.TryGetDiagnosticSpanImpl"/> handles all <see cref="SyntaxKind"/>s.
744
var
analyzer = Assert.IsType<
CSharpEditAndContinueAnalyzer
>(oldProject.Services.GetRequiredService<IEditAndContinueAnalyzer>());
EditAndContinue\StatementEditingTests.cs (2)
12702
/// Tests spilling detection logic of <see cref="
CSharpEditAndContinueAnalyzer
.ReportStateMachineSuspensionPointRudeEdits"/>.
12780
/// Tests spilling detection logic of <see cref="
CSharpEditAndContinueAnalyzer
.ReportStateMachineSuspensionPointRudeEdits"/>.