8 references to IsClosureOrStateMachineType
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ExpressionCompiler (8)
CompilationContext.vb (7)
267
If Not m.IsShared AndAlso (Not m.ContainingType.
IsClosureOrStateMachineType
() OrElse _displayClassVariables.ContainsKey(GeneratedNames.MakeStateMachineCapturedMeName())) Then
997
Dim isIteratorOrAsyncMethod = containingType.
IsClosureOrStateMachineType
() AndAlso containingType.IsStateMachineType()
1006
Debug.Assert(containingType.
IsClosureOrStateMachineType
())
1059
If method.ContainingType.
IsClosureOrStateMachineType
() Then
1390
While type.
IsClosureOrStateMachineType
()
1454
Debug.Assert(instance.Type.
IsClosureOrStateMachineType
() OrElse
1476
Debug.Assert(field.Type.
IsClosureOrStateMachineType
() OrElse
Rewriters\CapturedVariableRewriter.vb (1)
142
If symbol.Type.
IsClosureOrStateMachineType
() AndAlso