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