ForEachStatementInfo.DisposeMethod Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the "Dispose" method (or "DisposeAsync" in an asynchronous foreach).
public:
property Microsoft::CodeAnalysis::IMethodSymbol ^ DisposeMethod { Microsoft::CodeAnalysis::IMethodSymbol ^ get(); };
public Microsoft.CodeAnalysis.IMethodSymbol DisposeMethod { get; }
public Microsoft.CodeAnalysis.IMethodSymbol? DisposeMethod { get; }
member this.DisposeMethod : Microsoft.CodeAnalysis.IMethodSymbol
Public ReadOnly Property DisposeMethod As IMethodSymbol