1 write to OriginalOperation
Microsoft.CodeAnalysis (1)
Operations\ControlFlowGraph.cs (1)
62OriginalOperation = originalOperation;
20 references to OriginalOperation
ILLink.RoslynAnalyzer (1)
DataFlow\LocalDataFlowVisitor.cs (1)
273 if (OwningSymbol is IPropertySymbol && (ControlFlowGraph.OriginalOperation is not IAttributeOperation))
Microsoft.CodeAnalysis (5)
Operations\ControlFlowGraph.cs (5)
18/// Control flow graph representation for a given executable code block <see cref="OriginalOperation"/>. 191Debug.Assert(controlFlowGraph.OriginalOperation == operation); 220/// Local functions declared within <see cref="OriginalOperation"/>. 264Debug.Assert(graph.OriginalOperation == info.operation); 311Debug.Assert(graph.OriginalOperation == anonymous.Original);
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (1)
190foreach (var operation in cfg.OriginalOperation.Descendants())
Microsoft.CodeAnalysis.Test.Utilities (12)
Compilation\ControlFlowGraphVerifier.cs (9)
77Assert.Same(operationRoot, graph.OriginalOperation); 347if (graph.OriginalOperation.Language == LanguageNames.VisualBasic) 349var model = compilation.GetSemanticModel(graph.OriginalOperation.Syntax.SyntaxTree); 350if (model.GetDiagnostics(graph.OriginalOperation.Syntax.Span). 536if (graph.OriginalOperation.Language != LanguageNames.VisualBasic) 563if (graph.OriginalOperation.Language != LanguageNames.VisualBasic) 683if (graph.OriginalOperation.Language != LanguageNames.VisualBasic) 1524Assert.Equal(OperationKind.LocalFunction, g.OriginalOperation.Kind); 1826Assert.Equal(OperationKind.AnonymousFunction, g.OriginalOperation.Kind);
Diagnostics\CommonDiagnosticAnalyzers.cs (3)
1258return _controlFlowGraphMapOpt.Values.OrderBy(flowGraphAndSymbol => flowGraphAndSymbol.Graph.OriginalOperation.Syntax.SpanStart).ToImmutableArray(); 1275Assert.Same(operationBlock.GetRootOperation(), controlFlowGraphAndSymbol.Graph.OriginalOperation); 1277_controlFlowGraphMapOpt.Add(controlFlowGraphAndSymbol.Graph.OriginalOperation, controlFlowGraphAndSymbol);
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (1)
190foreach (var operation in cfg.OriginalOperation.Descendants())