22 references to Invalid
ILLink.RoslynAnalyzer (2)
DataFlow\UnexpectedOperationHandler.cs (2)
25 if (operation.Kind is OperationKind.Invalid) 38 if (descendant.Kind is OperationKind.Invalid)
Microsoft.CodeAnalysis (5)
DiagnosticAnalyzer\AnalyzerDriver.cs (1)
2964Debug.Assert(operationBlock.Kind is OperationKind.Invocation or OperationKind.Invalid);
Generated\Operations.Generated.cs (1)
31/// <item><description><see cref="OperationKind.Invalid"/></description></item>
Operations\ControlFlowGraphBuilder.cs (2)
6064OperationKind.LocalReference, OperationKind.Binary, OperationKind.FieldReference, OperationKind.Invalid, 6220Debug.Assert(instance.Kind == OperationKind.Invalid || instance.Kind == OperationKind.None);
Operations\OperationNodes.cs (1)
137public override OperationKind Kind => OperationKind.Invalid;
Microsoft.CodeAnalysis.CodeStyle (2)
src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
243OperationKind.Invalid,
src\Analyzers\Core\Analyzers\RemoveUnusedParametersAndValues\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.BlockAnalyzer.cs (1)
76context.RegisterOperationAction(_ => blockAnalyzer._hasInvalidOperation = true, OperationKind.Invalid);
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (1)
IOperation\IOperationTests_IConversionExpression.cs (1)
184Assert.Equal(OperationKind.Invalid, initializerOperation.Kind);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\DynamicTests.cs (1)
11420Assert.Equal(OperationKind.Invalid, model.GetOperation(call).Kind);
Microsoft.CodeAnalysis.Features (3)
IntroduceUsingStatement\AbstractIntroduceUsingStatementCodeRefactoringProvider.cs (1)
126if (initializer is null || initializer.Kind == OperationKind.Invalid)
src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (1)
243OperationKind.Invalid,
src\Analyzers\Core\Analyzers\RemoveUnusedParametersAndValues\AbstractRemoveUnusedParametersAndValuesDiagnosticAnalyzer.SymbolStartAnalyzer.BlockAnalyzer.cs (1)
76context.RegisterOperationAction(_ => blockAnalyzer._hasInvalidOperation = true, OperationKind.Invalid);
Microsoft.CodeAnalysis.Test.Utilities (8)
Compilation\ControlFlowGraphVerifier.cs (1)
1903case OperationKind.Invalid:
Compilation\TestOperationVisitor.cs (3)
1271Assert.Equal(OperationKind.Invalid, operation.Kind); 1527if (operation.Member.Kind == OperationKind.Invalid) 1707case OperationKind.Invalid:
Diagnostics\OperationTestAnalyzer.cs (4)
66OperationKind.Invalid); 77OperationKind.Invalid); 1044if (eventAssignment.EventReference.Kind == OperationKind.Invalid || eventAssignment.HasErrors(operationContext.Compilation, operationContext.CancellationToken)) 1264if (addressOfOperation.Reference.Kind == OperationKind.Invalid && addressOfOperation.HasErrors(operationContext.Compilation, operationContext.CancellationToken))