1 write to Cache
Roslyn.Diagnostics.Analyzers (1)
AbstractDoNotCopyValue.cs (1)
367
Cache
= cache;
11 references to Cache
Roslyn.Diagnostics.Analyzers (10)
AbstractDoNotCopyValue.cs (10)
863
&&
Cache
.IsNonCopyableType(operation.TargetMethod.ReceiverType)
1031
&&
Cache
.IsNonCopyableType(operation.Property.ContainingType)
1108
else if (operation.GetRefKind(_context.OwningSymbol) == RefKind.None &&
Cache
.IsNonCopyableType(returnedValue.Type))
1126
if (
Cache
.IsNonCopyableType(value.Type)
1286
if (
Cache
.IsNonCopyableType(symbol.Type)
1313
&&
Cache
.IsNonCopyableType(operation.Symbol.Type)
1376
when SymbolEqualityComparer.Default.Equals(taskType,
Cache
.ValueTaskT) || SymbolEqualityComparer.Default.Equals(taskType,
Cache
.ConfiguredValueTaskAwaitableT)
1568
if (
Cache
.IsNonCopyableType(nullableUnderlyingType))
1654
if (!
Cache
.IsNonCopyableType(symbol))
Roslyn.Diagnostics.CSharp.Analyzers (1)
CSharpDoNotCopyValue.cs (1)
41
&&
Cache
.IsNonCopyableType(getEnumeratorMethod.ReceiverType)