Base:
method
Visit
Microsoft.CodeAnalysis.Operations.OperationVisitor<TArgument, TResult>.Visit(Microsoft.CodeAnalysis.IOperation, TArgument)
45 references to Visit
ILLink.RoslynAnalyzer (45)
DataFlow\LocalDataFlowVisitor.cs (40)
83Visit(operation, state); 90var branchValue = Visit(branchValueOperation, state); 270TValue value = Visit(valueOperation, state); 282TValue instanceValue = Visit(propertyRef.Instance, state); 283TValue value = Visit(valueOperation, state); 319arguments.Add(Visit(val, state)); 332Visit(eventRef.Instance, state); 333return Visit(valueOperation, state); 338TValue instanceValue = Visit(indexerRef.Instance, state); 339TValue indexArgumentValue = Visit(indexerRef.Argument, state); 340TValue value = Visit(valueOperation, state); 363TValue value = Visit(valueOperation, state); 371var value = Visit(valueOperation, state); 380TValue arrayRef = Visit(arrayElementRef.ArrayReference, state); 381TValue index = Visit(arrayElementRef.Indices[0], state); 382TValue value = Visit(valueOperation, state); 388TValue arrayRef = Visit(inlineArrayAccess.Instance, state); 389TValue index = Visit(inlineArrayAccess.Argument, state); 390TValue value = Visit(valueOperation, state); 412Visit(targetOperation, state); 422return Visit(valueOperation, state); 519TValue instanceValue = Visit(eventReference.Instance, state); 520TValue value = Visit(operation.HandlerValue, state); 629var value = Visit(capturedReference.Reference, state); 640capturedValue = Visit(operation.Value, state); 650Visit(operation.Operation, state); 659Visit(operation.Target, state); 715TValue instanceValue = Visit(operation.Instance, state); 727arguments.Add(Visit(val, state)); 739Visit(operation.Instance, state); 754TValue instanceValue = Visit(operation.Instance, state); 755TValue indexArgumentValue = Visit(operation.Argument, state); 780return HandleArrayElementRead(Visit(operation.ArrayReference, state), Visit(operation.Indices[0], state), operation); 789return HandleArrayElementRead(Visit(operation.Instance, state), Visit(operation.Argument, state), operation); 794return Visit(operation.Value, state); 801var value = Visit(operation.ReturnedValue, state); 812var operandValue = Visit(operation.Operand, state); 924TValue instanceValue = Visit(instance, state);
DataFlow\OperationWalker.cs (1)
17Visit(child, argument);
TrimAnalysis\TrimAnalysisVisitor.cs (4)
112var arrayValue = ArrayValue.Create(Visit(operation.DimensionSizes[0], state)); 113var elements = operation.Initializer?.ElementValues.Select(val => Visit(val, state)).ToArray() ?? System.Array.Empty<MultiValue>(); 197MultiValue leftValue = Visit(operation.LeftOperand, argument); 198MultiValue rightValue = Visit(operation.RightOperand, argument);