9 references to RefReadOnlyParameter
Roslyn.Diagnostics.Analyzers (9)
AbstractDoNotCopyValue.cs (9)
577
case RefKind.Ref or RefKind.RefReadOnly or RefKindEx.
RefReadOnlyParameter
when operation.Conversion.IsIdentity:
865
&& Acquire(instance) is RefKind.In or RefKindEx.
RefReadOnlyParameter
)
1032
&& Acquire(instance) is RefKind.In or RefKindEx.
RefReadOnlyParameter
)
1356
(RefKind.Ref, RefKind.Ref or RefKind.RefReadOnly or RefKindEx.
RefReadOnlyParameter
) => true,
1357
(RefKind.RefReadOnly or RefKindEx.
RefReadOnlyParameter
, RefKind.RefReadOnly or RefKindEx.
RefReadOnlyParameter
) => true,
1425
return parameter.RefKind is RefKind.In or RefKindEx.
RefReadOnlyParameter
? parameter.RefKind : RefKind.Ref;
1454
(RefKind.RefReadOnly or RefKindEx.
RefReadOnlyParameter
, _) => RefKind.RefReadOnly,
1455
(_, RefKind.RefReadOnly or RefKindEx.
RefReadOnlyParameter
) => RefKind.RefReadOnly,