41 instantiations of NotNullIfNotNull
Microsoft.CodeAnalysis.CodeStyle (28)
AbstractSimplifyInterpolationHelpers.cs (1)
53
[return:
NotNullIfNotNull
(nameof(expression))]
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))]
FormattingExtensions.cs (2)
47
[return:
NotNullIfNotNull
(nameof(list1)),
NotNullIfNotNull
(nameof(list2))]
IDictionaryExtensions.cs (1)
39
[return:
NotNullIfNotNull
(nameof(defaultValue))]
ISymbolExtensions.cs (2)
293
[return:
NotNullIfNotNull
(parameterName: nameof(symbol))]
343
[return:
NotNullIfNotNull
(parameterName: nameof(symbol))]
ISyntaxFacts.cs (3)
256
[return:
NotNullIfNotNull
(nameof(node))]
407
[return:
NotNullIfNotNull
(nameof(node))]
477
[return:
NotNullIfNotNull
(nameof(node))]
ISyntaxFactsExtensions.cs (2)
287
[return:
NotNullIfNotNull
(nameof(node))]
299
[return:
NotNullIfNotNull
(nameof(node))]
ITypeSymbolExtensions.cs (1)
722
[return:
NotNullIfNotNull
(parameterName: nameof(symbol))]
J\s\src\Compilers\Core\Portable\InternalUtilities\StringExtensions.cs\StringExtensions.cs (3)
58
[return:
NotNullIfNotNull
(parameterName: nameof(shortName))]
66
[return:
NotNullIfNotNull
(parameterName: nameof(shortName))]
74
[return:
NotNullIfNotNull
(parameterName: nameof(shortName))]
OperationExtensions.cs (2)
379
[return:
NotNullIfNotNull
(nameof(operation))]
451
[return:
NotNullIfNotNull
(nameof(value))]
PathUtilities.cs (6)
113
[return:
NotNullIfNotNull
(parameterName: nameof(path))]
126
[return:
NotNullIfNotNull
(nameof(path))]
132
[return:
NotNullIfNotNull
(nameof(path))]
184
[return:
NotNullIfNotNull
(parameterName: nameof(path))]
190
[return:
NotNullIfNotNull
(parameterName: nameof(path))]
460
[return:
NotNullIfNotNull
(nameof(path))]
UseConditionalExpressionHelpers.cs (1)
58
[return:
NotNullIfNotNull
(nameof(statement))]
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
CodeGenerationHelpers.cs (1)
40
[return:
NotNullIfNotNull
(nameof(syntax))]
Microsoft.CodeAnalysis.CSharp.CodeStyle (8)
CSharpSyntaxFacts.cs (3)
170
[return:
NotNullIfNotNull
(nameof(node))]
690
[return:
NotNullIfNotNull
(nameof(node))]
1377
[return:
NotNullIfNotNull
(nameof(node))]
ExpressionSyntaxExtensions.cs (2)
18
[return:
NotNullIfNotNull
(nameof(expression))]
220
[return:
NotNullIfNotNull
(nameof(expression))]
SyntaxNodeExtensions.cs (1)
538
[return:
NotNullIfNotNull
(nameof(node))]
TriviaRewriter.cs (1)
150
[return:
NotNullIfNotNull
(nameof(node))]
TypeStyleHelper.cs (1)
192
[return:
NotNullIfNotNull
(nameof(symbol))]
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (4)
BasePropertyDeclarationSyntaxExtensions.cs (2)
32
[return:
NotNullIfNotNull
(nameof(node))]
50
[return:
NotNullIfNotNull
(nameof(node))]
CSharpAddImportsService.cs (1)
127
[return:
NotNullIfNotNull
(nameof(node))]
CSharpUseRangeOperatorCodeFixProvider.cs (1)
188
[return:
NotNullIfNotNull
(nameof(expr))]