23 references to Assert
Roslyn.Diagnostics.Analyzers (23)
AbstractRunIterations`1.cs (1)
31
RoslynDebug.
Assert
(semanticModel is not null);
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
97
RoslynDebug.
Assert
(_enablingMethodAttributeFullyQualifiedName != null);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\DiagnosticExtensions.cs (1)
249
RoslynDebug.
Assert
(s_syntaxTreeDiagnosticOptionsProperty != null);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (2)
452
RoslynDebug.
Assert
(operation.SemanticModel is not null);
897
RoslynDebug.
Assert
(argument.Parameter is not null);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ITypeSymbolExtensions.cs (3)
384
RoslynDebug.
Assert
(iCollection != null);
385
RoslynDebug.
Assert
(iCollectionOfT != null);
386
RoslynDebug.
Assert
(iReadOnlyCollectionOfT != null);
src\RoslynAnalyzers\Utilities\Compiler\Options\AnalyzerOptionsExtensions.cs (2)
500
RoslynDebug.
Assert
(optionDefaultValue != null);
510
RoslynDebug.
Assert
(optionValue != null);
src\RoslynAnalyzers\Utilities\Compiler\Options\SyntaxTreeCategorizedAnalyzerConfigOptions.cs (1)
72
RoslynDebug.
Assert
(_analyzerConfigOptions != null);
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (7)
315
RoslynDebug.
Assert
(_root is object);
485
RoslynDebug.
Assert
(unbalanced.Right is object);
497
RoslynDebug.
Assert
(unbalanced.Left is object);
509
RoslynDebug.
Assert
(unbalanced.Right is object);
510
RoslynDebug.
Assert
(unbalanced.Right.Left is object);
537
RoslynDebug.
Assert
(unbalanced.Left != null);
538
RoslynDebug.
Assert
(unbalanced.Left.Right != null);
src\RoslynAnalyzers\Utilities\Compiler\SymbolByDisplayStringComparer.cs (2)
51
RoslynDebug.
Assert
(x != null);
52
RoslynDebug.
Assert
(y != null);
src\RoslynAnalyzers\Utilities\Compiler\WellKnownTypeProvider.cs (2)
141
RoslynDebug.
Assert
(namespaceNames != null);
215
RoslynDebug.
Assert
(namespaceNamesBuilder != null);
src\RoslynAnalyzers\Utilities\Refactoring\Extensions\TextLineExtensions.cs (1)
17
RoslynDebug.
Assert
(text is object);