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