1 write to Value
Microsoft.CodeAnalysis (1)
Operations\CaptureId.cs (1)
18
Value
= value;
18 references to Value
Microsoft.CodeAnalysis (7)
Operations\CaptureId.cs (3)
26
public bool Equals(CaptureId other) =>
Value
== other.
Value
;
32
public override int GetHashCode() =>
Value
.GetHashCode();
Operations\ControlFlowGraphBuilder.cs (2)
1688
captureId != ((IFlowCaptureReferenceOperation)result).Id.
Value
)
7150
GetCaptureReference(reference.Id.
Value
, operation) :
Operations\ControlFlowGraphBuilder.RegionBuilder.cs (2)
335
CaptureIds?.Sort((x, y) => x.
Value
.CompareTo(y.
Value
));
Microsoft.CodeAnalysis.Test.Utilities (11)
Compilation\ControlFlowGraphVerifier.cs (9)
403
AssertTrueWithGraph(currentState.Contains(id), $"Backward branch from [{getBlockId(predecessor.Source)}] to [{getBlockId(block)}] before capture [{id.
Value
}] is initialized.", finalGraph);
416
AssertTrueWithGraph(currentState.Add(capture.Id), $"Operation [{j}] in [{getBlockId(block)}] re-initialized capture [{capture.Id.
Value
}]", finalGraph);
526
$"Capture [{id.
Value
}] is not used in region [{getRegionId(region)}] before leaving it after block [{getBlockId(block)}]", finalGraph);
792
$"Operation [{operationIndex}] in [{getBlockId(block)}] uses not initialized capture [{id.
Value
}].", finalGraph);
811
$"Operation [{operationIndex}] in [{getBlockId(block)}] uses capture [{id.
Value
}] from another region. Should the regions be merged?", finalGraph);
818
$"Operation [{operationIndex}] in [{getBlockId(block)}] uses capture [{id.
Value
}] from another region. Should the regions be merged?", finalGraph);
822
AssertTrueWithGraph(false, $"Operation [{operationIndex}] in [{getBlockId(block)}] uses capture [{id.
Value
}] from another region. Should the regions be merged?", finalGraph);
1407
stringBuilder.Append($" [{id.
Value
}]");
1691
Assert.True(false, $"Capture [{referencedCaptureIds.First().
Value
}] without owning region in [{getBlockId(block)}]\n{finalGraph()}");
Compilation\OperationTreeVerifier.cs (2)
974
LogString($": {operation.Id.
Value
}");
985
LogString($": {operation.Id.
Value
}");