1 implementation of Value
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
8821
public IOperation
Value
{ get; }
13 references to Value
ILLink.RoslynAnalyzer (5)
DataFlow\LocalDataFlowVisitor.cs (5)
509
Debug.Assert (operation.
Value
is not IFlowCaptureReferenceOperation);
510
if (operation.
Value
is IFlowCaptureReferenceOperation)
516
var capturedRef = new CapturedReferenceValue (operation.
Value
);
523
if (operation.
Value
is IFlowCaptureReferenceOperation captureRef) {
538
capturedValue = Visit (operation.
Value
, state);
Microsoft.CodeAnalysis.Test.Utilities (8)
Compilation\ControlFlowGraphVerifier.cs (1)
415
assertCaptureReferences(currentState, capture.
Value
, block, j, longLivedIds, referencedIds, finalGraph);
Compilation\OperationTreeVerifier.cs (1)
995
Visit(operation.
Value
, "Value");
Compilation\TestOperationVisitor.cs (6)
1703
Assert.Same(operation.
Value
, operation.ChildOperations.Single());
1705
switch (operation.
Value
.Kind)
1718
Assert.False(true, $"A {operation.
Value
.Kind} node should not be spilled or captured.");
1723
if (!operation.
Value
.ConstantValue.HasValue || operation.
Value
.ConstantValue.Value != null)
1725
Assert.NotNull(operation.
Value
.Type);