339 references to System_Int64
ConfigurationSchemaGenerator (1)
RuntimeSource\Configuration.Binder\ConfigurationBindingGenerator.Parser.cs (1)
279case SpecialType.System_Int64:
Microsoft.Analyzers.Local (1)
CallAnalysis\ToInvariantString.cs (1)
21SpecialType.System_Int64,
Microsoft.CodeAnalysis (39)
Compilation\Expression.cs (1)
15case SpecialType.System_Int64:
ConstantValue.cs (2)
446case SpecialType.System_Int64: return ConstantValueTypeDiscriminator.Int64; 498case ConstantValueTypeDiscriminator.Int64: return SpecialType.System_Int64;
Emit\CommonPEModuleBuilder.cs (1)
1090this.GetSpecialType(SpecialType.System_Int64, syntaxNodeOpt, diagnostics),
MetadataReader\MetadataTypeCodeExtensions.cs (3)
46return SpecialType.System_Int64; 116case SpecialType.System_Int64: 160case SpecialType.System_Int64:
SpecialMembers.cs (7)
332(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Int64, 602(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Int64, 721(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Int64, 752(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Int64, 895(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Int64, 974(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Int64, 999(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Int64,
SpecialTypeExtensions.cs (12)
28case SpecialType.System_Int64: 53case SpecialType.System_Int64: 76case SpecialType.System_Int64: 113case SpecialType.System_Int64: 150case SpecialType.System_Int64: 174case SpecialType.System_Int64: 192case SpecialType.System_Int64: 216case SpecialType.System_Int64: 245case SpecialType.System_Int64: 267case SpecialType.System_Int64: 303return SpecialType.System_Int64; 384SpecialType.System_Int64 => (ulong)(long)value,
SpecialTypes.cs (2)
110s_typeIdToTypeCodeMap[(int)SpecialType.System_Int64] = Microsoft.Cci.PrimitiveTypeCode.Int64; 134s_typeCodeToTypeIdMap[(int)Microsoft.Cci.PrimitiveTypeCode.Int64] = SpecialType.System_Int64;
Symbols\Attributes\CommonAttributeData.cs (1)
242long value = this.CommonConstructorArguments[0].DecodeValue<long>(SpecialType.System_Int64);
Symbols\INamedTypeSymbolInternal.cs (1)
54case SpecialType.System_Int64:
Symbols\TypedConstant.cs (1)
168case SpecialType.System_Int64:
WellKnownMembers.cs (8)
67(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Int64, 242(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Int64, // Return Type 250(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Int64, // Return Type 258(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Int64, // Return Type 867(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Int64, 1402(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Int64, // Return Type 1499(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Int64, 1618(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Int64, // Return Type
Microsoft.CodeAnalysis.CodeStyle (18)
src\Compilers\Core\Portable\SpecialTypeExtensions.cs (12)
28case SpecialType.System_Int64: 53case SpecialType.System_Int64: 76case SpecialType.System_Int64: 113case SpecialType.System_Int64: 150case SpecialType.System_Int64: 174case SpecialType.System_Int64: 192case SpecialType.System_Int64: 216case SpecialType.System_Int64: 245case SpecialType.System_Int64: 267case SpecialType.System_Int64: 303return SpecialType.System_Int64; 384SpecialType.System_Int64 => (ulong)(long)value,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.cs (3)
296case SpecialType.System_Int64: 388case SpecialType.System_Int64: 664case SpecialType.System_Int64:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\PredefinedTypeExtensions.cs (1)
24PredefinedType.Int64 => SpecialType.System_Int64,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SpecialTypeExtensions.cs (1)
24SpecialType.System_Int64 => PredefinedType.Int64,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (1)
66SpecialType.System_Int64 => (long)1,
Microsoft.CodeAnalysis.CodeStyle.Fixes (5)
src\Analyzers\Core\CodeFixes\GenerateConstructor\AbstractGenerateConstructorService.State.cs (1)
388case SpecialType.System_Int64:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (1)
142SpecialType.System_Int64 => value is long,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (1)
25case SpecialType.System_Int64:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
424case SpecialType.System_Int64:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateGetHashCodeMethod.cs (1)
137: factory.LocalDeclarationStatement(compilation.GetSpecialType(SpecialType.System_Int64), HashCodeName, CreateLiteralExpression(factory, initHash)));
Microsoft.CodeAnalysis.CSharp (73)
Binder\Binder_Expressions.cs (3)
4697if (type == SpecialType.System_Int64) 7268case SpecialType.System_Int64: 9410TryImplicitConversionToArrayIndex(index, SpecialType.System_Int64, node, diagnostics) ??
Binder\Binder_Operators.cs (2)
1697case SpecialType.System_Int64: 3119return new BoundLiteral(node, ConstantValue.Create(-9223372036854775808), GetSpecialType(SpecialType.System_Int64, diagnostics, node));
Binder\Binder_Patterns.cs (1)
1706SpecialType.System_Int64 => BinaryOperatorKind.Long,
Binder\DecisionDagBuilder.cs (6)
1570case (SpecialType.System_Int64, SpecialType.System_UInt64): 1571case (SpecialType.System_UInt64, SpecialType.System_Int64): 1590case (SpecialType.System_Int64, SpecialType.System_IntPtr): 1591case (SpecialType.System_Int64, SpecialType.System_UIntPtr): 1594case (SpecialType.System_IntPtr, SpecialType.System_Int64): 1596case (SpecialType.System_UIntPtr, SpecialType.System_Int64):
Binder\PatternExplainer.cs (2)
701SpecialType.System_Int64 => true, 729case SpecialType.System_Int64:
Binder\Semantics\Conversions\ConversionsBase.cs (4)
1390else if (specialSource == SpecialType.System_Int64 && destination.GetSpecialTypeSafe() == SpecialType.System_UInt64 && (constantValue.IsBad || 0 <= constantValue.Int64Value)) 2110case SpecialType.System_Int64: 2195case SpecialType.System_Int64: 3932case SpecialType.System_Int64:
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (4)
553operators.Add(new BinaryOperatorSignature(BinaryOperatorKind.PointerAndLongAddition, pointerType, Compilation.GetSpecialType(SpecialType.System_Int64), pointerType)); 557operators.Add(new BinaryOperatorSignature(BinaryOperatorKind.LongAndPointerAddition, Compilation.GetSpecialType(SpecialType.System_Int64), pointerType, pointerType)); 563operators.Add(new BinaryOperatorSignature(BinaryOperatorKind.PointerAndLongSubtraction, pointerType, Compilation.GetSpecialType(SpecialType.System_Int64), pointerType)); 565operators.Add(new BinaryOperatorSignature(BinaryOperatorKind.PointerSubtraction, pointerType, pointerType, Compilation.GetSpecialType(SpecialType.System_Int64)));
Binder\Semantics\Operators\OperatorFacts.cs (1)
44case SpecialType.System_Int64:
Binder\Semantics\Operators\OperatorKindExtensions.cs (2)
156case SpecialType.System_Int64: 174case SpecialType.System_Int64:
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
3744case SpecialType.System_Int64:
CodeGen\EmitArrayInitializer.cs (1)
808SpecialType.System_Int64 or SpecialType.System_UInt64 or SpecialType.System_Double;
CodeGen\EmitExpression.cs (2)
1342case SpecialType.System_Int64: 2348expression.Type.SpecialType == SpecialType.System_Int64 ||
Compilation\BuiltInOperators.cs (5)
270case UnaryOperatorKind.Long: opType = _compilation.GetSpecialType(SpecialType.System_Int64); break; 750case BinaryOperatorKind.Long: return _compilation.GetSpecialType(SpecialType.System_Int64); 782case BinaryOperatorKind.Long: return _compilation.GetSpecialType(SpecialType.System_Int64); 814case BinaryOperatorKind.Long: return _compilation.GetSpecialType(SpecialType.System_Int64); 841BinaryOperatorKind.Long => _compilation.GetSpecialType(SpecialType.System_Int64),
Compilation\CSharpCompilation.cs (3)
1728case SpecialType.System_Int64: 4405csharpReturnType.SpecialType is SpecialType.System_Int64 && 4424=> type.SpecialType is SpecialType.System_Int32 or SpecialType.System_UInt32 or SpecialType.System_Int64 or SpecialType.System_UInt64;
FlowAnalysis\AbstractFlowPass.cs (1)
1468case SpecialType.System_Int64:
Lowering\Instrumentation\LocalStateTracingInstrumenter.cs (1)
223SpecialType.System_Int64 or SpecialType.System_UInt64
Lowering\LocalRewriter\LocalRewriter.DecisionDagRewriter.cs (1)
792input = _factory.Convert(_factory.SpecialType(SpecialType.System_Int64), input);
Lowering\LocalRewriter\LocalRewriter_BinaryOperator.cs (5)
2358case SpecialType.System_Int64: 2395TypeSymbol longType = _factory.SpecialType(SpecialType.System_Int64); 2406case SpecialType.System_Int64: 2408TypeSymbol longType = _factory.SpecialType(SpecialType.System_Int64); 2454Debug.Assert(returnType.SpecialType == SpecialType.System_Int64);
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (7)
1564case SpecialType.System_Int64: 1589case SpecialType.System_Int64: 1614case SpecialType.System_Int64: 1639case SpecialType.System_Int64: 1665case SpecialType.System_Int64: return SpecialMember.System_Decimal__op_Explicit_ToInt64; 1685case SpecialType.System_Int64: return SpecialMember.System_Decimal__op_Implicit_FromInt64; 1723static TypeSymbol get64BitType(CSharpCompilation compilation, bool signed) => compilation.GetSpecialType(signed ? SpecialType.System_Int64 : SpecialType.System_UInt64);
Lowering\LocalRewriter\LocalRewriter_Literal.cs (2)
112arguments.Add(new BoundLiteral(syntax, ConstantValue.Create((long)value), _compilation.GetSpecialType(SpecialType.System_Int64))); 148arguments.Add(new BoundLiteral(syntax, ConstantValue.Create(constantValue.DateTimeValue.Ticks), _compilation.GetSpecialType(SpecialType.System_Int64)));
Lowering\LocalRewriter\LocalRewriter_PointerElementAccess.cs (1)
56case SpecialType.System_Int64:
Lowering\LocalRewriter\LocalRewriter_UnaryOperator.cs (2)
935specialType = SpecialType.System_Int64; 1043case SpecialType.System_Int64:
Parser\Lexer.cs (3)
366case SpecialType.System_Int64: 1103info.ValueKind = SpecialType.System_Int64; 1135info.ValueKind = SpecialType.System_Int64;
SymbolDisplay\SymbolDisplayVisitor.Types.cs (1)
647case SpecialType.System_Int64:
Symbols\Attributes\SourceAttributeData.cs (1)
390if (specType != SpecialType.System_Int64)
Symbols\Compilation_WellKnownMembers.cs (1)
481var ticks = new TypedConstant(GetSpecialType(SpecialType.System_Int64), TypedConstantKind.Primitive, value.Ticks);
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
1923case SpecialType.System_Int64:
Symbols\Source\SourceAssemblySymbol.cs (1)
2793case SpecialType.System_Int64:
Symbols\SpecialTypeExtensions.cs (1)
20case SpecialType.System_Int64:
Symbols\TypeSymbolExtensions.cs (5)
652case SpecialType.System_Int64: 1351case SpecialType.System_Int64: 1456case SpecialType.System_Int64: 2220case SpecialType.System_Int64: return 7; 2243case SpecialType.System_Int64: return 22;
Syntax\SyntaxKindExtensions.cs (1)
32return SpecialType.System_Int64;
Utilities\ValueSetFactory.cs (1)
43SpecialType.System_Int64 => ForLong,
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ITypeSymbolExtensions.cs (1)
24case SpecialType.System_Int64:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ExpressionGenerator.cs (1)
147if (value is long && !IsSpecialType(type, SpecialType.System_Int64))
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (3)
CodeGen\CodeGenAsyncTests.cs (2)
926Assert.Equal(SpecialType.System_Int64, hoistedField.Type.SpecialType); 985Assert.Equal(SpecialType.System_Int64, hoistedField.Type.SpecialType);
Emit\EmitMetadataTests.cs (1)
461Assert.Same(module.GetCorLibType(SpecialType.System_Int64), method4ParamTypes[5]);
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\KeywordRecommenders\LongKeywordRecommender.cs (1)
55protected override SpecialType SpecialType => SpecialType.System_Int64;
Completion\Providers\DefaultArgumentProvider.cs (1)
47SpecialType.System_Int64 => "0L",
Microsoft.CodeAnalysis.CSharp.Scripting (1)
Hosting\ObjectFormatter\CSharpTypeNameFormatter.cs (1)
38case SpecialType.System_Int64: return "long";
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
Semantics\InteractiveUsingTests.cs (1)
196Assert.Equal(SpecialType.System_Int64, GetSpeculativeType(sub4, "A").SpecialType);
Semantics\OperatorTests.cs (1)
8230signature = new BinaryOperatorSignature(op | BinaryOperatorKind.Pointer, leftType, rightType, compilation.GetSpecialType(SpecialType.System_Int64));
Semantics\UnsafeTests.cs (3)
8917Assert.Equal(SpecialType.System_Int64, summary.Type.SpecialType); 8918Assert.Equal(SpecialType.System_Int64, summary.ConvertedType.SpecialType); 10587{ SpecialType.System_Int64, 8 },
Utilities\ValueSetTests.cs (1)
498Assert.Same(ForLong, ForSpecialType(SpecialType.System_Int64));
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (28)
Compilation\GetSemanticInfoTests.cs (3)
3644Assert.Equal(SpecialType.System_Int64, castTypeInfo.Type.SpecialType); 3713Assert.Equal(SpecialType.System_Int64, cast1TypeInfo.Type.SpecialType); 3714Assert.Equal(SpecialType.System_Int64, cast1TypeInfo.ConvertedType.SpecialType);
Compilation\SemanticModelAPITests.cs (1)
3202Assert.Equal(SpecialType.System_Int64, info.ConvertedType.SpecialType);
DocumentationComments\CrefTests.cs (1)
5404Assert.Equal(compilation.GetSpecialType(SpecialType.System_Int64), model.GetSymbolInfo(crefSyntaxes[1]).Symbol);
Symbols\DefaultInterfaceImplementationTests.cs (14)
34846var test2i1 = i1.Construct(m.ContainingAssembly.GetSpecialType(SpecialType.System_Int64)); 34847var test2i1m1 = i1.Construct(m.ContainingAssembly.GetSpecialType(SpecialType.System_Int64)).GetMember<MethodSymbol>("M1"); 34848var test2i1m2 = i1.Construct(m.ContainingAssembly.GetSpecialType(SpecialType.System_Int64)).GetMember<MethodSymbol>("M2"); 34849var test2i2 = i2.Construct(m.ContainingAssembly.GetSpecialType(SpecialType.System_Int64)); 34850var test2i2m1 = i2.Construct(m.ContainingAssembly.GetSpecialType(SpecialType.System_Int64)).GetMember<MethodSymbol>("I1<T>.M1"); 34851var test2i2m2 = i2.Construct(m.ContainingAssembly.GetSpecialType(SpecialType.System_Int64)).GetMember<MethodSymbol>("I1<T>.M2"); 39142var test2i1 = i1.Construct(m.ContainingAssembly.GetSpecialType(SpecialType.System_Int64)); 39143var test2i1m1 = GetSingleProperty(i1.Construct(m.ContainingAssembly.GetSpecialType(SpecialType.System_Int64))); 39144var test2i2 = i2.Construct(m.ContainingAssembly.GetSpecialType(SpecialType.System_Int64)); 39145var test2i2m1 = GetSingleProperty(i2.Construct(m.ContainingAssembly.GetSpecialType(SpecialType.System_Int64))); 41818var test2i1 = i1.Construct(m.ContainingAssembly.GetSpecialType(SpecialType.System_Int64)); 41819var test2i1m1 = GetSingleEvent(i1.Construct(m.ContainingAssembly.GetSpecialType(SpecialType.System_Int64))); 41820var test2i2 = i2.Construct(m.ContainingAssembly.GetSpecialType(SpecialType.System_Int64)); 41821var test2i2m1 = GetSingleEvent(i2.Construct(m.ContainingAssembly.GetSpecialType(SpecialType.System_Int64)));
Symbols\Source\BaseClassTests.cs (1)
2034Assert.Equal(SpecialType.System_Int64, typeInfo.ConvertedType.SpecialType);
Symbols\Source\CustomModifierCopyTests.cs (5)
812var baseIndexer2 = (PropertySymbol)baseClass.GetMembers().Where(IsPropertyWithSingleParameter(SpecialType.System_Int64, isArrayType: true)).Single(); 816var derivedIndexer2 = (PropertySymbol)derivedClass.GetMembers().Where(IsPropertyWithSingleParameter(SpecialType.System_Int64, isArrayType: true)).Single(); 820var derived2Indexer2 = (PropertySymbol)derived2Class.GetMembers().Where(IsPropertyWithSingleParameter(SpecialType.System_Int64, isArrayType: true)).Single(); 1784var int64Type = comp.GetSpecialType(SpecialType.System_Int64); 1998var int64Type = comp.GetSpecialType(SpecialType.System_Int64);
Symbols\Source\EnumTests.cs (1)
998specialType = SpecialType.System_Int64;
Symbols\Source\MethodTests.cs (1)
1380Assert.Equal(SpecialType.System_Int64, classCBaseTypeArguments[1].SpecialType);
Symbols\TypeTests.cs (1)
1561Assert.Same(comp.GetSpecialType(SpecialType.System_Int64), memType.GetNullableUnderlyingType());
Microsoft.CodeAnalysis.CSharp.Workspaces (10)
CodeGeneration\CSharpSyntaxGenerator.cs (2)
3267case SpecialType.System_Int64: 3454SpecialType.System_Int64 => LongKeyword,
Recommendations\CSharpRecommendationServiceRunner_Conversions.cs (5)
28SpecialType.System_Int64, 97SpecialType.System_Int64, 112SpecialType.System_Int64, 127SpecialType.System_Int64, 219SpecialType.System_Int64 => s_int64Conversions,
Simplification\Simplifiers\AbstractCSharpSimplifier.cs (1)
48SpecialType.System_Int64 => SyntaxKind.LongKeyword,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ITypeSymbolExtensions.cs (1)
24case SpecialType.System_Int64:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\CodeGeneration\ExpressionGenerator.cs (1)
147if (value is long && !IsSpecialType(type, SpecialType.System_Int64))
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
CodeGeneration\SyntaxGeneratorTests.cs (1)
299VerifySyntax<TypeSyntax>(Generator.TypeExpression(SpecialType.System_Int64), "long");
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (1)
PDB\PdbHelpers.cs (1)
97(SpecialType.System_Int64, long longVal) => ConstantValue.Create(longVal),
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\CodeFixes\GenerateConstructor\AbstractGenerateConstructorService.State.cs (1)
388case SpecialType.System_Int64:
Microsoft.CodeAnalysis.Scripting (2)
Hosting\ObjectFormatter\CommonPrimitiveFormatter.cs (1)
76case SpecialType.System_Int64:
Hosting\ObjectFormatter\ObjectFormatterHelpers.cs (1)
302return SpecialType.System_Int64;
Microsoft.CodeAnalysis.UnitTests (1)
CorLibTypesTests.cs (1)
50Assert.Equal(SpecialType.System_Int64, SpecialTypes.GetTypeFromMetadataName(Cci.PrimitiveTypeCode.Int64));
Microsoft.CodeAnalysis.VisualBasic (58)
Analysis\FlowAnalysis\AbstractFlowPass.vb (1)
343SpecialType.System_Int64,
Binding\Binder_Conversions.vb (1)
286Case SyntaxKind.CLngKeyword : targetType = SpecialType.System_Int64
Binding\Binder_Lookup.vb (1)
465Return SpecialType.System_Int64
Binding\Binder_SelectCase.vb (1)
704SpecialType.System_Int64,
Binding\Binder_Symbols.vb (1)
794type = SpecialType.System_Int64
Binding\Binder_Utils.vb (3)
722specialType = SpecialType.System_Int64 725specialType = SpecialType.System_Int64 1381SpecialType.System_Int64,
Binding\DocumentationCommentCrefBinder_Compat.vb (1)
380type = SpecialType.System_Int64
BoundTree\BoundExpressionExtensions.vb (1)
434Case SpecialType.System_Int64
CodeGen\EmitExpression.vb (1)
1623Debug.Assert(expression.Type.SpecialType = SpecialType.System_Int32 OrElse expression.Type.SpecialType = SpecialType.System_Int64 OrElse expression.Type.SpecialType = SpecialType.System_UIntPtr)
Lowering\AsyncRewriter\AsyncRewriter.AsyncMethodToClassRewriter.Spilling.vb (1)
488SpecialType.System_Int64,
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (1)
717If resultType.SpecialType = SpecialType.System_Int64 Then
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_Conversion.vb (5)
318Return Me._factory.SpecialType(SpecialType.System_Int64) 461Case SpecialType.System_Int64 : wellKnownHelper = WellKnownMember.System_Convert__ToBooleanInt64 524Case SpecialType.System_Int64 550Case SpecialType.System_Int64 : specialHelper = SpecialMember.System_Decimal__op_Implicit_FromInt64 591Case SpecialType.System_Int64 : wellKnownHelper = WellKnownMember.Microsoft_VisualBasic_CompilerServices_Conversions__ToStringInt64
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (5)
846Case SpecialType.System_Int64 : member = WellKnownMember.Microsoft_VisualBasic_CompilerServices_Conversions__ToLongObject 939Case SpecialType.System_Int64 : member = WellKnownMember.Microsoft_VisualBasic_CompilerServices_Conversions__ToStringInt64 1011Case SpecialType.System_Int64 : member = WellKnownMember.Microsoft_VisualBasic_CompilerServices_Conversions__ToLongString 1079Case SpecialType.System_Int64 : member = SpecialMember.System_Decimal__CtorInt64 1151Case SpecialType.System_Int64 : member = WellKnownMember.System_Convert__ToInt64Decimal
Preprocessor\CConst.vb (2)
57Case SpecialType.System_Int64 113Return New CConst(Of Long)(value, SpecialType.System_Int64)
Preprocessor\ExpressionEvaluator.vb (8)
31Const ____Int64 = CType(SpecialType.System_Int64, Byte) 87Case SpecialType.System_Int64 330Case SpecialType.System_Int64 366Return SpecialType.System_Int64 517specialType = SpecialType.System_Int64 663numericVal = NarrowIntegralResult(numericVal, SpecialType.System_Int64, toSpecialType, False) 881Case SpecialType.System_Int64 920Case SpecialType.System_Int64
Preprocessor\OperatorResolution.vb (2)
46Case SpecialType.System_Int64 87Const t_i8 As Byte = CType(SpecialType.System_Int64, Byte)
Semantics\Conversions.vb (1)
3346Case SpecialType.System_Int64, SpecialType.System_UInt64
Semantics\Operators.vb (6)
596SpecialType.System_Int64, 607intrinsicOperatorType = SpecialType.System_Int64 629SpecialType.System_Int64, 660SpecialType.System_Int64, 672intrinsicOperatorType = SpecialType.System_Int64 1728Const tLng As SByte = SpecialType.System_Int64
Symbols\Attributes\SourceAttributeData.vb (1)
229foundMatch = specType = SpecialType.System_Int64
Symbols\Metadata\PE\PENamedTypeSymbol.vb (1)
1150SpecialType.System_Int64,
Symbols\Source\SourceFieldSymbol.vb (1)
685Dim specialTypeInt64 = Me.ContainingAssembly.GetSpecialType(SpecialType.System_Int64)
Symbols\Source\SourceParameterSymbolBase.vb (1)
63ImmutableArray.Create(New TypedConstant(compilation.GetSpecialType(SpecialType.System_Int64),
Symbols\SpecialTypeExtensions.vb (10)
35SpecialType.System_Int64, 57SpecialType.System_Int64, 105SpecialType.System_Int64, 127SpecialType.System_Int64, 157Case SpecialType.System_Int64 204Case SpecialType.System_Int64 243Case SpecialType.System_Int64 291Case SpecialType.System_Int64 326Case SpecialType.System_Int64, SpecialType.System_UInt64 343Case SpecialType.System_Int64
Symbols\TypeSymbolExtensions.vb (1)
444Case SpecialType.System_Int64
Syntax\VisualBasicSyntaxTree.ConditionalSymbolsMap.vb (1)
191Case SpecialType.System_Int64
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\CastAnalyzer.vb (1)
384SpecialType.System_UInt64, SpecialType.System_Int64,
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (8)
src\Analyzers\VisualBasic\CodeFixes\GenerateParameterizedMember\VisualBasicGenerateParameterizedMemberService.vb (1)
46Return Me.Document.SemanticModel.Compilation.GetSpecialType(SpecialType.System_Int64)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\ExpressionGenerator.vb (2)
77Return GenerateIntegralLiteralExpression(type, SpecialType.System_Int64, DirectCast(value, Long), canUseFieldReference, LiteralSpecialValues.Int64SpecialValues, Function(x) x < 0, Function(x) -x, "9223372036854775808") 232ElseIf TypeOf value Is Long AndAlso Not IsSpecialType(type, SpecialType.System_Int64) Then
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ITypeSymbolExtensions.vb (3)
35Case specialType.System_Int64 77specialType = specialType.System_Int64 111SpecialType.System_Int64,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\StringExtensions.vb (1)
104SpecialType.System_Int64,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\TypeSyntaxGeneratorVisitor.vb (1)
112Case SpecialType.System_Int64
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Emit\EmitMetadata.vb (1)
524Assert.Same([Module].GetCorLibType(SpecialType.System_Int64), method4ParamTypes(5))
Microsoft.CodeAnalysis.VisualBasic.Features (3)
Completion\KeywordRecommenders\Types\BuiltInTypesKeywordRecommender.vb (1)
93SpecialType.System_Int64,
Completion\Providers\DefaultArgumentProvider.vb (1)
42Case SpecialType.System_Int64
src\Analyzers\VisualBasic\CodeFixes\GenerateParameterizedMember\VisualBasicGenerateParameterizedMemberService.vb (1)
46Return Me.Document.SemanticModel.Compilation.GetSpecialType(SpecialType.System_Int64)
Microsoft.CodeAnalysis.VisualBasic.Scripting (1)
Hosting\ObjectFormatter\VisualBasicTypeNameFormatter.vb (1)
34Case SpecialType.System_Int64
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (15)
Semantics\Conversions.vb (10)
239Dim int64Type = c1.GetSpecialType(System_Int64) 1091Dim int64Type = c1.GetSpecialType(System_Int64) 1355Case System_Int64 : Return c.ToInt64(Nothing) 1380Case System_Int64 : Return UncheckedCLng(val) 1396Case System_Int64 : Return UncheckedCLng(val) 1412Case System_Int64 : Return UncheckedCLng(val) 1429Case System_Int64 : Return CLng(value) 2052c1.GetSpecialType(System_Int64), 2068nullable.Construct(c1.GetSpecialType(System_Int64)), 2192Private Const s_long = System_Int64
Semantics\GetExtendedSemanticInfoTests.vb (2)
5627Assert.Equal(System_Int64, semanticInfo.ConvertedType.SpecialType) 5680Assert.Equal(System_Int64, semanticInfo.Type.SpecialType)
Semantics\OverloadResolution.vb (3)
195Dim longZero As BoundExpression = New BoundLiteral(_syntaxNode, ConstantValue.Create(0L), c1.GetSpecialType(System_Int64)) 197Dim longConst As BoundExpression = New BoundConversion(_syntaxNode, New BoundLiteral(_syntaxNode, ConstantValue.Null, Nothing), ConversionKind.Widening, True, True, ConstantValue.Create(-1L), c1.GetSpecialType(System_Int64), Nothing) 2510System_Int32, System_UInt32, System_Int64, System_UInt64,
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (10)
SymbolsTests\Source\EnumTests.vb (2)
865VerifyEnumsValue(comp, "Figure", SpecialType.System_Int64, CLng(0), CLng(1), CLng(2)) 1350Return VerifyEnumsValue(comp, enumName, If(expectedEnumValues.Any() AndAlso expectedEnumValues.First().GetType() Is GetType(Long), SpecialType.System_Int64, SpecialType.System_Int32), expectedEnumValues)
SymbolsTests\Source\FieldTests.vb (1)
135Assert.Same(sourceMod.GetCorLibType(SpecialType.System_Int64), fieldS.Type)
SymbolsTests\Source\ImplementsTests.vb (2)
2314Dim ifooTypeSayWithLong = (From m In ifooMethods Where m.Parameters(0).Type.SpecialType = SpecialType.System_Int64).First() 2405Dim ifooTypeStyleWithLong = (From m In ifooProps Where m.Parameters(0).Type.SpecialType = SpecialType.System_Int64).First()
SymbolsTests\Source\OverridesTests.vb (4)
2500Dim x1LongArgGetter = (From meth In x1Getters Let params = meth.Parameters Where params.Length = 1 AndAlso params(0).Type.SpecialType = SpecialType.System_Int64 Select meth).First() 2507Dim x2LongArgGetter = (From meth In x2Getters Let params = meth.Parameters Where params.Length = 1 AndAlso params(0).Type.SpecialType = SpecialType.System_Int64 Select meth).First() 2520Dim x1LongArgSetter = (From meth In x1Setters Let params = meth.Parameters Where params.Length = 2 AndAlso params(0).Type.SpecialType = SpecialType.System_Int64 Select meth).First() 2527Dim x2LongArgSetter = (From meth In x2Setters Let params = meth.Parameters Where params.Length = 2 AndAlso params(0).Type.SpecialType = SpecialType.System_Int64 Select meth).First()
SymbolsTests\Source\PropertyTests.vb (1)
4345Assert.Equal(SpecialType.System_Int64, propertiesDictionary!LongType.Type.SpecialType)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Syntax\ConstantExpressionEvaluatorTests.vb (1)
18Assert.Equal(ConstantValueTypeDiscriminator.Int64, SpecialType.System_Int64.ToConstantValueDiscriminator())
Microsoft.CodeAnalysis.VisualBasic.Workspaces (10)
CodeGeneration\VisualBasicSyntaxGenerator.vb (1)
407Case SpecialType.System_Int64
Simplification\Simplifiers\AbstractVisualBasicSimplifier.vb (1)
37Case SpecialType.System_Int64
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\VisualBasic\Utilities\CastAnalyzer.vb (1)
384SpecialType.System_UInt64, SpecialType.System_Int64,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\CodeGeneration\ExpressionGenerator.vb (2)
77Return GenerateIntegralLiteralExpression(type, SpecialType.System_Int64, DirectCast(value, Long), canUseFieldReference, LiteralSpecialValues.Int64SpecialValues, Function(x) x < 0, Function(x) -x, "9223372036854775808") 232ElseIf TypeOf value Is Long AndAlso Not IsSpecialType(type, SpecialType.System_Int64) Then
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ITypeSymbolExtensions.vb (3)
35Case specialType.System_Int64 77specialType = specialType.System_Int64 111SpecialType.System_Int64,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\StringExtensions.vb (1)
104SpecialType.System_Int64,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\TypeSyntaxGeneratorVisitor.vb (1)
112Case SpecialType.System_Int64
Microsoft.CodeAnalysis.VisualBasic.Workspaces.UnitTests (1)
CodeGeneration\SyntaxGeneratorTests.vb (1)
275VerifySyntax(Of TypeSyntax)(Generator.TypeExpression(SpecialType.System_Int64), "Long")
Microsoft.CodeAnalysis.Workspaces (23)
Recommendations\AbstractRecommendationServiceRunner.cs (1)
312AddSpecialTypeSymbolAndItsAliases(nameof(Int64), SpecialType.System_Int64);
src\Compilers\Core\Portable\SpecialTypeExtensions.cs (12)
28case SpecialType.System_Int64: 53case SpecialType.System_Int64: 76case SpecialType.System_Int64: 113case SpecialType.System_Int64: 150case SpecialType.System_Int64: 174case SpecialType.System_Int64: 192case SpecialType.System_Int64: 216case SpecialType.System_Int64: 245case SpecialType.System_Int64: 267case SpecialType.System_Int64: 303return SpecialType.System_Int64; 384SpecialType.System_Int64 => (ulong)(long)value,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.cs (3)
296case SpecialType.System_Int64: 388case SpecialType.System_Int64: 664case SpecialType.System_Int64:
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\PredefinedTypeExtensions.cs (1)
24PredefinedType.Int64 => SpecialType.System_Int64,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SpecialTypeExtensions.cs (1)
24SpecialType.System_Int64 => PredefinedType.Int64,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\EnumValueUtilities.cs (1)
66SpecialType.System_Int64 => (long)1,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\CodeGenerationHelpers.cs (1)
142SpecialType.System_Int64 => value is long,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\CodeGeneration\LiteralSpecialValues.cs (1)
25case SpecialType.System_Int64:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
424case SpecialType.System_Int64:
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateGetHashCodeMethod.cs (1)
137: factory.LocalDeclarationStatement(compilation.GetSpecialType(SpecialType.System_Int64), HashCodeName, CreateLiteralExpression(factory, initHash)));
Microsoft.Extensions.Options.SourceGeneration (1)
OptionsSourceGenContext.cs (1)
57SpecialType.System_Int64 => true,
Microsoft.Gen.Metrics (2)
Parser.cs (1)
39SpecialType.System_Int64,
SymbolLoader.cs (1)
36var longType = compilation.GetSpecialType(SpecialType.System_Int64);
Microsoft.Gen.MetricsReports (2)
src\Generators\Microsoft.Gen.Metrics\Parser.cs (1)
39SpecialType.System_Int64,
src\Generators\Microsoft.Gen.Metrics\SymbolLoader.cs (1)
36var longType = compilation.GetSpecialType(SpecialType.System_Int64);
Microsoft.Interop.JavaScript.JSImportGenerator (1)
JSManagedTypeInfo.cs (1)
49case { SpecialType: SpecialType.System_Int64 }:
Microsoft.Interop.SourceGeneration (3)
Marshalling\MarshalAsMarshallingGeneratorResolver.cs (1)
47or { ManagedType: SpecialTypeInfo { SpecialType: SpecialType.System_Int64 }, MarshallingAttributeInfo: NoMarshallingInfo or MarshalAsInfo(UnmanagedType.I8, _) }
TypeSymbolExtensions.cs (2)
183or SpecialType.System_Int64 198or SpecialType.System_Int64
Microsoft.VisualStudio.LanguageServices.CSharp (1)
CodeModel\CSharpCodeModelService.cs (1)
729case SpecialType.System_Int64:
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
CodeModel\VisualBasicCodeModelService.vb (1)
789Case SpecialType.System_Int64
System.Text.Json.SourceGeneration (1)
Helpers\RoslynExtensions.cs (1)
193SpecialType.System_SByte or SpecialType.System_Int16 or SpecialType.System_Int32 or SpecialType.System_Int64 or