12 references to DisposePattern
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (12)
src\Analyzers\CSharp\Tests\ImplementInterface\ImplementInterfaceTests.cs (12)
6094{DisposePattern("protected virtual ", "C", "public void ")} 6144{DisposePattern("protected virtual ", "C", "void System.IDisposable.")} 6203{DisposePattern("protected virtual ", "C", "void System.IDisposable.", gcPrefix: "System.")} 6277{DisposePattern("protected virtual ", "C", "public void ")} 6309{DisposePattern("protected virtual ", "C", "void IDisposable.")} 7247{DisposePattern("protected virtual ", "Program", "public void ")} 7270{DisposePattern("protected virtual ", "Program", "void IDisposable.")} 7349{DisposePattern("private ", "Program", "void IDisposable.")} 7372{DisposePattern("protected virtual ", "Program", "public void ", disposeField: "disposedValue1")} 7394{DisposePattern("protected virtual ", "Program", "public void ", disposeField: "_disposedValue")} 7617{{DisposePattern("protected virtual ", "C", "public void ")}} 7670{{DisposePattern("protected virtual ", "C", "void IDisposable.")}}