16 references to IsExtractMethodOnExpression
Microsoft.CodeAnalysis.CSharp.Features (7)
ExtractMethod\CSharpMethodExtractor.Analyzer.cs (1)
65
if (!this.SelectionResult.
IsExtractMethodOnExpression
&&
ExtractMethod\CSharpMethodExtractor.CSharpCodeGenerator.ExpressionCodeGenerator.cs (1)
89
Contract.ThrowIfFalse(this.SelectionResult.
IsExtractMethodOnExpression
);
ExtractMethod\CSharpSelectionResult.cs (3)
71
Contract.ThrowIfTrue(
IsExtractMethodOnExpression
);
82
Contract.ThrowIfTrue(
IsExtractMethodOnExpression
);
92
Contract.ThrowIfFalse(
IsExtractMethodOnExpression
);
ExtractMethod\CSharpSelectionResult.ExpressionResult.cs (1)
36
Contract.ThrowIfFalse(
IsExtractMethodOnExpression
);
ExtractMethod\CSharpSelectionResult.StatementResult.cs (1)
39
Contract.ThrowIfTrue(
IsExtractMethodOnExpression
);
Microsoft.CodeAnalysis.Features (9)
ExtractMethod\MethodExtractor.Analyzer.cs (3)
150
if (this.SelectionResult.
IsExtractMethodOnExpression
||
215
return this.SelectionResult.
IsExtractMethodOnExpression
657
if (!SelectionResult.
IsExtractMethodOnExpression
)
ExtractMethod\MethodExtractor.cs (1)
177
var exitPoints = originalSelectionResult.
IsExtractMethodOnExpression
ExtractMethod\SelectionResult.cs (5)
108
Contract.ThrowIfTrue(
IsExtractMethodOnExpression
);
116
Contract.ThrowIfTrue(
IsExtractMethodOnExpression
);
199
if (this.
IsExtractMethodOnExpression
)
209
Contract.ThrowIfTrue(
IsExtractMethodOnExpression
);
264
if (!this.
IsExtractMethodOnExpression
)