17 references to Acquire
Roslyn.Diagnostics.Analyzers (16)
AbstractDoNotCopyValue.cs (16)
401var sourceRefKind = Acquire(operation.Value); 503if (!operation.IsRef && Acquire(operation) != RefKind.None) 574switch (Acquire(operation.Operand)) 865&& Acquire(instance) is RefKind.In or RefKindEx.RefReadOnlyParameter) 1024if (Acquire(operation) != RefKind.None) 1032&& Acquire(instance) is RefKind.In or RefKindEx.RefReadOnlyParameter) 1098if (returnedValue is not null && Acquire(returnedValue) != RefKind.None) 1125var sourceRefKind = Acquire(value); 1266if (Acquire(resource) != RefKind.None) 1285var sourceRefKind = Acquire(operation.Initializer?.Value); 1311var sourceRefKind = Acquire(operation.Initializer?.Value); 1378var awaited => Acquire(awaited), 1383return CombineRestrictions(Acquire(conditional.WhenTrue ?? conditional.Condition), Acquire(conditional.WhenFalse)); 1389null => Acquire(conversion.Operand), 1428return Acquire(((IParenthesizedOperation)operation).Operand);
Roslyn.Diagnostics.CSharp.Analyzers (1)
CSharpDoNotCopyValue.cs (1)
43&& Acquire(instance) == RefKind.In)