251 references to System_Single
ConfigurationSchemaGenerator (1)
RuntimeSource\Configuration.Binder\ConfigurationBindingGenerator.Parser.cs (1)
269case SpecialType.System_Single:
Microsoft.CodeAnalysis (40)
Compilation\Expression.cs (1)
33case SpecialType.System_Single:
ConstantValue.cs (2)
452case SpecialType.System_Single: return ConstantValueTypeDiscriminator.Single; 504case ConstantValueTypeDiscriminator.Single: return SpecialType.System_Single;
MetadataReader\MetadataTypeCodeExtensions.cs (3)
52return SpecialType.System_Single; 121case SpecialType.System_Single: 172case SpecialType.System_Single:
SpecialMembers.cs (5)
229(byte)SpecialType.System_Single, // DeclaringTypeId 233(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Single, 348(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Single, 673(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Single, 738(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Single,
SpecialTypeExtensions.cs (6)
55case SpecialType.System_Single: 78case SpecialType.System_Single: 119case SpecialType.System_Single: 157case SpecialType.System_Single: 194case SpecialType.System_Single: 323return SpecialType.System_Single;
SpecialTypes.cs (2)
118s_typeIdToTypeCodeMap[(int)SpecialType.System_Single] = Microsoft.Cci.PrimitiveTypeCode.Float32; 142s_typeCodeToTypeIdMap[(int)Microsoft.Cci.PrimitiveTypeCode.Float32] = SpecialType.System_Single;
Symbols\INamedTypeSymbolInternal.cs (1)
57case SpecialType.System_Single:
Symbols\TypedConstant.cs (1)
173case SpecialType.System_Single:
WellKnownMembers.cs (19)
83(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Single, 115(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Single, 139(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Single, 163(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Single, 187(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Single, 211(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Single, 235(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Single, 259(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Single, 283(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Single, 290(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Single, // Return Type 1418(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Single, // Return Type 1515(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Single, 1634(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Single, // Return Type 3056(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Single, // Value 3174(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Single, // Value 3446(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Single, // Return type 3447(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Single, // Number As System.Single 3462(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Single, // Return type 3463(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Single, // Number As System.Single
Microsoft.CodeAnalysis.CodeStyle (12)
src\Compilers\Core\Portable\SpecialTypeExtensions.cs (6)
55case SpecialType.System_Single: 78case SpecialType.System_Single: 119case SpecialType.System_Single: 157case SpecialType.System_Single: 194case SpecialType.System_Single: 323return SpecialType.System_Single;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.cs (3)
298case SpecialType.System_Single: 384case SpecialType.System_Single: 667case SpecialType.System_Single:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\PredefinedTypeExtensions.cs (1)
27PredefinedType.Single => SpecialType.System_Single,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SpecialTypeExtensions.cs (1)
27SpecialType.System_Single => PredefinedType.Single,
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)
390case SpecialType.System_Single:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (1)
145SpecialType.System_Single => value is float,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (1)
27case SpecialType.System_Single:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
427case SpecialType.System_Single:
Microsoft.CodeAnalysis.CSharp (47)
Binder\Binder_Expressions.cs (1)
7270case SpecialType.System_Single:
Binder\Binder_Patterns.cs (1)
1697SpecialType.System_Single => BinaryOperatorKind.Float,
Binder\Binder_Statements.cs (2)
2245(targetType.SpecialType == SpecialType.System_Single || targetType.SpecialType == SpecialType.System_Decimal)) 2247Error(diagnostics, ErrorCode.ERR_LiteralDoubleCast, syntax, (targetType.SpecialType == SpecialType.System_Single) ? "F" : "M", targetType);
Binder\PatternExplainer.cs (2)
706SpecialType.System_Single => true, 737case SpecialType.System_Single:
Binder\Semantics\Conversions\ConversionsBase.cs (2)
2112case SpecialType.System_Single: 2198case SpecialType.System_Single:
Binder\Semantics\Operators\OperatorFacts.cs (1)
50case SpecialType.System_Single:
CodeGen\EmitArrayInitializer.cs (1)
805SpecialType.System_Int32 or SpecialType.System_UInt32 or SpecialType.System_Single or
CodeGen\EmitExpression.cs (1)
1360case SpecialType.System_Single:
Compilation\BuiltInOperators.cs (5)
275case UnaryOperatorKind.Float: opType = _compilation.GetSpecialType(SpecialType.System_Single); break; 754case BinaryOperatorKind.Float: return _compilation.GetSpecialType(SpecialType.System_Single); 786case BinaryOperatorKind.Float: return _compilation.GetSpecialType(SpecialType.System_Single); 818case BinaryOperatorKind.Float: return _compilation.GetSpecialType(SpecialType.System_Single); 845BinaryOperatorKind.Float => _compilation.GetSpecialType(SpecialType.System_Single),
Compilation\CSharpCompilation.cs (1)
1726case SpecialType.System_Single:
FlowAnalysis\AbstractFlowPass.cs (1)
1471case SpecialType.System_Single:
Lowering\Instrumentation\LocalStateTracingInstrumenter.cs (1)
225SpecialType.System_Single
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (2)
538if (t1.Input.Type.SpecialType is SpecialType.System_Double or SpecialType.System_Single) 815SpecialType.System_Single => BinaryOperatorKind.FloatLessThanOrEqual,
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
404input.Type.SpecialType == SpecialType.System_Single && float.IsNaN(value.SingleValue))
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (7)
228if (type.SpecialType != SpecialType.System_Double && type.SpecialType != SpecialType.System_Single) 1565case SpecialType.System_Single: 1590case SpecialType.System_Single: 1615case SpecialType.System_Single: 1640case SpecialType.System_Single: 1667case SpecialType.System_Single: return SpecialMember.System_Decimal__op_Explicit_ToSingle; 1687case SpecialType.System_Single: return SpecialMember.System_Decimal__op_Explicit_FromSingle;
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (1)
947specialType = SpecialType.System_Single;
Lowering\SyntheticBoundNodeFactory.cs (1)
777case { SpecialType: CodeAnalysis.SpecialType.System_Single }:
Parser\Lexer.cs (4)
372case SpecialType.System_Single: 984info.ValueKind = SpecialType.System_Single; 1004info.ValueKind = SpecialType.System_Single; 1058case SpecialType.System_Single:
SymbolDisplay\SymbolDisplayVisitor.Types.cs (1)
661case SpecialType.System_Single:
Symbols\Attributes\SourceAttributeData.cs (1)
406if (specType != SpecialType.System_Single)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
1925case SpecialType.System_Single:
Symbols\Source\SourceAssemblySymbol.cs (1)
2795case SpecialType.System_Single:
Symbols\SpecialTypeExtensions.cs (2)
25case SpecialType.System_Single: 46case SpecialType.System_Single:
Symbols\TypeSymbolExtensions.cs (4)
658case SpecialType.System_Single: 1463case SpecialType.System_Single: 2227case SpecialType.System_Single: return 14; 2250case SpecialType.System_Single: return 29;
Syntax\SyntaxKindExtensions.cs (1)
38return SpecialType.System_Single;
Utilities\ValueSetFactory.cs (1)
46SpecialType.System_Single => ForFloat,
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ITypeSymbolExtensions.cs (1)
29case SpecialType.System_Single:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (1)
1068=> 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)
126var isNotSingle = !IsSpecialType(type, SpecialType.System_Single);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Emit\EmitMetadataTests.cs (1)
457Assert.Same(module.GetCorLibType(SpecialType.System_Single), method4ParamTypes[1]);
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\KeywordRecommenders\FloatKeywordRecommender.cs (1)
54protected override SpecialType SpecialType => SpecialType.System_Single;
Completion\Providers\DefaultArgumentProvider.cs (1)
50SpecialType.System_Single => "0.0f",
Microsoft.CodeAnalysis.CSharp.Scripting (1)
Hosting\ObjectFormatter\CSharpTypeNameFormatter.cs (1)
40case SpecialType.System_Single: return "float";
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
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\UnsafeTests.cs (1)
10590{ SpecialType.System_Single, 4 },
Utilities\ValueSetTests.cs (1)
500Assert.Same(ForFloat, ForSpecialType(SpecialType.System_Single));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Symbols\TypeTests.cs (1)
1582Assert.Same(comp.GetSpecialType(SpecialType.System_Single), (memType as ArrayTypeSymbol).ElementType.GetNullableUnderlyingType());
Microsoft.CodeAnalysis.CSharp.Workspaces (9)
CodeGeneration\CSharpSyntaxGenerator.cs (2)
3270case SpecialType.System_Single: 3457SpecialType.System_Single => FloatKeyword,
Recommendations\CSharpRecommendationServiceRunner_Conversions.cs (3)
26SpecialType.System_Single, 125SpecialType.System_Single, 222SpecialType.System_Single => s_singleConversions,
Simplification\Simplifiers\AbstractCSharpSimplifier.cs (1)
50SpecialType.System_Single => SyntaxKind.FloatKeyword,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ITypeSymbolExtensions.cs (1)
29case SpecialType.System_Single:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Simplification\Simplifiers\CastSimplifier.cs (1)
1068=> type?.SpecialType is SpecialType.System_Double or SpecialType.System_Single;
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ExpressionGenerator.cs (1)
126var isNotSingle = !IsSpecialType(type, SpecialType.System_Single);
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
CodeGeneration\SyntaxGeneratorTests.cs (1)
302VerifySyntax<TypeSyntax>(Generator.TypeExpression(SpecialType.System_Single), "float");
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
PDB\PdbHelpers.cs (1)
99(SpecialType.System_Single, float floatVal) => ConstantValue.Create(floatVal),
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\CodeFixes\GenerateConstructor\AbstractGenerateConstructorService.State.cs (1)
390case SpecialType.System_Single:
Microsoft.CodeAnalysis.Scripting (2)
Hosting\ObjectFormatter\CommonPrimitiveFormatter.cs (1)
94case SpecialType.System_Single:
Hosting\ObjectFormatter\ObjectFormatterHelpers.cs (1)
332return SpecialType.System_Single;
Microsoft.CodeAnalysis.UnitTests (1)
CorLibTypesTests.cs (1)
58Assert.Equal(SpecialType.System_Single, SpecialTypes.GetTypeFromMetadataName(Cci.PrimitiveTypeCode.Float32));
Microsoft.CodeAnalysis.VisualBasic (59)
Analysis\FlowAnalysis\AbstractFlowPass.vb (1)
346SpecialType.System_Single,
Binding\Binder_Conversions.vb (1)
290Case SyntaxKind.CSngKeyword : targetType = SpecialType.System_Single
Binding\Binder_SelectCase.vb (1)
708Case SpecialType.System_Single,
Binding\Binder_Symbols.vb (1)
796type = SpecialType.System_Single
Binding\Binder_Utils.vb (3)
731specialType = SpecialType.System_Single 734specialType = SpecialType.System_Single 1383SpecialType.System_Single,
Binding\DocumentationCommentCrefBinder_Compat.vb (1)
382type = SpecialType.System_Single
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Spilling.vb (1)
491SpecialType.System_Single,
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_Conversion.vb (12)
463Case SpecialType.System_Single : wellKnownHelper = WellKnownMember.System_Convert__ToBooleanSingle 473Case SpecialType.System_Single : wellKnownHelper = WellKnownMember.System_Convert__ToByteSingle 482Case SpecialType.System_Single : wellKnownHelper = WellKnownMember.System_Convert__ToSByteSingle 491Case SpecialType.System_Single : wellKnownHelper = WellKnownMember.System_Convert__ToInt16Single 500Case SpecialType.System_Single : wellKnownHelper = WellKnownMember.System_Convert__ToUInt16Single 509Case SpecialType.System_Single : wellKnownHelper = WellKnownMember.System_Convert__ToInt32Single 518Case SpecialType.System_Single : wellKnownHelper = WellKnownMember.System_Convert__ToUInt32Single 527Case SpecialType.System_Single : wellKnownHelper = WellKnownMember.System_Convert__ToInt64Single 536Case SpecialType.System_Single : wellKnownHelper = WellKnownMember.System_Convert__ToUInt64Single 552Case SpecialType.System_Single : specialHelper = SpecialMember.System_Decimal__op_Explicit_FromSingle 559Case SpecialType.System_Single 593Case SpecialType.System_Single : wellKnownHelper = WellKnownMember.Microsoft_VisualBasic_CompilerServices_Conversions__ToStringSingle
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (7)
848Case SpecialType.System_Single : member = WellKnownMember.Microsoft_VisualBasic_CompilerServices_Conversions__ToSingleObject 941Case SpecialType.System_Single : member = WellKnownMember.Microsoft_VisualBasic_CompilerServices_Conversions__ToStringSingle 1013Case SpecialType.System_Single : member = WellKnownMember.Microsoft_VisualBasic_CompilerServices_Conversions__ToSingleString 1081Case SpecialType.System_Single : member = SpecialMember.System_Decimal__CtorSingle 1153Case SpecialType.System_Single : member = WellKnownMember.System_Convert__ToSingleDecimal 1249Case SpecialType.System_Single 1268Case SpecialType.System_Single
Preprocessor\CConst.vb (2)
61Case SpecialType.System_Single 129Return New CConst(Of Single)(value, SpecialType.System_Single)
Preprocessor\ExpressionEvaluator.vb (9)
33Const ___Single = CType(SpecialType.System_Single, Byte) 91Case SpecialType.System_Single 336Case SpecialType.System_Single 375Return SpecialType.System_Single 428If specialType = SpecialType.System_Double OrElse specialType = SpecialType.System_Single Then 455If specialType = SpecialType.System_Double OrElse specialType = SpecialType.System_Single Then 523specialType = SpecialType.System_Single 885Case SpecialType.System_Single 924Case SpecialType.System_Single
Preprocessor\OperatorResolution.vb (2)
52Case SpecialType.System_Single 78Const t_r4 As Byte = CType(SpecialType.System_Single, Byte)
Semantics\CompileTimeCalculations.vb (1)
562Case SpecialType.System_Single
Semantics\Operators.vb (4)
603SpecialType.System_Single, 632SpecialType.System_Single, 662SpecialType.System_Single, 1730Const tSng As SByte = SpecialType.System_Single
Symbols\Attributes\SourceAttributeData.vb (1)
237foundMatch = specType = SpecialType.System_Single
Symbols\Metadata\PE\PENamedTypeSymbol.vb (1)
1152SpecialType.System_Single,
Symbols\SpecialTypeExtensions.vb (9)
12Case SpecialType.System_Single, 37SpecialType.System_Single, 64SpecialType.System_Single 107SpecialType.System_Single, 167Case SpecialType.System_Single 210Case SpecialType.System_Single 253Case SpecialType.System_Single 299Case SpecialType.System_Single 353Case SpecialType.System_Single
Symbols\TypeSymbolExtensions.vb (2)
316Return this.SpecialType = SpecialType.System_Single 448Case SpecialType.System_Single
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)
50Return Me.Document.SemanticModel.Compilation.GetSpecialType(SpecialType.System_Single)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\ExpressionGenerator.vb (2)
266ElseIf TypeOf value Is Single AndAlso Not IsSpecialType(type, SpecialType.System_Single) Then 320type, SpecialType.System_Single, value, canUseFieldReference,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ITypeSymbolExtensions.vb (3)
41Case specialType.System_Single 83specialType = specialType.System_Single 113SpecialType.System_Single,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\StringExtensions.vb (1)
106SpecialType.System_Single,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\TypeSyntaxGeneratorVisitor.vb (1)
120Case SpecialType.System_Single
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Emit\EmitMetadata.vb (1)
520Assert.Same([Module].GetCorLibType(SpecialType.System_Single), method4ParamTypes(1))
Microsoft.CodeAnalysis.VisualBasic.Features (3)
Completion\KeywordRecommenders\Types\BuiltInTypesKeywordRecommender.vb (1)
97SpecialType.System_Single,
Completion\Providers\DefaultArgumentProvider.vb (1)
48Case SpecialType.System_Single
src\Analyzers\VisualBasic\CodeFixes\GenerateParameterizedMember\VisualBasicGenerateParameterizedMemberService.vb (1)
50Return Me.Document.SemanticModel.Compilation.GetSpecialType(SpecialType.System_Single)
Microsoft.CodeAnalysis.VisualBasic.Scripting (1)
Hosting\ObjectFormatter\VisualBasicTypeNameFormatter.vb (1)
38Case SpecialType.System_Single
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (9)
Compilation\SemanticModelGetDeclaredSymbolAPITests.vb (1)
2814Assert.Equal(compilation.GetSpecialType(System_Single), local.Type)
Semantics\Conversions.vb (7)
242Dim singleType = c1.GetSpecialType(System_Single) 1094Dim singleType = c1.GetSpecialType(System_Single) 1357Case System_Single : Return c.ToSingle(Nothing) 1431Case System_Single : Return CSng(value) 2054c1.GetSpecialType(System_Single), 2070nullable.Construct(c1.GetSpecialType(System_Single)), 2194Private Const s_single = System_Single
Semantics\OverloadResolution.vb (1)
2511System_Decimal, System_Single, System_Double}
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (1)
SymbolsTests\Source\PropertyTests.vb (1)
4347Assert.Equal(SpecialType.System_Single, propertiesDictionary!SingleType.Type.SpecialType)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Syntax\ConstantExpressionEvaluatorTests.vb (1)
22Assert.Equal(ConstantValueTypeDiscriminator.Single, SpecialType.System_Single.ToConstantValueDiscriminator())
Microsoft.CodeAnalysis.VisualBasic.Workspaces (10)
CodeGeneration\VisualBasicSyntaxGenerator.vb (1)
413Case SpecialType.System_Single
Simplification\Simplifiers\AbstractVisualBasicSimplifier.vb (1)
41Case SpecialType.System_Single
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)
266ElseIf TypeOf value Is Single AndAlso Not IsSpecialType(type, SpecialType.System_Single) Then 320type, SpecialType.System_Single, value, canUseFieldReference,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ITypeSymbolExtensions.vb (3)
41Case specialType.System_Single 83specialType = specialType.System_Single 113SpecialType.System_Single,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\StringExtensions.vb (1)
106SpecialType.System_Single,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\TypeSyntaxGeneratorVisitor.vb (1)
120Case SpecialType.System_Single
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (1)
CodeGeneration\SyntaxGeneratorTests.vb (1)
278VerifySyntax(Of TypeSyntax)(Generator.TypeExpression(SpecialType.System_Single), "Single")
Microsoft.CodeAnalysis.Workspaces (15)
src\Compilers\Core\Portable\SpecialTypeExtensions.cs (6)
55case SpecialType.System_Single: 78case SpecialType.System_Single: 119case SpecialType.System_Single: 157case SpecialType.System_Single: 194case SpecialType.System_Single: 323return SpecialType.System_Single;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.cs (3)
298case SpecialType.System_Single: 384case SpecialType.System_Single: 667case SpecialType.System_Single:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\PredefinedTypeExtensions.cs (1)
27PredefinedType.Single => SpecialType.System_Single,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SpecialTypeExtensions.cs (1)
27SpecialType.System_Single => PredefinedType.Single,
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)
145SpecialType.System_Single => value is float,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (1)
27case SpecialType.System_Single:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
427case SpecialType.System_Single:
Microsoft.Extensions.Options.SourceGeneration (1)
OptionsSourceGenContext.cs (1)
59SpecialType.System_Single => true,
Microsoft.Gen.Metrics (1)
Parser.cs (1)
41SpecialType.System_Single,
Microsoft.Gen.MetricsReports (1)
src\Generators\Microsoft.Gen.Metrics\Parser.cs (1)
41SpecialType.System_Single,
Microsoft.Interop.JavaScript.JSImportGenerator (1)
JSManagedTypeInfo.cs (1)
54case { SpecialType: SpecialType.System_Single }:
Microsoft.Interop.SourceGeneration (3)
Marshalling\MarshalAsMarshallingGeneratorResolver.cs (1)
51or { ManagedType: SpecialTypeInfo { SpecialType: SpecialType.System_Single }, MarshallingAttributeInfo: NoMarshallingInfo or MarshalAsInfo(UnmanagedType.R4, _) }
MarshallingAttributeInfo.cs (1)
134SpecialType.System_Single => CreateWellKnownComExceptionMarshallingData($"{TypeNames.ExceptionAsNaNMarshaller}<float>", unmanagedReturnType),
TypeSymbolExtensions.cs (1)
202or SpecialType.System_Single
Microsoft.VisualStudio.LanguageServices.CSharp (1)
CodeModel\CSharpCodeModelService.cs (1)
731case SpecialType.System_Single:
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
CodeModel\VisualBasicCodeModelService.vb (1)
795Case SpecialType.System_Single
System.Text.Json.SourceGeneration (1)
Helpers\RoslynExtensions.cs (1)
195SpecialType.System_Single or SpecialType.System_Double or SpecialType.System_Decimal;