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