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