9 references to UseKind
Microsoft.CodeAnalysis.VisualBasic (9)
CodeGen\EmitAddress.vb (1)
121
EmitCallExpression([call],
UseKind
.UsedAsAddress)
CodeGen\EmitExpression.vb (8)
81
EmitCallExpression(DirectCast(expression, BoundCall), If(used,
UseKind
.UsedAsValue,
UseKind
.Unused))
966
Private Sub EmitCallExpression([call] As BoundCall, useKind As
UseKind
)
1099
EmitPopIfUnused(useKind <>
UseKind
.Unused)
1101
Debug.Assert(useKind =
UseKind
.Unused, "Using the return value of a void method.")
1131
If useKind =
UseKind
.UsedAsValue AndAlso method.ReturnsByRef Then
1133
ElseIf useKind =
UseKind
.UsedAsAddress Then
1961
EmitCallExpression(left,
UseKind
.UsedAsAddress)