5 references to AnalyzedOperationsInsideOperationBlock
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (4)
Diagnostics\GetDiagnosticsTests.cs (4)
1540
Assert.Empty(analyzer.
AnalyzedOperationsInsideOperationBlock
);
1648
Assert.Equal(expectedOperationInsideBlockCallbacks.Count, analyzer.
AnalyzedOperationsInsideOperationBlock
.Count);
1649
AssertEx.All(analyzer.
AnalyzedOperationsInsideOperationBlock
, operation => operation.Kind == OperationKind.VariableDeclaration);
1650
AssertEx.SetEqual(expectedOperationInsideBlockCallbacks, analyzer.
AnalyzedOperationsInsideOperationBlock
.Select(op => op.Syntax.ToString()).ToHashSet());
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\CommonDiagnosticAnalyzers.cs (1)
3045
operationBlockStartContext.RegisterOperationAction(operationContext =>
AnalyzedOperationsInsideOperationBlock
.Add(operationContext.Operation), OperationKind.VariableDeclaration);