1 write to OwningSymbol
ILLink.RoslynAnalyzer (1)
DataFlow\LocalDataFlowVisitor.cs (1)
70
OwningSymbol
= owningSymbol;
36 references to OwningSymbol
ILLink.RoslynAnalyzer (36)
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);
210
return !ReferenceEquals(local.ContainingSymbol,
OwningSymbol
);
273
(
OwningSymbol
is IPropertySymbol && (ControlFlowGraph.OriginalOperation is not IAttributeOperation)))
422
Debug.Assert(flowCaptureReference.GetValueUsageInfo(
OwningSymbol
).HasFlag(ValueUsageInfo.Write));
482
Debug.Assert(operation.GetValueUsageInfo(
OwningSymbol
).HasFlag(ValueUsageInfo.Read),
502
Debug.Assert(operation.GetValueUsageInfo(
OwningSymbol
).HasFlag(ValueUsageInfo.Write),
504
Debug.Assert(operation.GetValueUsageInfo(
OwningSymbol
).HasFlag(ValueUsageInfo.Reference),
509
if (operation.GetValueUsageInfo(
OwningSymbol
).HasFlag(ValueUsageInfo.Write))
642
if (operation.GetValueUsageInfo(
OwningSymbol
).HasFlag(ValueUsageInfo.Write))
668
Debug.Assert(operation.GetValueUsageInfo(
OwningSymbol
).HasFlag(ValueUsageInfo.Read));
669
if (!operation.GetValueUsageInfo(
OwningSymbol
).HasFlag(ValueUsageInfo.Read))
680
if (operation.GetValueUsageInfo(
OwningSymbol
).HasFlag(ValueUsageInfo.Write))
683
Debug.Assert(operation.GetValueUsageInfo(
OwningSymbol
).HasFlag(ValueUsageInfo.Reference));
703
if (!operation.GetValueUsageInfo(
OwningSymbol
).HasFlag(ValueUsageInfo.Read))
718
Debug.Assert(operation.GetValueUsageInfo(
OwningSymbol
).HasFlag(ValueUsageInfo.Read));
719
if (!operation.GetValueUsageInfo(
OwningSymbol
).HasFlag(ValueUsageInfo.Read))
TrimAnalysis\TrimAnalysisVisitor.cs (15)
151
if (
OwningSymbol
is IMethodSymbol method && !method.IsStatic)
232
new TrimAnalysisFieldAccessPattern(field, fieldReference,
OwningSymbol
, featureContext)
245
new TrimAnalysisBackingFieldAccessPattern(propertyReference.Property, propertyReference,
OwningSymbol
, featureContext)
266
new TrimAnalysisAssignmentPattern(source, target, operation,
OwningSymbol
, featureContext));
334
HandleCall(operation,
OwningSymbol
, calledMethod, instance, arguments, Location.None, null, _multiValueLattice, out MultiValue methodReturnValue);
342
OwningSymbol
,
387
Debug.Assert(
OwningSymbol
is IMethodSymbol);
388
if (
OwningSymbol
is not IMethodSymbol method)
396
new TrimAnalysisAssignmentPattern(returnValue, returnParameter, operation,
OwningSymbol
, featureContext));
403
Debug.Assert(
OwningSymbol
is IMethodSymbol);
404
if (
OwningSymbol
is not IMethodSymbol method)
428
OwningSymbol
,
450
OwningSymbol
,
467
OwningSymbol
,
482
OwningSymbol
,