2 references to GetRefKind
Roslyn.Diagnostics.Analyzers (2)
AbstractDoNotCopyValue.cs (1)
1108else if (operation.GetRefKind(_context.OwningSymbol) == RefKind.None && Cache.IsNonCopyableType(returnedValue.Type))
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (1)
1037return returnOperation.GetRefKind(containingSymbol) switch