10 references to ReplacementChangesSemantics
Microsoft.CodeAnalysis.CSharp.Features (3)
src\roslyn\src\Analyzers\CSharp\Analyzers\UseCollectionExpression\UseCollectionExpressionHelpers.cs (1)
158if (speculationAnalyzer.ReplacementChangesSemantics())
src\roslyn\src\Analyzers\CSharp\Analyzers\UseExpressionBodyForLambda\UseExpressionBodyForLambdaHelpers.cs (1)
158if (speculationAnalyzer.ReplacementChangesSemantics())
src\roslyn\src\Analyzers\CSharp\Analyzers\UseImplicitlyTypedLambdaExpression\CSharpUseImplicitlyTypedLambdaExpressionDiagnosticAnalyzer.cs (1)
86if (analyzer.ReplacementChangesSemantics())
Microsoft.CodeAnalysis.CSharp.Workspaces (7)
Simplification\Reducers\CSharpEscapingReducer.cs (1)
97if (speculationAnalyzer.ReplacementChangesSemantics())
Simplification\Reducers\CSharpMiscellaneousReducer.cs (1)
59return !speculationAnalyzer.ReplacementChangesSemantics();
Simplification\Simplifiers\ExpressionSimplifier.cs (2)
269return !speculationAnalyzer.ReplacementChangesSemantics(); 325speculationAnalyzer.ReplacementChangesSemantics())
Simplification\Simplifiers\NameSimplifier.cs (1)
617if (speculationAnalyzer.ReplacementChangesSemantics())
src\50a3a051b0fef0d6\CSharpReplaceDiscardDeclarationsWithAssignmentsService.cs (1)
90if (!speculationAnalyzer.ReplacementChangesSemantics())
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\DefaultExpressionSyntaxExtensions.cs (1)
91return !speculationAnalyzer.ReplacementChangesSemantics();