13 references to ClosureKind
Microsoft.CodeAnalysis.VisualBasic (13)
Lowering\LambdaRewriter\LambdaRewriter.vb (10)
1014
Private Function GetLambdaId(syntax As SyntaxNode, closureKind As
ClosureKind
, closureOrdinal As Integer, closureRudeEdit As RuntimeRudeEdit?) As DebugId
1087
Dim closureKind As
ClosureKind
1092
closureKind =
ClosureKind
.General
1097
closureKind =
ClosureKind
.Static
1102
closureKind =
ClosureKind
.ThisOnly
1136
If closureKind =
ClosureKind
.Static Then
1178
If closureKind <>
ClosureKind
.Static Then
1209
(closureKind =
ClosureKind
.Static AndAlso CurrentMethod.MethodKind <> MethodKind.SharedConstructor AndAlso Not referencedMethod.IsGenericMethod)
1225
If(closureKind =
ClosureKind
.General, -1, topLevelMethodId.Ordinal),
1237
isShared:=(closureKind =
ClosureKind
.Static))
Lowering\LambdaRewriter\SynthesizedLambdaMethod.vb (3)
50
closureKind As
ClosureKind
,
93
closureKind As
ClosureKind
,
100
If(closureKind =
ClosureKind
.General, -1, topLevelMethodId.Ordinal),