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