31 references to None
ILLink.RoslynAnalyzer (1)
DataFlow\UnexpectedOperationHandler.cs (1)
22 if (operation.Kind is OperationKind.None)
Microsoft.CodeAnalysis (11)
Generated\Operations.Generated.cs (5)
9580public override OperationKind Kind => OperationKind.None; 9644public override OperationKind Kind => OperationKind.None; 9696public override OperationKind Kind => OperationKind.None; 9715public override OperationKind Kind => OperationKind.None; 9777public override OperationKind Kind => OperationKind.None;
Operations\ControlFlowGraphBuilder.cs (5)
1622Debug.Assert(rewrittenThrow!.Kind == OperationKind.None); 1640Debug.Assert(rewrittenThrow.Kind == OperationKind.None); 2929Debug.Assert(rewrittenThrow.Kind == OperationKind.None); 3071Debug.Assert(rewrittenThrow.Kind == OperationKind.None); 6220Debug.Assert(instance.Kind == OperationKind.Invalid || instance.Kind == OperationKind.None);
Operations\OperationNodes.cs (1)
66public override OperationKind Kind => OperationKind.None;
Microsoft.CodeAnalysis.CodeStyle (2)
src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
214symbolStartContext.RegisterOperationAction(_ => hasUnsupportedOperation = true, OperationKind.Invalid, OperationKind.None,
src\Analyzers\Core\Analyzers\RemoveUnusedParametersAndValues\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.BlockAnalyzer.cs (1)
390if (operation.Kind == OperationKind.None)
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\MakeStructMemberReadOnly\CSharpMakeStructMemberReadOnlyAnalyzer.cs (1)
287if (operation.Kind == OperationKind.None)
Microsoft.CodeAnalysis.CSharp.Features (1)
src\Analyzers\CSharp\Analyzers\MakeStructMemberReadOnly\CSharpMakeStructMemberReadOnlyAnalyzer.cs (1)
287if (operation.Kind == OperationKind.None)
Microsoft.CodeAnalysis.Features (2)
src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
214symbolStartContext.RegisterOperationAction(_ => hasUnsupportedOperation = true, OperationKind.Invalid, OperationKind.None,
src\Analyzers\Core\Analyzers\RemoveUnusedParametersAndValues\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.BlockAnalyzer.cs (1)
390if (operation.Kind == OperationKind.None)
Microsoft.CodeAnalysis.Test.Utilities (13)
Compilation\ControlFlowGraphVerifier.cs (1)
1899case OperationKind.None:
Compilation\OperationTreeVerifier.cs (1)
400if (!children.IsEmpty || operation.Kind != OperationKind.None)
Compilation\TestOperationVisitor.cs (9)
39Assert.Equal(OperationKind.None, operation.Kind); 55Assert.Equal(OperationKind.None, operation.Kind); 482Assert.Equal(OperationKind.None, operation.Kind); 501Assert.Equal(OperationKind.None, operation.Kind); 513Assert.Equal(OperationKind.None, operation.Kind); 621Assert.Equal(OperationKind.None, operation.Kind); 741Assert.Equal(OperationKind.None, operation.Kind); 1258Assert.Equal(OperationKind.None, operation.Kind); 1708case OperationKind.None:
Diagnostics\OperationTestAnalyzer.cs (2)
1229OperationKind.None); 1328if (statement.Kind == OperationKind.None)