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