21 references to Assert
Microsoft.Build.Tasks.Git (21)
GitDataReader\GitConfig.Reader.cs (1)
65
NullableDebug.
Assert
(environment != null);
GitDataReader\GitIgnore.cs (3)
31
NullableDebug.
Assert
(PathUtils.IsPosixPath(containingDirectory));
32
NullableDebug.
Assert
(PathUtils.HasTrailingSlash(containingDirectory));
82
NullableDebug.
Assert
(PathUtils.IsAbsolute(workingDirectory));
GitDataReader\GitRepository.cs (6)
54
NullableDebug.
Assert
(PathUtils.IsNormalized(gitDirectory));
55
NullableDebug.
Assert
(PathUtils.IsNormalized(commonDirectory));
56
NullableDebug.
Assert
(workingDirectory == null || PathUtils.IsNormalized(workingDirectory));
114
NullableDebug.
Assert
(environment != null);
115
NullableDebug.
Assert
(location.GitDirectory != null);
116
NullableDebug.
Assert
(location.CommonDirectory != null);
GitDataReader\GitRepositoryLocation.cs (3)
28
NullableDebug.
Assert
(PathUtils.IsNormalized(gitDirectory));
29
NullableDebug.
Assert
(PathUtils.IsNormalized(commonDirectory));
30
NullableDebug.
Assert
(workingDirectory == null || PathUtils.IsNormalized(workingDirectory));
GitDataReader\GitSubmodule.cs (3)
36
NullableDebug.
Assert
(name != null);
37
NullableDebug.
Assert
(workingDirectoryRelativePath != null);
38
NullableDebug.
Assert
(workingDirectoryFullPath != null);
GitOperations.cs (4)
28
NullableDebug.
Assert
(repository.WorkingDirectory != null);
148
NullableDebug.
Assert
(repository.WorkingDirectory != null);
244
NullableDebug.
Assert
(repository.WorkingDirectory != null);
384
NullableDebug.
Assert
(repository.WorkingDirectory != null);
LocateRepository.cs (1)
59
NullableDebug.
Assert
(repository.WorkingDirectory != null);