15 references to Read
Microsoft.CodeAnalysis.CodeStyle (15)
src\Analyzers\Core\Analyzers\RemoveUnusedMembers\AbstractRemoveUnusedMembersDiagnosticAnalyzer.cs (7)
299
OnSymbolUsage(method, ValueUsageInfo.
Read
);
417
OnSymbolUsage(symbols.CurrentProperty, ValueUsageInfo.
Read
);
418
OnSymbolUsage(symbols.GetEnumeratorMethod, ValueUsageInfo.
Read
);
419
OnSymbolUsage(symbols.MoveNextMethod, ValueUsageInfo.
Read
);
428
OnSymbolUsage(targetMethod, ValueUsageInfo.
Read
);
433
OnSymbolUsage(targetMethod.ReducedFrom, ValueUsageInfo.
Read
);
465
OnSymbolUsage(constructor, ValueUsageInfo.
Read
);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (4)
173
return ValueUsageInfo.
Read
;
182
_ => ValueUsageInfo.
Read
,
194
return ValueUsageInfo.
Read
;
227
return ValueUsageInfo.
Read
;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ValueUsageInfo.cs (4)
46
ReadWrite =
Read
| Write,
52
ReadableReference =
Read
| Reference,
64
ReadableWritableReference =
Read
| Write | Reference
70
=> (valueUsageInfo & ValueUsageInfo.
Read
) != 0;