1 implementation of WhenNull
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
5847
public IOperation
WhenNull
{ get; }
9 references to WhenNull
Microsoft.CodeAnalysis (5)
Generated\Operations.Generated.cs (1)
1191
/// <item><description><see cref="
WhenNull
" />, which is the second operand that is conditionally evaluated and is the result of the operation if <see cref="Value" /> is null</description></item>
Operations\ControlFlowGraphBuilder.cs (4)
2905
if (ITypeSymbolHelpers.IsBooleanType(coalesce.
WhenNull
.Type))
2923
VisitConditionalBranchCore(coalesce.
WhenNull
, ref dest, jumpIfTrue);
3054
var conversion = operation.
WhenNull
as IConversionOperation;
3097
VisitAndCapture(operation.
WhenNull
, resultCaptureId);
Microsoft.CodeAnalysis.Features (1)
InitializeParameter\AbstractAddParameterCheckCodeRefactoringProvider.cs (1)
250
syntaxFacts.IsThrowExpression(coalesceExpression.
WhenNull
.Syntax))
Microsoft.CodeAnalysis.NetAnalyzers (3)
Microsoft.NetCore.Analyzers\Performance\AvoidPotentiallyExpensiveCallWhenLogging.cs (1)
174
GetExpenseReason(coalesceOperation.
WhenNull
);
Microsoft.NetCore.Analyzers\Performance\UseConcreteTypeAnalyzer.Collector.cs (1)
496
GetValueTypes(values, colOp.
WhenNull
);
Microsoft.NetCore.Analyzers\Runtime\AvoidRedundantRegexIsMatchBeforeMatch.cs (1)
380
?? FindMatchInExpression(coalesce.
WhenNull
, isMatchInvocation, regexType);