1 write to OwningSymbol
ILLink.RoslynAnalyzer (1)
DataFlow\LocalDataFlowVisitor.cs (1)
70
OwningSymbol
= owningSymbol;
34 references to OwningSymbol
ILLink.RoslynAnalyzer (34)
DataFlow\LocalDataFlowVisitor.cs (21)
103
Debug.Assert (
OwningSymbol
is IMethodSymbol or IFieldSymbol or IPropertySymbol,
104
$"{
OwningSymbol
.GetType ()}: {branchValueOperation.Syntax.GetLocation ().GetLineSpan ()}");
111
Debug.Assert (
OwningSymbol
is IMethodSymbol,
112
$"{
OwningSymbol
.GetType ()}: {branchValueOperation.Syntax.GetLocation ().GetLineSpan ()}");
193
=> ProcessBinderCall (operation, operation.GetValueUsageInfo (
OwningSymbol
).HasFlag (ValueUsageInfo.Write) ? "SetMember" : "GetMember", state);
196
=> ProcessBinderCall (operation, operation.GetValueUsageInfo (
OwningSymbol
).HasFlag (ValueUsageInfo.Write) ? "SetIndex" : "GetIndex", state);
206
return !ReferenceEquals (local.ContainingSymbol,
OwningSymbol
);
273
if (
OwningSymbol
is IPropertySymbol && (ControlFlowGraph.OriginalOperation is not IAttributeOperation))
398
Debug.Assert (flowCaptureReference.GetValueUsageInfo (
OwningSymbol
).HasFlag (ValueUsageInfo.Write));
453
Debug.Assert (operation.GetValueUsageInfo (
OwningSymbol
).HasFlag (ValueUsageInfo.Read),
472
Debug.Assert (operation.GetValueUsageInfo (
OwningSymbol
).HasFlag (ValueUsageInfo.Write),
474
Debug.Assert (operation.GetValueUsageInfo (
OwningSymbol
).HasFlag (ValueUsageInfo.Reference),
479
if (operation.GetValueUsageInfo (
OwningSymbol
).HasFlag (ValueUsageInfo.Write)) {
599
if (operation.GetValueUsageInfo (
OwningSymbol
).HasFlag (ValueUsageInfo.Write)) {
624
Debug.Assert (operation.GetValueUsageInfo (
OwningSymbol
).HasFlag (ValueUsageInfo.Read));
625
if (!operation.GetValueUsageInfo (
OwningSymbol
).HasFlag (ValueUsageInfo.Read))
636
if (operation.GetValueUsageInfo (
OwningSymbol
).HasFlag (ValueUsageInfo.Write)) {
638
Debug.Assert (operation.GetValueUsageInfo (
OwningSymbol
).HasFlag (ValueUsageInfo.Reference));
657
if (!operation.GetValueUsageInfo (
OwningSymbol
).HasFlag (ValueUsageInfo.Read))
672
Debug.Assert (operation.GetValueUsageInfo (
OwningSymbol
).HasFlag (ValueUsageInfo.Read));
673
if (!operation.GetValueUsageInfo (
OwningSymbol
).HasFlag (ValueUsageInfo.Read))
TrimAnalysis\TrimAnalysisVisitor.cs (13)
149
if (
OwningSymbol
is IMethodSymbol method && !method.IsStatic)
221
new TrimAnalysisFieldAccessPattern (field, fieldReferenceOperation,
OwningSymbol
, featureContext)
241
new TrimAnalysisAssignmentPattern (source, target, operation,
OwningSymbol
, featureContext));
294
HandleCall (operation,
OwningSymbol
, calledMethod, instance, arguments, Location.None, null, _multiValueLattice, out MultiValue methodReturnValue);
302
OwningSymbol
,
343
Debug.Assert (
OwningSymbol
is IMethodSymbol);
344
if (
OwningSymbol
is not IMethodSymbol method)
351
new TrimAnalysisAssignmentPattern (returnValue, returnParameter, operation,
OwningSymbol
, featureContext));
358
Debug.Assert (
OwningSymbol
is IMethodSymbol);
359
if (
OwningSymbol
is not IMethodSymbol method)
383
OwningSymbol
,
404
OwningSymbol
,
420
OwningSymbol
,