1 implementation of Id
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
8875public 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)
1688captureId != ((IFlowCaptureReferenceOperation)result).Id.Value) 1879idsStillOnTheStack.Add(reference.Id); 1886idsStillOnTheStack.Add(reference.Id); 7150GetCaptureReference(reference.Id.Value, operation) :
Microsoft.CodeAnalysis.CodeStyle (7)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\LValueFlowCaptureProvider.cs (3)
61var captureKind = flowCaptureReference.Parent.IsAnyCompoundAssignment() || rvalueFlowCaptureIds.Contains(flowCaptureReference.Id) 64lvalueFlowCaptureIdBuilder.Add(flowCaptureReference.Id, captureKind); 68rvalueFlowCaptureIds.Add(flowCaptureReference.Id);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (4)
211Debug.Assert(_currentAnalysisData.IsLValueFlowCapture(captureReference.Id)); 213OnLValueDereferenceFound(captureReference.Id); 285if (_currentAnalysisData.IsLValueFlowCapture(operation.Id) && 288OnLValueDereferenceFound(operation.Id);
Microsoft.CodeAnalysis.Test.Utilities (6)
Compilation\ControlFlowGraphVerifier.cs (5)
497referencedInLastOperation.Add(reference.Id); 522IFlowCaptureReferenceOperation[] referencesAfter = getFlowCaptureReferenceOperationsInRegion(region, block.Ordinal + 1).Where(r => r.Id.Equals(id)).ToArray(); 775CaptureId id = reference.Id; 1018return isCaptureFromEnclosingGraph(reference.Id); 1748referencedCaptureIds.Add(flowCaptureReference.Id);
Compilation\OperationTreeVerifier.cs (1)
1003LogString($": {operation.Id.Value}");
Microsoft.CodeAnalysis.Workspaces (7)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\LValueFlowCaptureProvider.cs (3)
61var captureKind = flowCaptureReference.Parent.IsAnyCompoundAssignment() || rvalueFlowCaptureIds.Contains(flowCaptureReference.Id) 64lvalueFlowCaptureIdBuilder.Add(flowCaptureReference.Id, captureKind); 68rvalueFlowCaptureIds.Add(flowCaptureReference.Id);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (4)
211Debug.Assert(_currentAnalysisData.IsLValueFlowCapture(captureReference.Id)); 213OnLValueDereferenceFound(captureReference.Id); 285if (_currentAnalysisData.IsLValueFlowCapture(operation.Id) && 288OnLValueDereferenceFound(operation.Id);