6 references to NullOrDefault
Microsoft.CodeAnalysis.CSharp (6)
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (4)
280builder.Add(F.Assignment(F.Field(F.This(), hoistedLocal), F.NullOrDefault(hoistedLocal.Type))); 523F.Assignment(F.Field(F.This(), awaiterField), F.NullOrDefault(awaiterField.Type))); 591F.NullOrDefault(notifyCompletionTemp.Type))), 605F.NullOrDefault(criticalNotifyCompletedTemp.Type)));
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (1)
792return _factory.NullOrDefault(rewrittenType);
Lowering\StateMachineRewriter\MethodToStateMachineRewriter.cs (1)
441cleanup.Add(F.AssignmentExpression(F.Field(F.This(), field), F.NullOrDefault(field.Type)));