14 references to Default
Microsoft.CodeAnalysis (1)
Operations\ControlFlowGraphBuilder.cs (1)
4860
constantValue: ConstantValue.
Default
(stepValueEnumUnderlyingTypeOrSelf.SpecialType),
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Expressions.cs (1)
6211
return ConstantValue.
Default
(specialType);
CodeGen\EmitArrayInitializer.cs (1)
225
return ConstantValue.
Default
(type.SpecialType);
Lowering\LocalRewriter\LocalRewriter_ForEachStatement.cs (2)
555
MakeLiteral(forEachSyntax, ConstantValue.
Default
(SpecialType.System_Int32), intType));
734
MakeLiteral(forEachSyntax, ConstantValue.
Default
(SpecialType.System_Int32), intType));
Symbols\Source\SourceEnumConstantSymbol.cs (1)
154
return Microsoft.CodeAnalysis.ConstantValue.
Default
(constantType);
Symbols\TypeSymbolExtensions.cs (1)
597
return ConstantValue.
Default
(type.SpecialType);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Compilation\SemanticModelAPITests.cs (1)
1929
Assert.Equal(ConstantValue.
Default
(SpecialType.System_Int32), labelSymbol.SwitchCaseLabelConstant);
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (1)
724
Assert.Equal(ConstantValue.
Default
(SpecialType.System_Int32), labelSymbol.SwitchCaseLabelConstant);
Microsoft.CodeAnalysis.VisualBasic (5)
Binding\Binder_Invocation.vb (1)
3225
defaultConstantValue = ConstantValue.
Default
(SpecialType.System_Int32)
CodeGen\EmitArrayInitializer.vb (1)
187
Return ConstantValue.
Default
(type.SpecialType)
Lowering\LocalRewriter\LocalRewriter_ForEach.vb (1)
245
ConstantValue.
Default
(SpecialType.System_Int32),
Lowering\LocalRewriter\LocalRewriter_ForTo.vb (1)
128
Dim literal As BoundExpression = New BoundLiteral(rewrittenStep.Syntax, ConstantValue.
Default
(literalUnderlyingType.SpecialType), stepValue.Type)
Symbols\Source\SourceEnumConstantSymbol.vb (1)
105
Return New EvaluatedConstant(Microsoft.CodeAnalysis.ConstantValue.
Default
(underlyingType.SpecialType), underlyingType)