1 write to OwningSymbol
ILLink.RoslynAnalyzer (1)
DataFlow\LocalDataFlowVisitor.cs (1)
70
OwningSymbol
= owningSymbol;
37 references to OwningSymbol
ILLink.RoslynAnalyzer (37)
DataFlow\LocalDataFlowVisitor.cs (21)
104
Debug.Assert(
OwningSymbol
is IMethodSymbol or IFieldSymbol or IPropertySymbol,
105
$"{
OwningSymbol
.GetType()}: {branchValueOperation.Syntax.GetLocation().GetLineSpan()}");
112
Debug.Assert(
OwningSymbol
is IMethodSymbol,
113
$"{
OwningSymbol
.GetType()}: {branchValueOperation.Syntax.GetLocation().GetLineSpan()}");
197
=> ProcessBinderCall(operation, operation.GetValueUsageInfo(
OwningSymbol
).HasFlag(ValueUsageInfo.Write) ? "SetMember" : "GetMember", state);
200
=> ProcessBinderCall(operation, operation.GetValueUsageInfo(
OwningSymbol
).HasFlag(ValueUsageInfo.Write) ? "SetIndex" : "GetIndex", state);
208
return !ReferenceEquals(local.ContainingSymbol,
OwningSymbol
);
287
(
OwningSymbol
is IPropertySymbol && (ControlFlowGraph.OriginalOperation is not IAttributeOperation)))
483
Debug.Assert(flowCaptureReference.GetValueUsageInfo(
OwningSymbol
).HasFlag(ValueUsageInfo.Write));
543
Debug.Assert(operation.GetValueUsageInfo(
OwningSymbol
).HasFlag(ValueUsageInfo.Read),
563
Debug.Assert(operation.GetValueUsageInfo(
OwningSymbol
).HasFlag(ValueUsageInfo.Write),
565
Debug.Assert(operation.GetValueUsageInfo(
OwningSymbol
).HasFlag(ValueUsageInfo.Reference),
570
if (operation.GetValueUsageInfo(
OwningSymbol
).HasFlag(ValueUsageInfo.Write))
703
if (operation.GetValueUsageInfo(
OwningSymbol
).HasFlag(ValueUsageInfo.Write))
735
Debug.Assert(operation.GetValueUsageInfo(
OwningSymbol
).HasFlag(ValueUsageInfo.Read));
736
if (!operation.GetValueUsageInfo(
OwningSymbol
).HasFlag(ValueUsageInfo.Read))
747
if (operation.GetValueUsageInfo(
OwningSymbol
).HasFlag(ValueUsageInfo.Write))
750
Debug.Assert(operation.GetValueUsageInfo(
OwningSymbol
).HasFlag(ValueUsageInfo.Reference));
770
if (!operation.GetValueUsageInfo(
OwningSymbol
).HasFlag(ValueUsageInfo.Read))
785
Debug.Assert(operation.GetValueUsageInfo(
OwningSymbol
).HasFlag(ValueUsageInfo.Read));
786
if (!operation.GetValueUsageInfo(
OwningSymbol
).HasFlag(ValueUsageInfo.Read))
TrimAnalysis\TrimAnalysisVisitor.cs (16)
154
if (
OwningSymbol
is IMethodSymbol method && !method.IsStatic)
235
new TrimAnalysisFieldAccessPattern(field, fieldReference,
OwningSymbol
, featureContext)
248
new TrimAnalysisBackingFieldAccessPattern(propertyReference.Property, propertyReference,
OwningSymbol
, featureContext)
259
return new MethodParameterValue(new ParameterProxy(parameter, parameter.ContainingSymbol as IMethodSymbol ?? (IMethodSymbol)
OwningSymbol
));
271
new TrimAnalysisAssignmentPattern(source, target, operation,
OwningSymbol
, featureContext));
339
HandleCall(_typeNameResolver, operation,
OwningSymbol
, calledMethod, instance, arguments, Location.None, null, _multiValueLattice, out MultiValue methodReturnValue);
347
OwningSymbol
,
393
Debug.Assert(
OwningSymbol
is IMethodSymbol);
394
if (
OwningSymbol
is not IMethodSymbol method)
402
new TrimAnalysisAssignmentPattern(returnValue, returnParameter, operation,
OwningSymbol
, featureContext));
409
Debug.Assert(
OwningSymbol
is IMethodSymbol);
410
if (
OwningSymbol
is not IMethodSymbol method)
434
OwningSymbol
,
456
OwningSymbol
,
473
OwningSymbol
,
488
OwningSymbol
,