51 references to RoslynDebug
Microsoft.CodeAnalysis.Analyzers (51)
MetaAnalyzers\DiagnosticAnalyzerAttributeAnalyzer.cs (1)
129RoslynDebug.Assert(attributeSyntax != null);
MetaAnalyzers\DiagnosticDescriptorCreationAnalyzer.cs (13)
302RoslynDebug.Assert(localizableTitles != null); 303RoslynDebug.Assert(localizableMessages != null); 304RoslynDebug.Assert(localizableDescriptions != null); 305RoslynDebug.Assert(resourcesDataValueMap != null); 486RoslynDebug.Assert(shippedData != null); 487RoslynDebug.Assert(unshippedData != null); 495RoslynDebug.Assert(localizableTitles != null); 496RoslynDebug.Assert(localizableMessages != null); 497RoslynDebug.Assert(localizableDescriptions != null); 498RoslynDebug.Assert(resourcesDataValueMap != null); 817RoslynDebug.Assert(resourceDataValueMap != null); 1262RoslynDebug.Assert(shippedData != null); 1263RoslynDebug.Assert(unshippedData != null);
MetaAnalyzers\DiagnosticDescriptorCreationAnalyzer_IdRangeAndCategoryValidation.cs (6)
72RoslynDebug.Assert(!allowedIdsInfoList.IsDefaultOrEmpty); 73RoslynDebug.Assert(category != null); 74RoslynDebug.Assert(additionalText != null); 83RoslynDebug.Assert(allowedIds.prefix != null); 172RoslynDebug.Assert(categoryAndAllowedIdsInfoMap != null); 173RoslynDebug.Assert(additionalText != null);
MetaAnalyzers\DiagnosticDescriptorCreationAnalyzer_ReleaseTracking.cs (3)
196RoslynDebug.Assert(diagnostics != null); 210RoslynDebug.Assert(diagnostics != null); 211RoslynDebug.Assert(reportedInvalidLines != null);
MetaAnalyzers\Fixers\AnalyzerReleaseTrackingFix.cs (2)
129RoslynDebug.Assert(entryToAdd != null); 368RoslynDebug.Assert(currentTableKind.HasValue);
MetaAnalyzers\Fixers\DefineDiagnosticDescriptorArgumentsCorrectlyFix.cs (3)
160RoslynDebug.Assert(literal.ConstantValue.HasValue && literal.ConstantValue.Value is string); 169RoslynDebug.Assert(fixInfo.AdditionalDocumentToFix != null); 170RoslynDebug.Assert(fixInfo.AdditionalDocumentSpanToFix != null);
MetaAnalyzers\Fixers\DefineDiagnosticDescriptorArgumentsCorrectlyFix.CustomFixAllProvider.cs (1)
112RoslynDebug.Assert(additionalDocument != null);
MetaAnalyzers\ReleaseTrackingHelper.cs (1)
172RoslynDebug.Assert(currentRuleEntryKind != null);
src\RoslynAnalyzers\Utilities\Compiler\DoNotCatchGeneralUnlessRethrown.cs (1)
97RoslynDebug.Assert(_enablingMethodAttributeFullyQualifiedName != null);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\DiagnosticExtensions.cs (1)
249RoslynDebug.Assert(s_syntaxTreeDiagnosticOptionsProperty != null);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\IOperationExtensions.cs (2)
452RoslynDebug.Assert(operation.SemanticModel is not null); 897RoslynDebug.Assert(argument.Parameter is not null);
src\RoslynAnalyzers\Utilities\Compiler\Extensions\ITypeSymbolExtensions.cs (3)
384RoslynDebug.Assert(iCollection != null); 385RoslynDebug.Assert(iCollectionOfT != null); 386RoslynDebug.Assert(iReadOnlyCollectionOfT != null);
src\RoslynAnalyzers\Utilities\Compiler\Options\AnalyzerOptionsExtensions.cs (2)
500RoslynDebug.Assert(optionDefaultValue != null); 510RoslynDebug.Assert(optionValue != null);
src\RoslynAnalyzers\Utilities\Compiler\Options\SyntaxTreeCategorizedAnalyzerConfigOptions.cs (1)
72RoslynDebug.Assert(_analyzerConfigOptions != null);
src\RoslynAnalyzers\Utilities\Compiler\SmallDictionary.cs (7)
315RoslynDebug.Assert(_root is object); 485RoslynDebug.Assert(unbalanced.Right is object); 497RoslynDebug.Assert(unbalanced.Left is object); 509RoslynDebug.Assert(unbalanced.Right is object); 510RoslynDebug.Assert(unbalanced.Right.Left is object); 537RoslynDebug.Assert(unbalanced.Left != null); 538RoslynDebug.Assert(unbalanced.Left.Right != null);
src\RoslynAnalyzers\Utilities\Compiler\SymbolByDisplayStringComparer.cs (2)
51RoslynDebug.Assert(x != null); 52RoslynDebug.Assert(y != null);
src\RoslynAnalyzers\Utilities\Compiler\WellKnownTypeProvider.cs (2)
141RoslynDebug.Assert(namespaceNames != null); 215RoslynDebug.Assert(namespaceNamesBuilder != null);