2 overrides of IsValid
Microsoft.CodeAnalysis.CSharp.Features (1)
IntroduceVariable\CSharpIntroduceLocalForExpressionCodeRefactoringProvider.cs (1)
42
protected override bool
IsValid
(ExpressionStatementSyntax expressionStatement, TextSpan span)
Microsoft.CodeAnalysis.VisualBasic.Features (1)
IntroduceVariable\VisualBasicIntroduceLocalForExpressionCodeRefactoringProvider.vb (1)
29
Protected Overrides Function
IsValid
(expressionStatement As ExpressionStatementSyntax, span As TextSpan) As Boolean
1 reference to IsValid
Microsoft.CodeAnalysis.Features (1)
IntroduceVariable\AbstractIntroduceLocalForExpressionCodeRefactoringProvider.cs (1)
74
return expressionStatement != null &&
IsValid
(expressionStatement, context.Span)