101 references to NotNull
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (12)
MapSourceRootTests.cs (2)
343AssertEx.NotNull(task.MappedSourceRoots); 448AssertEx.NotNull(task.MappedSourceRoots);
TargetTests.cs (10)
266AssertEx.NotNull(itemType); 270AssertEx.NotNull(metaName); 274AssertEx.NotNull(customMeta); 308AssertEx.NotNull(itemType); 312AssertEx.NotNull(metaName); 316AssertEx.NotNull(customMeta); 348AssertEx.NotNull(itemType); 352AssertEx.NotNull(metaName); 383AssertEx.NotNull(itemType); 387AssertEx.NotNull(metaName);
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (9)
PdbSourceDocument\PdbSourceDocumentTests.cs (6)
786AssertEx.NotNull(actualText); 787AssertEx.NotNull(actualText.Encoding); 815AssertEx.NotNull(actualText); 816AssertEx.NotNull(actualText.Encoding); 844AssertEx.NotNull(actualText); 845AssertEx.NotNull(actualText.Encoding);
QuickInfo\SemanticQuickInfoSourceTests.cs (3)
78AssertEx.NotNull(info); 115AssertEx.NotNull(info); 267AssertEx.NotNull(info);
Microsoft.CodeAnalysis.CSharp.EditorFeatures2.UnitTests (1)
Recommendations\RecommenderTests.cs (1)
98AssertEx.NotNull(result);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (7)
CodeGen\CodeGenMethodGroupConversionCachingTests.cs (7)
2074AssertEx.NotNull(container); 2135AssertEx.NotNull(container); 2192AssertEx.NotNull(container); 2198AssertEx.NotNull(m); 6309AssertEx.NotNull(field); 6359AssertEx.NotNull(container); 6372AssertEx.NotNull(containingType);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Symbols\RequiredMembersTests.cs (2)
5703AssertEx.NotNull(c); 5707AssertEx.NotNull(d);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (10)
EmbeddedLanguages\StackFrame\StackFrameParserTests.Utilities.cs (1)
39AssertEx.NotNull(tree);
EmbeddedLanguages\StackFrame\StackFrameSyntaxFactory.cs (1)
124AssertEx.NotNull(current);
Preview\PreviewWorkspaceTests.cs (1)
180AssertEx.NotNull(diffView);
StackTraceExplorer\StackTraceExplorerTests.cs (6)
30AssertEx.NotNull(stackFrame); 37AssertEx.NotNull(reparsedFrame); 43AssertEx.NotNull(definition); 54AssertEx.NotNull(expectedSymbol); 856AssertEx.NotNull(frame); 861AssertEx.NotNull(definition);
Utilities\StackFrameUtils.cs (1)
42AssertEx.NotNull(actual);
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (51)
CodeLens\AbstractCodeLensTests.cs (2)
32AssertEx.NotNull(actualCodeLenses); 42AssertEx.NotNull(resolvedCodeLens?.Command);
Diagnostics\AbstractPullDiagnosticTestsBase.cs (3)
96AssertEx.NotNull(diagnostics); 132AssertEx.NotNull(returnedResult); 250AssertEx.NotNull(diagnostics);
Diagnostics\PullDiagnosticTests.cs (12)
1297AssertEx.NotNull(results); 1311AssertEx.NotNull(results); 1368AssertEx.NotNull(results); 1386AssertEx.NotNull(results); 1437AssertEx.NotNull(results); 1453AssertEx.NotNull(results); 1500AssertEx.NotNull(results); 1516AssertEx.NotNull(results); 1555AssertEx.NotNull(results); 1571AssertEx.NotNull(results); 1611AssertEx.NotNull(results); 1627AssertEx.NotNull(results);
DocumentChanges\DocumentChangesTests.cs (4)
88AssertEx.NotNull(document); 206AssertEx.NotNull(document); 280AssertEx.NotNull(document); 318AssertEx.NotNull(document);
InlineCompletions\InlineCompletionsTests.cs (2)
280AssertEx.NotNull(result); 284AssertEx.NotNull(item.Range);
OnAutoInsert\OnAutoInsertTests.cs (1)
411AssertEx.NotNull(result);
SpellCheck\SpellCheckTests.cs (2)
574AssertEx.NotNull(spans); 595AssertEx.NotNull(spans);
VSTypeScriptHandlerTests.cs (1)
157AssertEx.NotNull(context.Document);
Workspaces\LspWorkspaceManagerTests.cs (24)
38AssertEx.NotNull(lspDocument); 44AssertEx.NotNull(lspDocument); 78AssertEx.NotNull(firstDocumentWithChange); 79AssertEx.NotNull(secondDocumentUnchanged); 112AssertEx.NotNull(openedDocument); 117AssertEx.NotNull(secondDocument); 140AssertEx.NotNull(openedDocument); 164AssertEx.NotNull(openedDocument); 189AssertEx.NotNull(lspDocument); 212AssertEx.NotNull(miscDocument); 219AssertEx.NotNull(miscDocument); 228AssertEx.NotNull(document); 275AssertEx.NotNull(hostSolution); 338AssertEx.NotNull(firstDocument); 343AssertEx.NotNull(secondDocument); 352AssertEx.NotNull(changedFirstDocument); 393AssertEx.NotNull(firstDocument); 398AssertEx.NotNull(secondDocument); 408AssertEx.NotNull(secondDocumentChangedProject); 448AssertEx.NotNull(documentServerTwo); 458AssertEx.NotNull(documentServerOne); 461AssertEx.NotNull(documentServerTwo); 478AssertEx.NotNull(lspDocument); 490AssertEx.NotNull(lspDocument);
Microsoft.CodeAnalysis.Rebuild.UnitTests (3)
CompilationOptionsReaderTests.cs (1)
35AssertEx.NotNull(originalPdbReader);
DeterministicKeyBuilderTests.cs (1)
96AssertEx.NotNull(compilation);
RebuildCommandLineTests.cs (1)
110AssertEx.NotNull(compilation);
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
UtilityTest\XmlDocumentationProviderTests.cs (1)
47AssertEx.NotNull(xml);
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (3)
DocumentOutline\DocumentOutlineTests.cs (3)
59AssertEx.NotNull(response.Value); 62AssertEx.NotNull(responseBody); 65AssertEx.NotNull(snapshot);
VBCSCompiler.UnitTests (2)
CompilerServerTests.cs (1)
244AssertEx.NotNull(bytes);
NamedPipeClientConnectionHostTests.cs (1)
137AssertEx.NotNull(stream);