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