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