400 references to GetOperation
ConfigurationSchemaGenerator (1)
Microsoft.Analyzers.Extra (4)
Microsoft.AspNetCore.Analyzers (1)
Microsoft.AspNetCore.App.Analyzers (2)
Microsoft.AspNetCore.Http.RequestDelegateGenerator (3)
Microsoft.AspNetCore.Mvc.Api.Analyzers (1)
Microsoft.CodeAnalysis (5)
Microsoft.CodeAnalysis.CodeStyle (10)
Microsoft.CodeAnalysis.CodeStyle.Fixes (6)
Microsoft.CodeAnalysis.CSharp.CodeStyle (16)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (12)
87var castExpressionOperation = semanticModel.GetOperation(cast.Expression, cancellationToken);
203var originalOperation = originalSemanticModel.GetOperation(castNode, cancellationToken);
262var rewrittenOperation = rewrittenSemanticModel.GetOperation(rewrittenExpression.WalkDownParentheses(), cancellationToken);
794var rewrittenOperation = rewrittenSemanticModel.GetOperation(rewrittenBitwiseNotExpression, cancellationToken);
841if (originalSemanticModel.GetOperation(castExpression, cancellationToken) is not IConversionOperation conversionOperation)
882if (rewrittenSemanticModel.GetOperation(rewrittenConditionalExpression, cancellationToken) is not IConditionalOperation rewrittenConditionalOperation)
913var operation = semanticModel.GetOperation(parentBinary, cancellationToken);
1110var operation = semanticModel.GetOperation(expression.WalkDownParentheses(), cancellationToken);
1151if (originalSemanticModel.GetOperation(currentOld, cancellationToken) is not IInterpolatedStringOperation oldInterpolationOperation)
1154if (rewrittenSemanticModel.GetOperation(currentNew, cancellationToken) is not IInterpolatedStringOperation newInterpolationOperation)
1406var operation = semanticModel.GetOperation(expression, cancellationToken);
1447semanticModel.GetOperation(invocationExpression, cancellationToken) is IInvocationOperation invocationOperation)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (5)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (103)
Semantics\PatternMatchingTests5.cs (5)
429VerifyOperationTree(comp, model.GetOperation(isPattern), @"
566VerifyOperationTree(comp, model.GetOperation(isPattern), @"
797VerifyOperationTree(comp, model.GetOperation(isPattern), @"
843VerifyOperationTree(comp, model.GetOperation(isPattern), @"
897VerifyOperationTree(comp, model.GetOperation(isPattern), @"
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Features (7)
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (33)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (143)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (3)
Microsoft.CodeAnalysis.CSharp.Workspaces (13)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (12)
87var castExpressionOperation = semanticModel.GetOperation(cast.Expression, cancellationToken);
203var originalOperation = originalSemanticModel.GetOperation(castNode, cancellationToken);
262var rewrittenOperation = rewrittenSemanticModel.GetOperation(rewrittenExpression.WalkDownParentheses(), cancellationToken);
794var rewrittenOperation = rewrittenSemanticModel.GetOperation(rewrittenBitwiseNotExpression, cancellationToken);
841if (originalSemanticModel.GetOperation(castExpression, cancellationToken) is not IConversionOperation conversionOperation)
882if (rewrittenSemanticModel.GetOperation(rewrittenConditionalExpression, cancellationToken) is not IConditionalOperation rewrittenConditionalOperation)
913var operation = semanticModel.GetOperation(parentBinary, cancellationToken);
1110var operation = semanticModel.GetOperation(expression.WalkDownParentheses(), cancellationToken);
1151if (originalSemanticModel.GetOperation(currentOld, cancellationToken) is not IInterpolatedStringOperation oldInterpolationOperation)
1154if (rewrittenSemanticModel.GetOperation(currentNew, cancellationToken) is not IInterpolatedStringOperation newInterpolationOperation)
1406var operation = semanticModel.GetOperation(expression, cancellationToken);
1447semanticModel.GetOperation(invocationExpression, cancellationToken) is IInvocationOperation invocationOperation)
Microsoft.CodeAnalysis.Features (10)
Microsoft.CodeAnalysis.Test.Utilities (8)
Microsoft.CodeAnalysis.UnitTests (1)
Microsoft.CodeAnalysis.VisualBasic.Features (1)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (2)
Microsoft.CodeAnalysis.Workspaces (10)
Microsoft.VisualStudio.LanguageServices (1)
Mvc.Api.Analyzers.Test (4)
System.Text.RegularExpressions.Generator (1)