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