44 references to AssertNotNull
Microsoft.CodeAnalysis.Workspaces (44)
Diagnostics\Extensions.cs (1)
382RoslynDebug.AssertNotNull(compilationWithAnalyzers.HostCompilationWithAnalyzers);
Serialization\SerializableSourceText.cs (1)
161RoslynDebug.AssertNotNull(_text);
Shared\Extensions\SafeHandleExtensions.cs (1)
28RoslynDebug.AssertNotNull(handle);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Collections\MutableIntervalTree`1.Node.cs (6)
72RoslynDebug.AssertNotNull(Left); 92RoslynDebug.AssertNotNull(Right); 111RoslynDebug.AssertNotNull(Right); 112RoslynDebug.AssertNotNull(Right.Left); 135RoslynDebug.AssertNotNull(Left); 136RoslynDebug.AssertNotNull(Left.Right);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EditorConfig\Parsing\Sections\Section.cs (1)
40RoslynDebug.AssertNotNull(containingDirectory);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedDiagnostic.cs (1)
27RoslynDebug.AssertNotNull(message);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedSeparatedSyntaxNodeList.cs (1)
69RoslynDebug.AssertNotNull(nodeOrToken.Node);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ListExtensions.cs (6)
28RoslynDebug.AssertNotNull(list); 29RoslynDebug.AssertNotNull(transform); 47RoslynDebug.AssertNotNull(list); 48RoslynDebug.AssertNotNull(transform); 66RoslynDebug.AssertNotNull(list); 67RoslynDebug.AssertNotNull(transform);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (2)
356RoslynDebug.AssertNotNull(operationBlock); 357RoslynDebug.AssertNotNull(predicate);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\BottomUpBaseIndentationFinder.cs (1)
155RoslynDebug.AssertNotNull(baseToken.SyntaxTree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Rules\BaseIndentationFormattingRule.cs (1)
171RoslynDebug.AssertNotNull(tree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Log\Logger.LogBlock.cs (1)
63RoslynDebug.AssertNotNull(_logMessage);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AbstractSpeculationAnalyzer.cs (19)
144RoslynDebug.AssertNotNull(_lazySemanticRootOfOriginalExpression); 218RoslynDebug.AssertNotNull(_lazyReplacedExpression); 260RoslynDebug.AssertNotNull(originalExpression); 262RoslynDebug.AssertNotNull(newExpression); 284RoslynDebug.AssertNotNull(originalExpression); 286RoslynDebug.AssertNotNull(newExpression); 296RoslynDebug.AssertNotNull(originalExpression); 298RoslynDebug.AssertNotNull(newExpression); 306RoslynDebug.AssertNotNull(originalExpression); 308RoslynDebug.AssertNotNull(newExpression); 310RoslynDebug.AssertNotNull(originalTargetType); 311RoslynDebug.AssertNotNull(newTargetType); 318RoslynDebug.AssertNotNull(originalNode); 320RoslynDebug.AssertNotNull(newNode); 543RoslynDebug.AssertNotNull(currentOriginalNode.Parent); 544RoslynDebug.AssertNotNull(currentReplacedNode.Parent); 627RoslynDebug.AssertNotNull(originalExpression); 629RoslynDebug.AssertNotNull(newExpression); 1125RoslynDebug.AssertNotNull(parameter1);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\AsyncLazy`1.cs (1)
580RoslynDebug.AssertNotNull(task.Exception);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\NonReentrantLock.cs (1)
226RoslynDebug.AssertNotNull(obj);