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