23 references to Default
Microsoft.CodeAnalysis.CSharp (23)
FlowAnalysis\FlowAnalysisPass.cs (2)
132F.Default(containingType)))); 145F.Default(field.Type))));
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (3)
225statements.Add(_F.Assignment(_F.Local(pendingExceptionLocal), _F.Default(pendingExceptionLocal.Type))); 227statements.Add(_F.Assignment(_F.Local(pendingBranchVar), _F.Default(pendingBranchVar.Type))); 506_F.Default(currentAwaitCatchFrame.pendingCatch.Type)),
Lowering\AsyncRewriter\AsyncIteratorMethodToStateMachineRewriter.cs (1)
150return F.Assignment(F.InstanceField(currentField), F.Default(currentField.Type));
Lowering\AsyncRewriter\AsyncRewriter.AsyncIteratorRewriter.cs (4)
236F.Call(parameterProxy, WellKnownMember.System_Threading_CancellationToken__Equals, F.Default(parameterProxy.Type)), 243F.Call(tokenParameter, WellKnownMember.System_Threading_CancellationToken__Equals, F.Default(tokenParameter.Type))), 333thenClause: F.Return(F.Default(moveNextAsyncReturnType))); 449thenClause: F.Return(F.Default(returnType)));
Lowering\ClosureConversion\ExpressionLambdaRewriter.cs (2)
495left = _bound.Default(right.Type); 499right = _bound.Default(left.Type);
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (1)
570whenNullOpt = RewriteLiftedBinaryOperator(syntax, operatorKind, _factory.Default(loweredLeft.Type), loweredRight, type, method, constrainedToTypeOpt);
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (1)
271return _factory.Default(collectionType);
Lowering\LocalRewriter\LocalRewriter_ConditionalAccess.cs (2)
50return _factory.Default(node.Type); 183_factory.Default(nodeType),
Lowering\LocalRewriter\LocalRewriter_FixedStatement.cs (1)
395rewrittenAlternative: _factory.Default(localType),
Lowering\LocalRewriter\LocalRewriter_StackAlloc.cs (1)
34return _factory.Default(type);
Lowering\SpillSequenceSpiller.cs (4)
1131return conditionBuilder.Update(_F.Default(node.Type)); 1310var isNotClass = _F.IsNotNullReference(_F.Default(receiver.Type)); 1332return receiverBuilder.Update(_F.Default(node.Type)); 1340whenNullOpt = whenNullOpt ?? _F.Default(node.Type);
Lowering\SyntheticBoundNodeFactory.cs (1)
1226return new BoundPointerIndirectionOperator(Syntax, Default(new PointerTypeSymbol(type)), refersToLocation: false, type.Type);