1 implementation of Id
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
8875
public CaptureId
Id
{ get; }
34 references to Id
ILLink.RoslynAnalyzer (10)
DataFlow\LocalDataFlowVisitor.cs (7)
397
Debug.Assert (IsLValueFlowCapture (flowCaptureReference.
Id
));
399
var capturedReferences = state.Current.LocalState.CapturedReferences.Get (flowCaptureReference.
Id
);
451
Debug.Assert (!IsLValueFlowCapture (operation.
Id
),
456
return state.Get (new LocalKey (operation.
Id
));
524
if (IsLValueFlowCapture (captureRef.
Id
)) {
528
var capturedReferences = state.Current.LocalState.CapturedReferences.Get (captureRef.
Id
);
535
capturedValue = state.Get (new LocalKey (captureRef.
Id
));
DataFlow\LValueFlowCaptureProvider.cs (3)
66
var captureKind = assignment?.IsAnyCompoundAssignment () == true || rvalueFlowCaptureIds.Contains (flowCaptureReference.
Id
)
69
lvalueFlowCaptureIdBuilder.Add (flowCaptureReference.
Id
, captureKind);
71
rvalueFlowCaptureIds.Add (flowCaptureReference.
Id
);
Microsoft.CodeAnalysis (4)
Operations\ControlFlowGraphBuilder.cs (4)
1688
captureId != ((IFlowCaptureReferenceOperation)result).
Id
.Value)
1879
idsStillOnTheStack.Add(reference.
Id
);
1886
idsStillOnTheStack.Add(reference.
Id
);
7150
GetCaptureReference(reference.
Id
.Value, operation) :
Microsoft.CodeAnalysis.CodeStyle (7)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\LValueFlowCaptureProvider.cs (3)
61
var captureKind = flowCaptureReference.Parent.IsAnyCompoundAssignment() || rvalueFlowCaptureIds.Contains(flowCaptureReference.
Id
)
64
lvalueFlowCaptureIdBuilder.Add(flowCaptureReference.
Id
, captureKind);
68
rvalueFlowCaptureIds.Add(flowCaptureReference.
Id
);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (4)
211
Debug.Assert(_currentAnalysisData.IsLValueFlowCapture(captureReference.
Id
));
213
OnLValueDereferenceFound(captureReference.
Id
);
285
if (_currentAnalysisData.IsLValueFlowCapture(operation.
Id
) &&
288
OnLValueDereferenceFound(operation.
Id
);
Microsoft.CodeAnalysis.Test.Utilities (6)
Compilation\ControlFlowGraphVerifier.cs (5)
497
referencedInLastOperation.Add(reference.
Id
);
522
IFlowCaptureReferenceOperation[] referencesAfter = getFlowCaptureReferenceOperationsInRegion(region, block.Ordinal + 1).Where(r => r.
Id
.Equals(id)).ToArray();
775
CaptureId id = reference.
Id
;
1018
return isCaptureFromEnclosingGraph(reference.
Id
);
1748
referencedCaptureIds.Add(flowCaptureReference.
Id
);
Compilation\OperationTreeVerifier.cs (1)
1003
LogString($": {operation.
Id
.Value}");
Microsoft.CodeAnalysis.Workspaces (7)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\LValueFlowCaptureProvider.cs (3)
61
var captureKind = flowCaptureReference.Parent.IsAnyCompoundAssignment() || rvalueFlowCaptureIds.Contains(flowCaptureReference.
Id
)
64
lvalueFlowCaptureIdBuilder.Add(flowCaptureReference.
Id
, captureKind);
68
rvalueFlowCaptureIds.Add(flowCaptureReference.
Id
);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (4)
211
Debug.Assert(_currentAnalysisData.IsLValueFlowCapture(captureReference.
Id
));
213
OnLValueDereferenceFound(captureReference.
Id
);
285
if (_currentAnalysisData.IsLValueFlowCapture(operation.
Id
) &&
288
OnLValueDereferenceFound(operation.
Id
);