1 write to SelectionInExpression
Microsoft.CodeAnalysis.Features (1)
ExtractMethod\SelectionResult.cs (1)
43
SelectionInExpression
= selectionInExpression;
22 references to SelectionInExpression
Microsoft.CodeAnalysis.CSharp.Features (7)
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.ExpressionCodeGenerator.cs (1)
40
=> code.
SelectionInExpression
;
ExtractMethod\CSharpSelectionResult.cs (3)
110
Contract.ThrowIfTrue(
SelectionInExpression
);
121
Contract.ThrowIfTrue(
SelectionInExpression
);
135
Contract.ThrowIfFalse(
SelectionInExpression
);
ExtractMethod\CSharpSelectionResult.ExpressionResult.cs (1)
42
Contract.ThrowIfFalse(
SelectionInExpression
);
ExtractMethod\CSharpSelectionResult.StatementResult.cs (2)
52
Contract.ThrowIfTrue(
SelectionInExpression
);
71
Contract.ThrowIfTrue(
SelectionInExpression
);
Microsoft.CodeAnalysis.Features (8)
ExtractMethod\MethodExtractor.Analyzer.cs (6)
216
if (!SelectionResult.
SelectionInExpression
&& ContainsReturnStatementInSelectedCode(model))
265
var isInExpressionOrHasReturnStatement = SelectionResult.
SelectionInExpression
;
366
if (SelectionResult.
SelectionInExpression
)
377
if (SelectionResult.
SelectionInExpression
)
598
if (!SelectionResult.
SelectionInExpression
)
700
Contract.ThrowIfTrue(SelectionResult.
SelectionInExpression
);
ExtractMethod\SelectionResult.cs (2)
103
Contract.ThrowIfTrue(
SelectionInExpression
);
111
Contract.ThrowIfTrue(
SelectionInExpression
);
Microsoft.CodeAnalysis.VisualBasic.Features (7)
ExtractMethod\VisualBasicMethodExtractor.VisualBasicCodeGenerator.ExpressionCodeGenerator.vb (1)
24
Return code.
SelectionInExpression
ExtractMethod\VisualBasicSelectionResult.vb (6)
95
If
SelectionInExpression
Then
122
If
SelectionInExpression
Then
167
If
SelectionInExpression
Then
228
Contract.ThrowIfTrue(
SelectionInExpression
)
252
Contract.ThrowIfTrue(
SelectionInExpression
)
268
Contract.ThrowIfFalse(
SelectionInExpression
)