NAnt SDK Documentation - v0.92 |

# CopyTask.FileOperation.SourceEqualsTarget Method

Checks to see whether or not the full path of SourceInfo matches the full path of TargetInfo.

[Visual Basic]
Public Function SourceEqualsTarget() As Boolean
[C#]
public bool SourceEqualsTarget();

#### Return Value

`true` if both paths match; otherwise `false`.

#### Remarks

Comparer is used to check path equality.

#### See Also

CopyTask.FileOperation Class | NAnt.Core.Tasks Namespace