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