1 write to NeedToDispose
Microsoft.CodeAnalysis.VisualBasic (1)
Binding\ForEachEnumeratorInfo.vb (1)
125
Me.
NeedToDispose
= needToDispose
3 references to NeedToDispose
Microsoft.CodeAnalysis.VisualBasic (3)
Binding\MemberSemanticModel.vb (1)
804
If(enumeratorInfo.
NeedToDispose
OrElse (originalCollection.Type IsNot Nothing AndAlso originalCollection.Type.IsArrayType()),
Lowering\LocalRewriter\LocalRewriter_ForEach.vb (2)
545
Dim needTryFinally As Boolean = enumeratorInfo.
NeedToDispose
AndAlso Not InsideValidUnstructuredExceptionHandlingOnErrorContext()
638
If enumeratorInfo.
NeedToDispose
Then