11 references to UsedAsValue
Microsoft.CodeAnalysis.CSharp (11)
CodeGen\EmitExpression.cs (11)
99EmitAssignmentExpression((BoundAssignmentOperator)expression, used ? UseKind.UsedAsValue : UseKind.Unused); 103EmitCallExpression((BoundCall)expression, used ? UseKind.UsedAsValue : UseKind.Unused); 353EmitCalli((BoundFunctionPointerInvocation)expression, used ? UseKind.UsedAsValue : UseKind.Unused); 1718receiverUseKind = UseKind.UsedAsValue; 1726receiverUseKind = UseKind.UsedAsValue; 1753receiverUseKind = UseKind.UsedAsValue; 1767Debug.Assert(receiverUseKind == UseKind.UsedAsValue); 1777Debug.Assert(receiverUseKind == UseKind.UsedAsValue); 1786Debug.Assert(receiverUseKind == UseKind.UsedAsValue); 3181if (useKind == UseKind.UsedAsValue && assignment.IsRef) 4088if (useKind == UseKind.UsedAsValue && method.RefKind != RefKind.None)