1 implementation of INegatedPatternOperation
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
9836internal sealed partial class NegatedPatternOperation : BasePatternOperation, INegatedPatternOperation
22 references to INegatedPatternOperation
ILLink.RoslynAnalyzer (2)
DataFlow\FeatureChecksVisitor.cs (1)
143 case INegatedPatternOperation negatedPattern:
IOperationExtensions.cs (1)
46 operation.Parent is INegatedPatternOperation ||
Microsoft.CodeAnalysis (5)
Generated\OperationKind.Generated.cs (1)
248/// <summary>Indicates an <see cref="INegatedPatternOperation"/>.</summary>
Generated\Operations.Generated.cs (3)
11316public override IOperation VisitNegatedPattern(INegatedPatternOperation operation, object? argument) 11530public virtual void VisitNegatedPattern(INegatedPatternOperation operation) => DefaultVisit(operation); 11669public virtual TResult? VisitNegatedPattern(INegatedPatternOperation operation, TArgument argument) => DefaultVisit(operation, argument);
Operations\ControlFlowGraphBuilder.cs (1)
7607public override IOperation VisitNegatedPattern(INegatedPatternOperation operation, int? argument)
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
61INegatedPatternOperation or
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Analyzers\CSharp\Analyzers\UseIsNullCheck\CSharpUseNullCheckOverTypeCheckDiagnosticAnalyzer.cs (2)
66var negatedPattern = (INegatedPatternOperation)context.Operation;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (3)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (3)
683constantPattern = (patternOp.Pattern as INegatedPatternOperation)?. 842if (isPattern is INegatedPatternOperation negatedPattern) 1006Pattern: INegatedPatternOperation
Microsoft.CodeAnalysis.CSharp.Features (5)
src\Analyzers\CSharp\Analyzers\UseIsNullCheck\CSharpUseNullCheckOverTypeCheckDiagnosticAnalyzer.cs (2)
66var negatedPattern = (INegatedPatternOperation)context.Operation;
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (3)
683constantPattern = (patternOp.Pattern as INegatedPatternOperation)?. 842if (isPattern is INegatedPatternOperation negatedPattern) 1006Pattern: INegatedPatternOperation
Microsoft.CodeAnalysis.Test.Utilities (3)
Compilation\OperationTreeVerifier.cs (2)
1971public override void VisitNegatedPattern(INegatedPatternOperation operation) 1973LogString(nameof(INegatedPatternOperation));
Compilation\TestOperationVisitor.cs (1)
1396public override void VisitNegatedPattern(INegatedPatternOperation operation)
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
61INegatedPatternOperation or