32 references to Null
Microsoft.CodeAnalysis.CSharp (32)
Compiler\AnonymousTypeMethodBodySynthesizer.cs (2)
128
F.
Null
(manager.System_Object));
283
retExpression = F.StaticCall(manager.System_String, formatMethod, F.
Null
(formatMethod.Parameters[0].Type), format, F.ArrayOrEmpty(manager.System_Object, arguments));
Compiler\MethodBodySynthesizer.Lowered.cs (1)
87
F.
Null
(text.Type)),
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (2)
419
_F.
Null
(obj.Type)),
444
_F.If(_F.ObjectEqual(_F.Local(ex), _F.
Null
(ex.Type)), rethrow),
Lowering\AsyncRewriter\AsyncIteratorMethodToStateMachineRewriter.cs (2)
162
F.If(F.ObjectNotEqual(combinedTokens, F.
Null
(combinedTokensType)),
165
F.Assignment(combinedTokens, F.
Null
(combinedTokensType)))));
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (1)
571
condition: F.ObjectEqual(F.Local(criticalNotifyCompletedTemp), F.
Null
(criticalNotifyCompletedTemp.Type)),
Lowering\ClosureConversion\ClosureConversion.cs (1)
1724
_addedStatements.Add(F.Assignment(cache, F.
Null
(type)));
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (7)
369
var operand = _bound.
Null
(_bound.SpecialType(SpecialType.System_Object));
649
method.RequiresInstanceReceiver ? Visit(node.ReceiverOpt) : _bound.
Null
(ExpressionType),
738
return Convert(Constant(_bound.
Null
(_objectType)), _objectType, node.Type, false, node.ExplicitCastInCode);
759
var nullObject = _bound.
Null
(_objectType);
810
var receiver = node.FieldSymbol.IsStatic ? _bound.
Null
(ExpressionType) : Visit(node.ReceiverOpt);
821
operand = _bound.
Null
(_objectType);
1103
var receiver = node.PropertySymbol.IsStatic ? _bound.
Null
(ExpressionType) : Visit(node.ReceiverOpt);
Lowering\Instrumentation\CodeCoverageInstrumenter.cs (1)
294
_methodBodyFactory.
Null
(_payloadType));
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (2)
477
testExpression = _factory.ObjectNotEqual(output, _factory.
Null
(output.Type));
492
testExpression = _factory.ObjectNotEqual(output, _factory.
Null
(baseType));
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (1)
72
var storeNonEvent = _factory.StoreToTemp(_factory.Conditional(_factory.Not(isEvent), receiverAssignment, _factory.
Null
(receiverAssignment.Type), receiverAssignment.Type), out BoundAssignmentOperator nonEventStore);
Lowering\LocalRewriter\LocalRewriter_FixedStatement.cs (2)
39
cleanup[i] = _factory.Assignment(_factory.Local(pinnedTemp), _factory.
Null
(pinnedTemp.Type));
567
BoundExpression alternativeAssignment = factory.AssignmentExpression(factory.Local(localSymbol), factory.
Null
(localType));
Lowering\LocalRewriter\LoweredDynamicOperationFactory.cs (3)
248
_factory.
Null
(_factory.WellKnownArrayType(WellKnownType.System_Type)) :
283
_factory.
Null
(_factory.WellKnownArrayType(WellKnownType.System_Type)),
649
var nullCallSite = _factory.
Null
(callSiteField.Type);
Lowering\SpillSequenceSpiller.cs (1)
1254
_F.ObjectEqual(_F.Local(tmp), _F.
Null
(left.Type)),
Lowering\SyntheticBoundNodeFactory.cs (4)
675
return ObjectNotEqual(Convert(objectType, value, allowBoxingByRefLikeTypeParametersToObject: true),
Null
(objectType));
1209
return Throw(
Null
(Binder.GetWellKnownType(Compilation, Microsoft.CodeAnalysis.WellKnownType.System_Exception, Diagnostics, Syntax.Location)));
1503
return
Null
(type);
1789
return Binary(operatorKind, boolType, rewrittenExpr,
Null
(objectType));
Symbols\Synthesized\Records\SynthesizedRecordEqualityOperator.cs (1)
72
BoundExpression recordEquals = F.LogicalAnd(F.ObjectNotEqual(left, F.
Null
(F.SpecialType(SpecialType.System_Object))),
Symbols\Synthesized\Records\SynthesizedRecordEquals.cs (1)
94
retExpr = F.ObjectNotEqual(other, F.
Null
(F.SpecialType(SpecialType.System_Object)));