12 references to DisposePattern
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (12)
ImplementInterface\ImplementInterfaceTests.cs (12)
6062{DisposePattern("protected virtual ", "C", "public void ")}
6112{DisposePattern("protected virtual ", "C", "void System.IDisposable.")}
6171{DisposePattern("protected virtual ", "C", "void System.IDisposable.", gcPrefix: "System.")}
6245{DisposePattern("protected virtual ", "C", "public void ")}
6277{DisposePattern("protected virtual ", "C", "void IDisposable.")}
7215{DisposePattern("protected virtual ", "Program", "public void ")}
7238{DisposePattern("protected virtual ", "Program", "void IDisposable.")}
7317{DisposePattern("private ", "Program", "void IDisposable.")}
7340{DisposePattern("protected virtual ", "Program", "public void ", disposeField: "disposedValue1")}
7362{DisposePattern("protected virtual ", "Program", "public void ", disposeField: "_disposedValue")}
7564{DisposePattern("protected virtual ", "C", "public void ")}
7615{DisposePattern("protected virtual ", "C", "void IDisposable.")}