1 implementation of IIsTypeOperation
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
6123internal sealed partial class IsTypeOperation : Operation, IIsTypeOperation
24 references to IIsTypeOperation
Microsoft.CodeAnalysis (5)
Generated\OperationKind.Generated.cs (1)
102/// <summary>Indicates an <see cref="IIsTypeOperation"/>.</summary>
Generated\Operations.Generated.cs (3)
10986public override IOperation VisitIsType(IIsTypeOperation operation, object? argument) 11454public virtual void VisitIsType(IIsTypeOperation operation) => DefaultVisit(operation); 11593public virtual TResult? VisitIsType(IIsTypeOperation operation, TArgument argument) => DefaultVisit(operation, argument);
Operations\ControlFlowGraphBuilder.cs (1)
7199public override IOperation VisitIsType(IIsTypeOperation operation, int? captureIdForResult)
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_Negate.cs (2)
186else if (operation is IIsTypeOperation { TypeOperand.SpecialType: SpecialType.System_Object } && generatorInternal.SupportsPatterns(semanticModel.SyntaxTree.Options)) 195if (operation is IIsTypeOperation isTypeOperation)
Microsoft.CodeAnalysis.CSharp (1)
Operations\CSharpOperationFactory.cs (1)
1171private IIsTypeOperation CreateBoundIsOperatorOperation(BoundIsOperator boundIsOperator)
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
src\Analyzers\CSharp\Analyzers\UseIsNullCheck\CSharpUseNullCheckOverTypeCheckDiagnosticAnalyzer.cs (2)
99var isTypeOperation = (IIsTypeOperation)operation;
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\AnalyzedPattern.cs (1)
31public static Type? TryCreate(BinaryExpressionSyntax binaryExpression, IIsTypeOperation operation)
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\CSharpUsePatternCombinatorsAnalyzer.cs (1)
62case IIsTypeOperation { Syntax: BinaryExpressionSyntax binaryExpression } op:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (1)
995if (condition is IIsTypeOperation typeCondition)
Microsoft.CodeAnalysis.CSharp.Features (5)
src\Analyzers\CSharp\Analyzers\UseIsNullCheck\CSharpUseNullCheckOverTypeCheckDiagnosticAnalyzer.cs (2)
99var isTypeOperation = (IIsTypeOperation)operation;
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\AnalyzedPattern.cs (1)
31public static Type? TryCreate(BinaryExpressionSyntax binaryExpression, IIsTypeOperation operation)
src\Analyzers\CSharp\Analyzers\UsePatternCombinators\CSharpUsePatternCombinatorsAnalyzer.cs (1)
62case IIsTypeOperation { Syntax: BinaryExpressionSyntax binaryExpression } op:
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (1)
995if (condition is IIsTypeOperation typeCondition)
Microsoft.CodeAnalysis.Features (1)
ConvertIfToSwitch\AbstractConvertIfToSwitchCodeRefactoringProvider.Analyzer.cs (1)
331case IIsTypeOperation op
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\OperationTreeVerifier.cs (2)
1316public override void VisitIsType(IIsTypeOperation operation) 1318LogString(nameof(IIsTypeOperation));
Compilation\TestOperationVisitor.cs (1)
914public override void VisitIsType(IIsTypeOperation operation)
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_Negate.cs (2)
186else if (operation is IIsTypeOperation { TypeOperand.SpecialType: SpecialType.System_Object } && generatorInternal.SupportsPatterns(semanticModel.SyntaxTree.Options)) 195if (operation is IIsTypeOperation isTypeOperation)