1 implementation of WhenNull
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
5807
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)
2895
if (ITypeSymbolHelpers.IsBooleanType(coalesce.
WhenNull
.Type))
2913
VisitConditionalBranchCore(coalesce.
WhenNull
, ref dest, jumpIfTrue);
3044
var conversion = operation.
WhenNull
as IConversionOperation;
3087
VisitAndCapture(operation.
WhenNull
, resultCaptureId);
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (1)
IOperation\IOperationTests_IConversionExpression.cs (1)
381
return (IConversionOperation)((ICoalesceOperation)initializer).
WhenNull
;
Microsoft.CodeAnalysis.Features (1)
InitializeParameter\AbstractAddParameterCheckCodeRefactoringProvider.cs (1)
201
syntaxFacts.IsThrowExpression(coalesceExpression.
WhenNull
.Syntax))
Microsoft.CodeAnalysis.Test.Utilities (2)
Compilation\OperationTreeVerifier.cs (1)
1304
Visit(operation.
WhenNull
, "WhenNull");
Compilation\TestOperationVisitor.cs (1)
904
AssertEx.Equal(new[] { operation.Value, operation.
WhenNull
}, operation.ChildOperations);