33 references to NotNullIfNotNull
Microsoft.CodeAnalysis.ResxSourceGenerator (33)
src\roslyn\src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (6)
139
[return:
NotNullIfNotNull
(parameterName: nameof(path))]
152
[return:
NotNullIfNotNull
(nameof(path))]
158
[return:
NotNullIfNotNull
(nameof(path))]
210
[return:
NotNullIfNotNull
(parameterName: nameof(path))]
216
[return:
NotNullIfNotNull
(parameterName: nameof(path))]
486
[return:
NotNullIfNotNull
(nameof(path))]
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\FileNameUtilities.cs (4)
82
[return:
NotNullIfNotNull
(parameterName: nameof(path))]
107
[return:
NotNullIfNotNull
(parameterName: nameof(path))]
140
[return:
NotNullIfNotNull
(parameterName: nameof(path))]
189
[return:
NotNullIfNotNull
(parameterName: nameof(path))]
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\InterlockedOperations.cs (1)
137
[return:
NotNullIfNotNull
(parameterName: nameof(initializedValue))]
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\StringExtensions.cs (3)
49
[return:
NotNullIfNotNull
(parameterName: nameof(shortName))]
57
[return:
NotNullIfNotNull
(parameterName: nameof(shortName))]
65
[return:
NotNullIfNotNull
(parameterName: nameof(shortName))]
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (2)
388
[return:
NotNullIfNotNull
(nameof(operation))]
460
[return:
NotNullIfNotNull
(nameof(value))]
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\FormattingExtensions.cs (2)
39
[return:
NotNullIfNotNull
(nameof(list1)),
NotNullIfNotNull
(nameof(list2))]
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFacts.cs (3)
258
[return:
NotNullIfNotNull
(nameof(node))]
414
[return:
NotNullIfNotNull
(nameof(node))]
484
[return:
NotNullIfNotNull
(nameof(node))]
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SyntaxFacts\ISyntaxFactsExtensions.cs (2)
285
[return:
NotNullIfNotNull
(nameof(node))]
297
[return:
NotNullIfNotNull
(nameof(node))]
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (1)
51
[return:
NotNullIfNotNull
(nameof(defaultValue))]
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ISymbolExtensions.cs (2)
359
[return:
NotNullIfNotNull
(parameterName: nameof(symbol))]
409
[return:
NotNullIfNotNull
(parameterName: nameof(symbol))]
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (7)
769
[return:
NotNullIfNotNull
(parameterName: nameof(symbol))]
803
[return:
NotNullIfNotNull
(parameterName: nameof(type))]
812
[return:
NotNullIfNotNull
(parameterName: nameof(type))]
821
[return:
NotNullIfNotNull
(parameterName: nameof(type))]
829
[return:
NotNullIfNotNull
(parameterName: nameof(type))]
866
[return:
NotNullIfNotNull
(parameterName: nameof(type))]
877
[return:
NotNullIfNotNull
(parameterName: nameof(type))]