1 write to PatternDisposeInfo
Microsoft.CodeAnalysis.CSharp (1)
Binder\ForEachLoopBinder.cs (1)
1236builder.PatternDisposeInfo = new MethodArgumentInfo(patternDisposeMethod, argsBuilder.ToImmutableAndFree(), defaultArguments, expanded);
4 references to PatternDisposeInfo
Microsoft.CodeAnalysis.CSharp (4)
Binder\ForEachEnumeratorInfo.cs (2)
146PatternDisposeInfo, 165if (this.NeedsDisposal && this.PatternDisposeInfo?.Method is null &&
Binder\ForEachLoopBinder.cs (2)
615var awaitableType = builder.PatternDisposeInfo is null 617: builder.PatternDisposeInfo.Method.ReturnType;