32 references to Null
Microsoft.CodeAnalysis.CSharp (32)
Compiler\AnonymousTypeMethodBodySynthesizer.cs (2)
128F.Null(manager.System_Object)); 283retExpression = F.StaticCall(manager.System_String, formatMethod, F.Null(formatMethod.Parameters[0].Type), format, F.ArrayOrEmpty(manager.System_Object, arguments));
Compiler\MethodBodySynthesizer.Lowered.cs (1)
87F.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)
173F.If(F.ObjectNotEqual(combinedTokens, F.Null(combinedTokensType)), 176F.Assignment(combinedTokens, F.Null(combinedTokensType)))));
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (1)
574condition: 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)
369var operand = _bound.Null(_bound.SpecialType(SpecialType.System_Object)); 649method.RequiresInstanceReceiver ? Visit(node.ReceiverOpt) : _bound.Null(ExpressionType), 738return Convert(Constant(_bound.Null(_objectType)), _objectType, node.Type, false, node.ExplicitCastInCode); 759var nullObject = _bound.Null(_objectType); 810var receiver = node.FieldSymbol.IsStatic ? _bound.Null(ExpressionType) : Visit(node.ReceiverOpt); 821operand = _bound.Null(_objectType); 1103var 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)
477testExpression = _factory.ObjectNotEqual(output, _factory.Null(output.Type)); 492testExpression = _factory.ObjectNotEqual(output, _factory.Null(baseType));
Lowering\LocalRewriter\LocalRewriter_CompoundAssignmentOperator.cs (1)
72var storeNonEvent = _factory.StoreToTemp(_factory.Conditional(_factory.Not(isEvent), receiverAssignment, _factory.Null(receiverAssignment.Type), receiverAssignment.Type), out BoundAssignmentOperator nonEventStore);
Lowering\LocalRewriter\LocalRewriter_FixedStatement.cs (2)
39cleanup[i] = _factory.Assignment(_factory.Local(pinnedTemp), _factory.Null(pinnedTemp.Type)); 567BoundExpression 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)), 649var nullCallSite = _factory.Null(callSiteField.Type);
Lowering\SpillSequenceSpiller.cs (1)
1254_F.ObjectEqual(_F.Local(tmp), _F.Null(left.Type)),
Lowering\SyntheticBoundNodeFactory.cs (4)
675return ObjectNotEqual(Convert(objectType, value, allowBoxingByRefLikeTypeParametersToObject: true), Null(objectType)); 1209return Throw(Null(Binder.GetWellKnownType(Compilation, Microsoft.CodeAnalysis.WellKnownType.System_Exception, Diagnostics, Syntax.Location))); 1503return Null(type); 1789return Binary(operatorKind, boolType, rewrittenExpr, Null(objectType));
Symbols\Synthesized\Records\SynthesizedRecordEqualityOperator.cs (1)
72BoundExpression recordEquals = F.LogicalAnd(F.ObjectNotEqual(left, F.Null(F.SpecialType(SpecialType.System_Object))),
Symbols\Synthesized\Records\SynthesizedRecordEquals.cs (1)
94retExpr = F.ObjectNotEqual(other, F.Null(F.SpecialType(SpecialType.System_Object)));