7 references to Unused
Microsoft.CodeAnalysis.CSharp (7)
CodeGen\EmitExpression.cs (7)
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
);
2506
if (TryEmitAssignmentInPlace(assignmentOperator, useKind != UseKind.
Unused
))
3025
if (useKind != UseKind.
Unused
)
4048
EmitPopIfUnused(useKind != UseKind.
Unused
);
4054
Debug.Assert(useKind == UseKind.
Unused
, "Using the return value of a void method.");