1 implementation of IIsPatternOperation
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
7191internal sealed partial class IsPatternOperation : Operation, IIsPatternOperation
29 references to IIsPatternOperation
ILLink.RoslynAnalyzer (2)
DataFlow\FeatureChecksVisitor.cs (1)
127 public override FeatureChecksValue VisitIsPattern (IIsPatternOperation operation, StateValue state)
IOperationExtensions.cs (1)
83 case IIsPatternOperation:
Microsoft.CodeAnalysis (5)
Generated\OperationKind.Generated.cs (1)
153/// <summary>Indicates an <see cref="IIsPatternOperation"/>.</summary>
Generated\Operations.Generated.cs (3)
11091public override IOperation VisitIsPattern(IIsPatternOperation operation, object? argument) 11480public virtual void VisitIsPattern(IIsPatternOperation operation) => DefaultVisit(operation); 11619public virtual TResult? VisitIsPattern(IIsPatternOperation operation, TArgument argument) => DefaultVisit(operation, argument);
Operations\ControlFlowGraphBuilder.cs (1)
7432public override IOperation VisitIsPattern(IIsPatternOperation operation, int? captureIdForResult)
Microsoft.CodeAnalysis.CodeStyle (3)
src\Analyzers\Core\Analyzers\RemoveRedundantEquality\AbstractRemoveRedundantEqualityDiagnosticAnalyzer.cs (2)
38var operation = (IIsPatternOperation)context.Operation;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
100case IIsPatternOperation:
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_Negate.cs (1)
276var valueType = (operation as IIsPatternOperation)?.Value.Type?.SpecialType;
Microsoft.CodeAnalysis.CSharp (1)
Operations\CSharpOperationFactory.cs (1)
2771private IIsPatternOperation CreateBoundIsPatternExpressionOperation(BoundIsPatternExpression boundIsPatternExpression)
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\CSharpUsePatternCombinatorsAnalyzer.cs (1)
65case IIsPatternOperation { Pattern.Syntax: PatternSyntax pattern } op:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (3)
675else if (operation is IIsPatternOperation patternOp) 827(_, IIsPatternOperation 1003if (condition is IIsPatternOperation
Microsoft.CodeAnalysis.CSharp.Features (4)
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\CSharpUsePatternCombinatorsAnalyzer.cs (1)
65case IIsPatternOperation { Pattern.Syntax: PatternSyntax pattern } op:
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (3)
675else if (operation is IIsPatternOperation patternOp) 827(_, IIsPatternOperation 1003if (condition is IIsPatternOperation
Microsoft.CodeAnalysis.Features (4)
ConvertIfToSwitch\AbstractConvertIfToSwitchCodeRefactoringProvider.Analyzer.cs (1)
335case IIsPatternOperation op
InitializeParameter\AbstractAddParameterCheckCodeRefactoringProvider.cs (1)
227else if (condition is IIsPatternOperation isPatternOperation &&
src\Analyzers\Core\Analyzers\RemoveRedundantEquality\AbstractRemoveRedundantEqualityDiagnosticAnalyzer.cs (2)
38var operation = (IIsPatternOperation)context.Operation;
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\OperationTreeVerifier.cs (2)
2053public override void VisitIsPattern(IIsPatternOperation operation) 2055LogString(nameof(IIsPatternOperation));
Compilation\TestOperationVisitor.cs (1)
1571public override void VisitIsPattern(IIsPatternOperation operation)
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
100case IIsPatternOperation:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_Negate.cs (1)
276var valueType = (operation as IIsPatternOperation)?.Value.Type?.SpecialType;