1 write to PatternDisposeMethod
Microsoft.CodeAnalysis (1)
Operations\Loops\ForEachLoopOperationInfo.cs (1)
63PatternDisposeMethod = patternDisposeMethod;
5 references to PatternDisposeMethod
Microsoft.CodeAnalysis (2)
Operations\ControlFlowGraphBuilder.cs (2)
4461requiresRuntimeConversion: !info.KnownToImplementIDisposable && info.PatternDisposeMethod == null, 4463info.PatternDisposeMethod,
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (3)
IOperation\IOperationTests_IForEachLoopStatement.cs (3)
2817op.Info.PatternDisposeMethod.ToTestDisplayString()); 2949Assert.Equal("System.Threading.Tasks.ValueTask AsyncEnumerator.DisposeAsync([System.String s = null], [System.Int32 line = 0])", op.Info.PatternDisposeMethod.ToTestDisplayString()); 3038Assert.Null(op.Info.PatternDisposeMethod);