23 references to ThrowIfNull
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (6)
Completion\CompletionProviders\OverrideCompletionProviderTests.cs (6)
2586Contract.ThrowIfNull(testDocument.CursorPosition); 3012Contract.ThrowIfNull(testDocument.CursorPosition); 3070Contract.ThrowIfNull(testDocument.CursorPosition); 3350Contract.ThrowIfNull(testDocument.CursorPosition); 3484Contract.ThrowIfNull(testDocument.CursorPosition); 3531Contract.ThrowIfNull(testDocument.CursorPosition);
Microsoft.CodeAnalysis.CSharp.Features (1)
StringIndentation\CSharpStringIndentationService.cs (1)
167Contract.ThrowIfNull(offsetOpt);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
Structure\AbstractSyntaxStructureProviderTests.cs (2)
45Contract.ThrowIfNull(hostDocument.CursorPosition); 66Contract.ThrowIfNull(hostDocument.CursorPosition);
Microsoft.CodeAnalysis.Features (7)
Completion\Providers\AbstractMemberInsertingCompletionProvider.cs (3)
89Contract.ThrowIfNull(lineStart); 162Contract.ThrowIfNull(startToken); 164Contract.ThrowIfNull(endToken);
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (1)
6487Contract.ThrowIfNull(primaryParameterMap);
EmbeddedLanguages\RegularExpressions\RegexParser.cs (1)
1705Contract.ThrowIfNull(number);
FindUsages\DefinitionItemFactory.cs (2)
158Contract.ThrowIfNull(info.ReferencedThrough); 211Contract.ThrowIfNull(info.ReferencedThrough);
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
InlineCompletions\TestSnippetInfoService.cs (1)
36Contract.ThrowIfNull(snippets);
Microsoft.CodeAnalysis.Remote.Workspaces (5)
EditAndContinue\ManagedHotReloadLanguageService.cs (5)
114Contract.ThrowIfNull(_debuggingSession); 143Contract.ThrowIfNull(_debuggingSession); 172Contract.ThrowIfNull(_debuggingSession); 194Contract.ThrowIfNull(_debuggingSession); 264Contract.ThrowIfNull(_debuggingSession);
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Indentation\IIndentationService.cs (1)
35Contract.ThrowIfNull(firstNonWhitespacePos);