276 references to System_Double
ConfigurationSchemaGenerator (1)
RuntimeSource\Configuration.Binder\ConfigurationBindingGenerator.Parser.cs (1)
270case SpecialType.System_Double:
Microsoft.CodeAnalysis (51)
Compilation\Expression.cs (1)
35case SpecialType.System_Double:
ConstantValue.cs (2)
453case SpecialType.System_Double: return ConstantValueTypeDiscriminator.Double; 505case ConstantValueTypeDiscriminator.Double: return SpecialType.System_Double;
MetadataReader\MetadataTypeCodeExtensions.cs (3)
55return SpecialType.System_Double; 122case SpecialType.System_Double: 175case SpecialType.System_Double:
SpecialMembers.cs (5)
221(byte)SpecialType.System_Double, // DeclaringTypeId 225(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Double, 356(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Double, 681(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Double, 730(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Double,
SpecialTypeExtensions.cs (6)
56case SpecialType.System_Double: 79case SpecialType.System_Double: 121case SpecialType.System_Double: 147case SpecialType.System_Double: 195case SpecialType.System_Double: 308return SpecialType.System_Double;
SpecialTypes.cs (2)
119s_typeIdToTypeCodeMap[(int)SpecialType.System_Double] = Microsoft.Cci.PrimitiveTypeCode.Float64; 143s_typeCodeToTypeIdMap[(int)Microsoft.Cci.PrimitiveTypeCode.Float64] = SpecialType.System_Double;
Symbols\INamedTypeSymbolInternal.cs (1)
58case SpecialType.System_Double:
Symbols\TypedConstant.cs (1)
174case SpecialType.System_Double:
WellKnownMembers.cs (30)
25(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Double, // Return Type 26(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Double, 33(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Double, // Return Type 34(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Double, 35(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Double, 91(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Double, 107(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Double, 131(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Double, 155(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Double, 179(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Double, 203(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Double, 227(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Double, 251(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Double, 275(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Double, 298(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Double, // Return Type 1426(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Double, // Return Type 1523(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Double, 1642(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Double, // Return Type 3065(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Double, // Value 3183(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Double, // Value 3454(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Double, // Return type 3455(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Double, // Number As System.Double 3470(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Double, // Return type 3471(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Double, // Number As System.Double 3478(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Double, // Return Type 3479(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Double, 3486(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Double, // Return Type 3487(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Double, 3494(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Double, // Return Type 3495(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Double,
Microsoft.CodeAnalysis.CodeStyle (12)
src\Compilers\Core\Portable\SpecialTypeExtensions.cs (6)
56case SpecialType.System_Double: 79case SpecialType.System_Double: 121case SpecialType.System_Double: 147case SpecialType.System_Double: 195case SpecialType.System_Double: 308return SpecialType.System_Double;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.cs (3)
299case SpecialType.System_Double: 385case SpecialType.System_Double: 668case SpecialType.System_Double:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\PredefinedTypeExtensions.cs (1)
28PredefinedType.Double => SpecialType.System_Double,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SpecialTypeExtensions.cs (1)
28SpecialType.System_Double => PredefinedType.Double,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SemanticFacts\ISemanticFactsExtensions.cs (1)
119=> type?.SpecialType is SpecialType.System_Single or SpecialType.System_Double;
Microsoft.CodeAnalysis.CodeStyle.Fixes (4)
src\Analyzers\Core\CodeFixes\GenerateConstructor\AbstractGenerateConstructorService.State.cs (1)
389case SpecialType.System_Double:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (1)
146SpecialType.System_Double => value is double,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (1)
28case SpecialType.System_Double:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
428case SpecialType.System_Double:
Microsoft.CodeAnalysis.CSharp (47)
Binder\Binder_Expressions.cs (1)
7274case SpecialType.System_Double:
Binder\Binder_Patterns.cs (1)
1698SpecialType.System_Double => BinaryOperatorKind.Double,
Binder\Binder_Statements.cs (1)
2244if (sourceType.SpecialType == SpecialType.System_Double && syntax.Kind() == SyntaxKind.NumericLiteralExpression &&
Binder\PatternExplainer.cs (2)
707SpecialType.System_Double => true, 746case SpecialType.System_Double:
Binder\Semantics\Conversions\ConversionsBase.cs (2)
2113case SpecialType.System_Double: 2197case SpecialType.System_Double:
Binder\Semantics\Operators\OperatorFacts.cs (1)
40case SpecialType.System_Double:
CodeGen\EmitArrayInitializer.cs (1)
808SpecialType.System_Int64 or SpecialType.System_UInt64 or SpecialType.System_Double;
CodeGen\EmitExpression.cs (1)
1362case SpecialType.System_Double:
Compilation\BuiltInOperators.cs (5)
276case UnaryOperatorKind.Double: opType = _compilation.GetSpecialType(SpecialType.System_Double); break; 755case BinaryOperatorKind.Double: return _compilation.GetSpecialType(SpecialType.System_Double); 787case BinaryOperatorKind.Double: return _compilation.GetSpecialType(SpecialType.System_Double); 819case BinaryOperatorKind.Double: return _compilation.GetSpecialType(SpecialType.System_Double); 846BinaryOperatorKind.Double => _compilation.GetSpecialType(SpecialType.System_Double),
Compilation\CSharpCompilation.cs (1)
1732case SpecialType.System_Double:
FlowAnalysis\AbstractFlowPass.cs (1)
1472case SpecialType.System_Double:
Lowering\Instrumentation\LocalStateTracingInstrumenter.cs (1)
227SpecialType.System_Double
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (2)
538if (t1.Input.Type.SpecialType is SpecialType.System_Double or SpecialType.System_Single) 816SpecialType.System_Double => BinaryOperatorKind.DoubleLessThanOrEqual,
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
403if (input.Type.SpecialType == SpecialType.System_Double && double.IsNaN(value.DoubleValue) ||
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (8)
228if (type.SpecialType != SpecialType.System_Double && type.SpecialType != SpecialType.System_Single) 774IsInRange(sourceST, SpecialType.System_Char, SpecialType.System_Double) && 1566case SpecialType.System_Double: 1591case SpecialType.System_Double: 1616case SpecialType.System_Double: 1641case SpecialType.System_Double: 1668case SpecialType.System_Double: return SpecialMember.System_Decimal__op_Explicit_ToDouble; 1688case SpecialType.System_Double: return SpecialMember.System_Decimal__op_Explicit_FromDouble;
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (1)
950specialType = SpecialType.System_Double;
Lowering\SyntheticBoundNodeFactory.cs (1)
774case { SpecialType: CodeAnalysis.SpecialType.System_Double }:
Parser\Lexer.cs (5)
375case SpecialType.System_Double: 989info.ValueKind = SpecialType.System_Double; 998info.ValueKind = SpecialType.System_Double; 1009info.ValueKind = SpecialType.System_Double; 1061case SpecialType.System_Double:
SymbolDisplay\SymbolDisplayVisitor.Types.cs (1)
663case SpecialType.System_Double:
Symbols\Attributes\SourceAttributeData.cs (1)
414if (specType != SpecialType.System_Double)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
1926case SpecialType.System_Double:
Symbols\Source\SourceAssemblySymbol.cs (1)
2790case SpecialType.System_Double:
Symbols\SpecialTypeExtensions.cs (1)
26case SpecialType.System_Double:
Symbols\TypeSymbolExtensions.cs (4)
659case SpecialType.System_Double: 1464case SpecialType.System_Double: 2228case SpecialType.System_Double: return 15; 2251case SpecialType.System_Double: return 30;
Syntax\SyntaxKindExtensions.cs (1)
36return SpecialType.System_Double;
Utilities\ValueSetFactory.cs (1)
47SpecialType.System_Double => ForDouble,
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ITypeSymbolExtensions.cs (1)
30case SpecialType.System_Double:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (1)
1086=> type?.SpecialType is SpecialType.System_Double or SpecialType.System_Single;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ExpressionGenerator.cs (1)
137if (value is double && !IsSpecialType(type, SpecialType.System_Double))
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Emit\EmitMetadataTests.cs (1)
458Assert.Same(module.GetCorLibType(SpecialType.System_Double), method4ParamTypes[2]);
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\KeywordRecommenders\DoubleKeywordRecommender.cs (1)
54protected override SpecialType SpecialType => SpecialType.System_Double;
Completion\Providers\DefaultArgumentProvider.cs (1)
51SpecialType.System_Double => "0.0",
Microsoft.CodeAnalysis.CSharp.Scripting (1)
Hosting\ObjectFormatter\CSharpTypeNameFormatter.cs (1)
35case SpecialType.System_Double: return "double";
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (8)
Semantics\OperatorTests.cs (2)
8345(leftType.SpecialType == SpecialType.System_Decimal && (rightType.SpecialType == SpecialType.System_Double || rightType.SpecialType == SpecialType.System_Single)) || 8346(rightType.SpecialType == SpecialType.System_Decimal && (leftType.SpecialType == SpecialType.System_Double || leftType.SpecialType == SpecialType.System_Single))) &&
Semantics\StackAllocInitializerTests.cs (2)
1087Assert.Equal(SpecialType.System_Double, ((IPointerTypeSymbol)obj5Value.ConvertedType).PointedAtType.SpecialType); 1190Assert.Equal(SpecialType.System_Double, ((IPointerTypeSymbol)obj5Value.ConvertedType).PointedAtType.SpecialType);
Semantics\StackAllocSpanExpressionsTests.cs (2)
93Assert.Equal(SpecialType.System_Double, ((IPointerTypeSymbol)obj5Value.ConvertedType).PointedAtType.SpecialType); 168Assert.Equal(SpecialType.System_Double, ((IPointerTypeSymbol)obj5Value.ConvertedType).PointedAtType.SpecialType);
Semantics\UnsafeTests.cs (1)
10591{ SpecialType.System_Double, 8 },
Utilities\ValueSetTests.cs (1)
501Assert.Same(ForDouble, ForSpecialType(SpecialType.System_Double));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (4)
Compilation\GetSemanticInfoTests.cs (2)
2458Assert.Equal(SpecialType.System_Double, info.Type.SpecialType); 2459Assert.Equal(SpecialType.System_Double, info.ConvertedType.SpecialType);
Compilation\SemanticModelGetDeclaredSymbolAPITests.cs (1)
1833type = compilation.GetSpecialType(SpecialType.System_Double);
Symbols\TypeTests.cs (1)
1579Assert.Same(comp.GetSpecialType(SpecialType.System_Double), memType.GetNullableUnderlyingType());
Microsoft.CodeAnalysis.CSharp.Workspaces (8)
CodeGeneration\CSharpSyntaxGenerator.cs (2)
3271case SpecialType.System_Double: 3451SpecialType.System_Double => DoubleKeyword,
Recommendations\CSharpRecommendationServiceRunner_Conversions.cs (2)
25SpecialType.System_Double, 223SpecialType.System_Double => s_doubleConversions,
Simplification\Simplifiers\AbstractCSharpSimplifier.cs (1)
51SpecialType.System_Double => SyntaxKind.DoubleKeyword,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ITypeSymbolExtensions.cs (1)
30case SpecialType.System_Double:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (1)
1086=> type?.SpecialType is SpecialType.System_Double or SpecialType.System_Single;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ExpressionGenerator.cs (1)
137if (value is double && !IsSpecialType(type, SpecialType.System_Double))
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
CodeGeneration\SyntaxGeneratorTests.cs (1)
303VerifySyntax<TypeSyntax>(Generator.TypeExpression(SpecialType.System_Double), "double");
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
PDB\PdbHelpers.cs (1)
100(SpecialType.System_Double, double doubleVal) => ConstantValue.Create(doubleVal),
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\CodeFixes\GenerateConstructor\AbstractGenerateConstructorService.State.cs (1)
389case SpecialType.System_Double:
Microsoft.CodeAnalysis.Scripting (2)
Hosting\ObjectFormatter\CommonPrimitiveFormatter.cs (1)
79case SpecialType.System_Double:
Hosting\ObjectFormatter\ObjectFormatterHelpers.cs (1)
307return SpecialType.System_Double;
Microsoft.CodeAnalysis.Test.Utilities (1)
Diagnostics\OperationTestAnalyzer.cs (1)
1521if (binary.OperatorKind == BinaryOperatorKind.Multiply && binary.Type.SpecialType == SpecialType.System_Double)
Microsoft.CodeAnalysis.UnitTests (1)
CorLibTypesTests.cs (1)
59Assert.Equal(SpecialType.System_Double, SpecialTypes.GetTypeFromMetadataName(Cci.PrimitiveTypeCode.Float64));
Microsoft.CodeAnalysis.VisualBasic (61)
Analysis\FlowAnalysis\AbstractFlowPass.vb (1)
347SpecialType.System_Double,
Binding\Binder_Conversions.vb (1)
284Case SyntaxKind.CDblKeyword : targetType = SpecialType.System_Double
Binding\Binder_SelectCase.vb (1)
709SpecialType.System_Double
Binding\Binder_Symbols.vb (1)
798type = SpecialType.System_Double
Binding\Binder_Utils.vb (3)
710specialType = SpecialType.System_Double 713specialType = SpecialType.System_Double 1384SpecialType.System_Double,
Binding\DocumentationCommentCrefBinder_Compat.vb (1)
384type = SpecialType.System_Double
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Spilling.vb (1)
492SpecialType.System_Double,
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_Conversion.vb (12)
464Case SpecialType.System_Double : wellKnownHelper = WellKnownMember.System_Convert__ToBooleanDouble 472Case SpecialType.System_Double : wellKnownHelper = WellKnownMember.System_Convert__ToByteDouble 481Case SpecialType.System_Double : wellKnownHelper = WellKnownMember.System_Convert__ToSByteDouble 490Case SpecialType.System_Double : wellKnownHelper = WellKnownMember.System_Convert__ToInt16Double 499Case SpecialType.System_Double : wellKnownHelper = WellKnownMember.System_Convert__ToUInt16Double 508Case SpecialType.System_Double : wellKnownHelper = WellKnownMember.System_Convert__ToInt32Double 517Case SpecialType.System_Double : wellKnownHelper = WellKnownMember.System_Convert__ToUInt32Double 526Case SpecialType.System_Double : wellKnownHelper = WellKnownMember.System_Convert__ToInt64Double 535Case SpecialType.System_Double : wellKnownHelper = WellKnownMember.System_Convert__ToUInt64Double 553Case SpecialType.System_Double : specialHelper = SpecialMember.System_Decimal__op_Explicit_FromDouble 566Case SpecialType.System_Double 594Case SpecialType.System_Double : wellKnownHelper = WellKnownMember.Microsoft_VisualBasic_CompilerServices_Conversions__ToStringDouble
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (7)
849Case SpecialType.System_Double : member = WellKnownMember.Microsoft_VisualBasic_CompilerServices_Conversions__ToDoubleObject 942Case SpecialType.System_Double : member = WellKnownMember.Microsoft_VisualBasic_CompilerServices_Conversions__ToStringDouble 1014Case SpecialType.System_Double : member = WellKnownMember.Microsoft_VisualBasic_CompilerServices_Conversions__ToDoubleString 1082Case SpecialType.System_Double : member = SpecialMember.System_Decimal__CtorDouble 1154Case SpecialType.System_Double : member = WellKnownMember.System_Convert__ToDoubleDecimal 1251Case SpecialType.System_Double 1270Case SpecialType.System_Double
Preprocessor\CConst.vb (2)
51Case SpecialType.System_Double 133Return New CConst(Of Double)(value, SpecialType.System_Double)
Preprocessor\ExpressionEvaluator.vb (9)
34Const ___Double = CType(SpecialType.System_Double, Byte) 93Case SpecialType.System_Double 339Case SpecialType.System_Double 378Return SpecialType.System_Double 428If specialType = SpecialType.System_Double OrElse specialType = SpecialType.System_Single Then 455If specialType = SpecialType.System_Double OrElse specialType = SpecialType.System_Single Then 493specialType = SpecialType.System_Double 875Case SpecialType.System_Double 914Case SpecialType.System_Double
Preprocessor\OperatorResolution.vb (2)
54Case SpecialType.System_Double 79Const t_r8 As Byte = CType(SpecialType.System_Double, Byte)
Semantics\CompileTimeCalculations.vb (1)
559Case SpecialType.System_Double
Semantics\Operators.vb (6)
604SpecialType.System_Double, 633SpecialType.System_Double, 639intrinsicOperatorType = SpecialType.System_Double 663SpecialType.System_Double, 678intrinsicOperatorType = SpecialType.System_Double 1724Const tDbl As SByte = SpecialType.System_Double
Symbols\Attributes\SourceAttributeData.vb (1)
241foundMatch = specType = SpecialType.System_Double
Symbols\Metadata\PE\PENamedTypeSymbol.vb (1)
1153SpecialType.System_Double,
Symbols\SpecialTypeExtensions.vb (9)
13SpecialType.System_Double 38SpecialType.System_Double, 54SpecialType.System_Double, 108SpecialType.System_Double, 169Case SpecialType.System_Double 212Case SpecialType.System_Double 255Case SpecialType.System_Double 301Case SpecialType.System_Double 355Case SpecialType.System_Double
Symbols\TypeSymbolExtensions.vb (2)
321Return this.SpecialType = SpecialType.System_Double 450Case SpecialType.System_Double
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\CastAnalyzer.vb (1)
381Case SpecialType.System_Single, SpecialType.System_Double
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (8)
src\Analyzers\VisualBasic\CodeFixes\GenerateParameterizedMember\VisualBasicGenerateParameterizedMemberService.vb (1)
52Return Me.Document.SemanticModel.Compilation.GetSpecialType(SpecialType.System_Double)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\ExpressionGenerator.vb (2)
269ElseIf TypeOf value Is Double AndAlso Not IsSpecialType(type, SpecialType.System_Double) Then 295type, SpecialType.System_Double, value, canUseFieldReference,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ITypeSymbolExtensions.vb (3)
31Case specialType.System_Double 73specialType = specialType.System_Double 114SpecialType.System_Double,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\StringExtensions.vb (1)
107SpecialType.System_Double,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\TypeSyntaxGeneratorVisitor.vb (1)
122Case SpecialType.System_Double
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Emit\EmitMetadata.vb (1)
521Assert.Same([Module].GetCorLibType(SpecialType.System_Double), method4ParamTypes(2))
Microsoft.CodeAnalysis.VisualBasic.Features (3)
Completion\KeywordRecommenders\Types\BuiltInTypesKeywordRecommender.vb (1)
91SpecialType.System_Double,
Completion\Providers\DefaultArgumentProvider.vb (1)
50Case SpecialType.System_Double
src\Analyzers\VisualBasic\CodeFixes\GenerateParameterizedMember\VisualBasicGenerateParameterizedMemberService.vb (1)
52Return Me.Document.SemanticModel.Compilation.GetSpecialType(SpecialType.System_Double)
Microsoft.CodeAnalysis.VisualBasic.Scripting (1)
Hosting\ObjectFormatter\VisualBasicTypeNameFormatter.vb (1)
28Case SpecialType.System_Double
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (12)
Compilation\CompilationAPITests.vb (1)
1792Dim doubleType = compilation.GetSpecialType(SpecialType.System_Double)
Semantics\Conversions.vb (7)
241Dim doubleType = c1.GetSpecialType(System_Double) 1093Dim doubleType = c1.GetSpecialType(System_Double) 1358Case System_Double : Return c.ToDouble(Nothing) 1432Case System_Double : Return CDbl(value) 2055c1.GetSpecialType(System_Double), 2071nullable.Construct(c1.GetSpecialType(System_Double)), 2195Private Const s_double = System_Double
Semantics\OverloadResolution.vb (4)
202Dim doubleConst As BoundExpression = New BoundConversion(_syntaxNode, New BoundLiteral(_syntaxNode, ConstantValue.Null, Nothing), ConversionKind.Widening, True, True, ConstantValue.Create(0.0R), c1.GetSpecialType(System_Double), Nothing) 2511System_Decimal, System_Single, System_Double} 2883Dim DoubleMaxValue As BoundExpression = New BoundConversion(_syntaxNode, New BoundLiteral(_syntaxNode, ConstantValue.Null, Nothing), ConversionKind.Widening, True, True, ConstantValue.Create(Double.MaxValue), c1.GetSpecialType(System_Double), Nothing) 3074Dim DoubleMaxValue As BoundExpression = New BoundConversion(_syntaxNode, New BoundLiteral(_syntaxNode, ConstantValue.Null, Nothing), ConversionKind.Widening, True, True, ConstantValue.Create(Double.MaxValue), c1.GetSpecialType(System_Double), Nothing)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (3)
SymbolsTests\Source\OverridesTests.vb (2)
2510Dim x2DoubleArgGetter = (From meth In x2Getters Let params = meth.Parameters Where params.Length = 1 AndAlso params(0).Type.SpecialType = SpecialType.System_Double Select meth).First() 2530Dim x2DoubleArgSetter = (From meth In x2Setters Let params = meth.Parameters Where params.Length = 2 AndAlso params(0).Type.SpecialType = SpecialType.System_Double Select meth).First()
SymbolsTests\Source\PropertyTests.vb (1)
4348Assert.Equal(SpecialType.System_Double, propertiesDictionary!DoubleType.Type.SpecialType)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Syntax\ConstantExpressionEvaluatorTests.vb (1)
23Assert.Equal(ConstantValueTypeDiscriminator.Double, SpecialType.System_Double.ToConstantValueDiscriminator())
Microsoft.CodeAnalysis.VisualBasic.Workspaces (10)
CodeGeneration\VisualBasicSyntaxGenerator.vb (1)
401Case SpecialType.System_Double
Simplification\Simplifiers\AbstractVisualBasicSimplifier.vb (1)
43Case SpecialType.System_Double
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\CastAnalyzer.vb (1)
381Case SpecialType.System_Single, SpecialType.System_Double
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\ExpressionGenerator.vb (2)
269ElseIf TypeOf value Is Double AndAlso Not IsSpecialType(type, SpecialType.System_Double) Then 295type, SpecialType.System_Double, value, canUseFieldReference,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ITypeSymbolExtensions.vb (3)
31Case specialType.System_Double 73specialType = specialType.System_Double 114SpecialType.System_Double,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\StringExtensions.vb (1)
107SpecialType.System_Double,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\TypeSyntaxGeneratorVisitor.vb (1)
122Case SpecialType.System_Double
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (1)
CodeGeneration\SyntaxGeneratorTests.vb (1)
279VerifySyntax(Of TypeSyntax)(Generator.TypeExpression(SpecialType.System_Double), "Double")
Microsoft.CodeAnalysis.Workspaces (15)
src\Compilers\Core\Portable\SpecialTypeExtensions.cs (6)
56case SpecialType.System_Double: 79case SpecialType.System_Double: 121case SpecialType.System_Double: 147case SpecialType.System_Double: 195case SpecialType.System_Double: 308return SpecialType.System_Double;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.cs (3)
299case SpecialType.System_Double: 385case SpecialType.System_Double: 668case SpecialType.System_Double:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\PredefinedTypeExtensions.cs (1)
28PredefinedType.Double => SpecialType.System_Double,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SpecialTypeExtensions.cs (1)
28SpecialType.System_Double => PredefinedType.Double,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Services\SemanticFacts\ISemanticFactsExtensions.cs (1)
119=> type?.SpecialType is SpecialType.System_Single or SpecialType.System_Double;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (1)
146SpecialType.System_Double => value is double,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (1)
28case SpecialType.System_Double:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
428case SpecialType.System_Double:
Microsoft.Extensions.Options.SourceGeneration (1)
OptionsSourceGenContext.cs (1)
54SpecialType.System_Double => true,
Microsoft.Gen.Metrics (1)
Parser.cs (1)
42SpecialType.System_Double
Microsoft.Gen.MetricsReports (1)
src\Generators\Microsoft.Gen.Metrics\Parser.cs (1)
42SpecialType.System_Double
Microsoft.Interop.JavaScript.JSImportGenerator (1)
JSManagedTypeInfo.cs (1)
59case { SpecialType: SpecialType.System_Double }:
Microsoft.Interop.SourceGeneration (3)
Marshalling\MarshalAsMarshallingGeneratorResolver.cs (1)
52or { ManagedType: SpecialTypeInfo { SpecialType: SpecialType.System_Double }, MarshallingAttributeInfo: NoMarshallingInfo or MarshalAsInfo(UnmanagedType.R8, _) }:
MarshallingAttributeInfo.cs (1)
135SpecialType.System_Double => CreateWellKnownComExceptionMarshallingData($"{TypeNames.ExceptionAsNaNMarshaller}<double>", unmanagedReturnType),
TypeSymbolExtensions.cs (1)
203or SpecialType.System_Double;
Microsoft.VisualStudio.LanguageServices.CSharp (1)
CodeModel\CSharpCodeModelService.cs (1)
733case SpecialType.System_Double:
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
CodeModel\VisualBasicCodeModelService.vb (1)
797Case SpecialType.System_Double
System.Text.Json.SourceGeneration (1)
Helpers\RoslynExtensions.cs (1)
195SpecialType.System_Single or SpecialType.System_Double or SpecialType.System_Decimal;