13 references to Assert
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (13)
src\Compilers\Core\Portable\CaseInsensitiveComparison.cs (1)
359
RoslynDebug.
Assert
(value != null);
src\Compilers\Core\Portable\FileSystem\FileUtilities.cs (2)
49
RoslynDebug.
Assert
(searchPaths != null);
50
RoslynDebug.
Assert
(fileExists != null);
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (2)
438
RoslynDebug.
Assert
(!RoslynString.IsNullOrEmpty(root));
495
RoslynDebug.
Assert
(assemblyDisplayNameOrPath != null);
src\Compilers\Core\Portable\InternalUtilities\ArrayExtensions.cs (1)
158
RoslynDebug.
Assert
(comparer != null);
src\Compilers\Core\Portable\InternalUtilities\ConsList`1.cs (1)
111
RoslynDebug.
Assert
(_tail is object);
src\Compilers\Core\Portable\InternalUtilities\EnumerableExtensions.cs (1)
836
RoslynDebug.
Assert
(comparer != null);
src\Compilers\Core\Portable\InternalUtilities\EnumField.cs (1)
23
RoslynDebug.
Assert
(name != null);
src\Compilers\Core\Portable\InternalUtilities\InterlockedOperations.cs (1)
121
RoslynDebug.
Assert
((object?)value != null);
src\Compilers\Core\Portable\InternalUtilities\JsonWriter.cs (2)
280
RoslynDebug.
Assert
(pooledBuilder == null);
319
RoslynDebug.
Assert
(pooledBuilder is object);
src\Compilers\Core\Portable\InternalUtilities\MultiDictionary.cs (1)
196
RoslynDebug.
Assert
(_value is V); // Implies value != null