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