13 references to ClosureKind
Microsoft.CodeAnalysis.VisualBasic (13)
Lowering\LambdaRewriter\LambdaRewriter.vb (10)
978Private Function GetLambdaId(syntax As SyntaxNode, closureKind As ClosureKind, closureOrdinal As Integer) As DebugId 1042Dim closureKind As ClosureKind 1046closureKind = ClosureKind.General 1050closureKind = ClosureKind.Static 1054closureKind = ClosureKind.ThisOnly 1088If closureKind = ClosureKind.Static Then 1130If closureKind <> ClosureKind.Static Then 1161(closureKind = ClosureKind.Static AndAlso CurrentMethod.MethodKind <> MethodKind.SharedConstructor AndAlso Not referencedMethod.IsGenericMethod) 1177If(closureKind = ClosureKind.General, -1, topLevelMethodId.Ordinal), 1189isShared:=(closureKind = ClosureKind.Static))
Lowering\LambdaRewriter\SynthesizedLambdaMethod.vb (3)
50closureKind As ClosureKind, 93closureKind As ClosureKind, 100If(closureKind = ClosureKind.General, -1, topLevelMethodId.Ordinal),