NDepend.API Documentation
WasRemoved(IAbsoluteFilePath) Method
NDepend.CodeModel Namespace > ICompareContext Interface > WasRemoved Method : WasRemoved(IAbsoluteFilePath) Method
The absolute source file path.
Returns true if the sourceFilePath has been removed since the baseline.
Syntax

Parameters

sourceFilePath
The absolute source file path.
Remarks
sourceFilePath can be obtained from ICodeElement.ICodeElement.SourceDecls , ISourceDecl.ISourceDecl.SourceFile.ISourceFile.FilePath.
The code element from which the sourceFilePath is obtained must be obtained from OlderCodeBase.
This method works even when the path is rebased, thanks to an heuristic.
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ICompareContext Interface
ICompareContext Members
Overload List
CodeWasChanged Method
WasRemoved(ICodeElement) Method
WasRemoved(IAbsoluteDirectoryPath) Method
WasChanged(IAbsoluteFilePath) Method
WasAdded(IAbsoluteFilePath) Method