1 implementation of ITypePatternOperation
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
9951internal sealed partial class TypePatternOperation : BasePatternOperation, ITypePatternOperation
16 references to ITypePatternOperation
Microsoft.CodeAnalysis (5)
Generated\OperationKind.Generated.cs (1)
252/// <summary>Indicates an <see cref="ITypePatternOperation"/>.</summary>
Generated\Operations.Generated.cs (3)
11326public override IOperation VisitTypePattern(ITypePatternOperation operation, object? argument) 11532public virtual void VisitTypePattern(ITypePatternOperation operation) => DefaultVisit(operation); 11671public virtual TResult? VisitTypePattern(ITypePatternOperation operation, TArgument argument) => DefaultVisit(operation, argument);
Operations\ControlFlowGraphBuilder.cs (1)
7618public override IOperation VisitTypePattern(ITypePatternOperation operation, int? argument)
Microsoft.CodeAnalysis.CodeStyle (2)
src\Analyzers\Core\Analyzers\PopulateSwitch\PopulateSwitchExpressionHelpers.cs (1)
130ITypePatternOperation typePattern => typePattern.MatchedType,
src\Analyzers\Core\Analyzers\PopulateSwitch\PopulateSwitchStatementHelpers.cs (1)
205ITypePatternOperation typePattern => typePattern.MatchedType,
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\UseIsNullCheck\CSharpUseNullCheckOverTypeCheckDiagnosticAnalyzer.cs (1)
76if (negatedPattern.Pattern is ITypePatternOperation typePatternOperation &&
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (1)
1008Pattern: ITypePatternOperation typePattern
Microsoft.CodeAnalysis.CSharp.Features (2)
src\Analyzers\CSharp\Analyzers\UseIsNullCheck\CSharpUseNullCheckOverTypeCheckDiagnosticAnalyzer.cs (1)
76if (negatedPattern.Pattern is ITypePatternOperation typePatternOperation &&
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (1)
1008Pattern: ITypePatternOperation typePattern
Microsoft.CodeAnalysis.Features (2)
src\Analyzers\Core\Analyzers\PopulateSwitch\PopulateSwitchExpressionHelpers.cs (1)
130ITypePatternOperation typePattern => typePattern.MatchedType,
src\Analyzers\Core\Analyzers\PopulateSwitch\PopulateSwitchStatementHelpers.cs (1)
205ITypePatternOperation typePattern => typePattern.MatchedType,
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\OperationTreeVerifier.cs (2)
1987public override void VisitTypePattern(ITypePatternOperation operation) 1989LogString(nameof(ITypePatternOperation));
Compilation\TestOperationVisitor.cs (1)
1403public override void VisitTypePattern(ITypePatternOperation operation)