330 references to System_Int64
Microsoft.CodeAnalysis (38)
Compilation\Expression.cs (1)
15case SpecialType.System_Int64:
ConstantValue.cs (2)
442case SpecialType.System_Int64: return ConstantValueTypeDiscriminator.Int64; 494case ConstantValueTypeDiscriminator.Int64: return SpecialType.System_Int64;
Emit\CommonPEModuleBuilder.cs (1)
1040this.GetSpecialType(SpecialType.System_Int64, syntaxNodeOpt, diagnostics),
InternalUtilities\EnumUtilties.cs (1)
34case SpecialType.System_Int64:
MetadataReader\MetadataTypeCodeExtensions.cs (3)
46return SpecialType.System_Int64; 116case SpecialType.System_Int64: 148case SpecialType.System_Int64:
SpecialMembers.cs (7)
243(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Int64, 513(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Int64, 632(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Int64, 663(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Int64, 806(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Int64, 885(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Int64, 910(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Int64,
SpecialTypeExtensions.cs (11)
27case SpecialType.System_Int64: 52case SpecialType.System_Int64: 75case SpecialType.System_Int64: 112case SpecialType.System_Int64: 149case SpecialType.System_Int64: 173case SpecialType.System_Int64: 191case SpecialType.System_Int64: 215case SpecialType.System_Int64: 244case SpecialType.System_Int64: 266case SpecialType.System_Int64: 302return SpecialType.System_Int64;
SpecialTypes.cs (2)
104s_typeIdToTypeCodeMap[(int)SpecialType.System_Int64] = Microsoft.Cci.PrimitiveTypeCode.Int64; 128s_typeCodeToTypeIdMap[(int)Microsoft.Cci.PrimitiveTypeCode.Int64] = SpecialType.System_Int64;
Symbols\Attributes\CommonAttributeData.cs (1)
237long value = this.CommonConstructorArguments[0].DecodeValue<long>(SpecialType.System_Int64);
Symbols\TypedConstant.cs (1)
166case SpecialType.System_Int64:
WellKnownMembers.cs (8)
87(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Int64, 262(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Int64, // Return Type 270(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Int64, // Return Type 278(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Int64, // Return Type 884(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Int64, 1394(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Int64, // Return Type 1491(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Int64, 1610(byte)SignatureTypeCode.TypeHandle, (byte)SpecialType.System_Int64, // Return Type
Microsoft.CodeAnalysis.CodeStyle (17)
EnumUtilties.cs (1)
34case SpecialType.System_Int64:
ITypeSymbolExtensions.cs (3)
294case SpecialType.System_Int64: 386case SpecialType.System_Int64: 654case SpecialType.System_Int64:
J\s\src\Compilers\Core\Portable\SpecialTypeExtensions.cs\SpecialTypeExtensions.cs (11)
27case SpecialType.System_Int64: 52case SpecialType.System_Int64: 75case SpecialType.System_Int64: 112case SpecialType.System_Int64: 149case SpecialType.System_Int64: 173case SpecialType.System_Int64: 191case SpecialType.System_Int64: 215case SpecialType.System_Int64: 244case SpecialType.System_Int64: 266case SpecialType.System_Int64: 302return SpecialType.System_Int64;
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SpecialTypeExtensions.cs\SpecialTypeExtensions.cs (1)
24SpecialType.System_Int64 => PredefinedType.Int64,
PredefinedTypeExtensions.cs (1)
24PredefinedType.Int64 => SpecialType.System_Int64,
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
CodeGenerationHelpers.cs (1)
143SpecialType.System_Int64 => value is long,
SyntaxGeneratorExtensions_CreateGetHashCodeMethod.cs (1)
137: factory.LocalDeclarationStatement(compilation.GetSpecialType(SpecialType.System_Int64), HashCodeName, CreateLiteralExpression(factory, initHash)));
Microsoft.CodeAnalysis.CSharp (87)
Binder\Binder_Conversions.cs (15)
1748case SpecialType.System_Int64: return (long)byteValue; 1768case SpecialType.System_Int64: return (long)charValue; 1788case SpecialType.System_Int64: return (long)uint16Value; 1808case SpecialType.System_Int64: return (long)uint32Value; 1828case SpecialType.System_Int64: return (long)uint64Value; 1848case SpecialType.System_Int64: return (long)nuintValue; 1867case SpecialType.System_Int64: return (long)sbyteValue; 1887case SpecialType.System_Int64: return (long)int16Value; 1907case SpecialType.System_Int64: return (long)int32Value; 1927case SpecialType.System_Int64: return (long)int64Value; 1947case SpecialType.System_Int64: return (long)nintValue; 1971case SpecialType.System_Int64: return (long)doubleValue; 1991case SpecialType.System_Int64: return (long)decimalValue; 2043case SpecialType.System_Int64: return (long.MinValue - 1D) <= value && value < (long.MaxValue + 1D); 2072case SpecialType.System_Int64: return (long.MinValue - 1M) < value && value < (long.MaxValue + 1M);
Binder\Binder_Expressions.cs (3)
4040if (type == SpecialType.System_Int64) 6201case SpecialType.System_Int64: 8069TryImplicitConversionToArrayIndex(index, SpecialType.System_Int64, node, diagnostics) ??
Binder\Binder_Operators.cs (2)
1666case SpecialType.System_Int64: 3076return new BoundLiteral(node, ConstantValue.Create(-9223372036854775808), GetSpecialType(SpecialType.System_Int64, diagnostics, node));
Binder\Binder_Patterns.cs (1)
1696SpecialType.System_Int64 => BinaryOperatorKind.Long,
Binder\DecisionDagBuilder.cs (6)
1521case (SpecialType.System_Int64, SpecialType.System_UInt64): 1522case (SpecialType.System_UInt64, SpecialType.System_Int64): 1541case (SpecialType.System_Int64, SpecialType.System_IntPtr): 1542case (SpecialType.System_Int64, SpecialType.System_UIntPtr): 1545case (SpecialType.System_IntPtr, SpecialType.System_Int64): 1547case (SpecialType.System_UIntPtr, SpecialType.System_Int64):
Binder\PatternExplainer.cs (2)
701SpecialType.System_Int64 => true, 729case SpecialType.System_Int64:
Binder\Semantics\Conversions\ConversionsBase.cs (4)
1315else if (specialSource == SpecialType.System_Int64 && destination.GetSpecialTypeSafe() == SpecialType.System_UInt64 && (constantValue.IsBad || 0 <= constantValue.Int64Value)) 1961case SpecialType.System_Int64: 2046case SpecialType.System_Int64: 3693case SpecialType.System_Int64:
Binder\Semantics\Operators\BinaryOperatorOverloadResolution.cs (4)
554operators.Add(new BinaryOperatorSignature(BinaryOperatorKind.PointerAndLongAddition, pointerType, Compilation.GetSpecialType(SpecialType.System_Int64), pointerType)); 558operators.Add(new BinaryOperatorSignature(BinaryOperatorKind.LongAndPointerAddition, Compilation.GetSpecialType(SpecialType.System_Int64), pointerType, pointerType)); 564operators.Add(new BinaryOperatorSignature(BinaryOperatorKind.PointerAndLongSubtraction, pointerType, Compilation.GetSpecialType(SpecialType.System_Int64), pointerType)); 566operators.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)
3043case SpecialType.System_Int64:
CodeGen\EmitArrayInitializer.cs (1)
712SpecialType.System_Int64 or SpecialType.System_UInt64 or SpecialType.System_Double;
CodeGen\EmitExpression.cs (2)
1302case SpecialType.System_Int64: 2125expression.Type.SpecialType == SpecialType.System_Int64 ||
Compilation\BuiltInOperators.cs (5)
270case UnaryOperatorKind.Long: opType = _compilation.GetSpecialType(SpecialType.System_Int64); break; 753case BinaryOperatorKind.Long: return _compilation.GetSpecialType(SpecialType.System_Int64); 785case BinaryOperatorKind.Long: return _compilation.GetSpecialType(SpecialType.System_Int64); 817case BinaryOperatorKind.Long: return _compilation.GetSpecialType(SpecialType.System_Int64); 846case BinaryOperatorKind.Long: return nullable.Construct(_compilation.GetSpecialType(SpecialType.System_Int64));
Compilation\CSharpCompilation.cs (2)
4111csharpReturnType.SpecialType is SpecialType.System_Int64 && 4130=> type.SpecialType is SpecialType.System_Int32 or SpecialType.System_UInt32 or SpecialType.System_Int64 or SpecialType.System_UInt64;
FlowAnalysis\AbstractFlowPass.cs (1)
1381case 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)
2278case SpecialType.System_Int64: 2315TypeSymbol longType = _factory.SpecialType(SpecialType.System_Int64); 2326case SpecialType.System_Int64: 2328TypeSymbol longType = _factory.SpecialType(SpecialType.System_Int64); 2374Debug.Assert(returnType.SpecialType == SpecialType.System_Int64);
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (7)
1411case SpecialType.System_Int64: 1436case SpecialType.System_Int64: 1461case SpecialType.System_Int64: 1486case SpecialType.System_Int64: 1512case SpecialType.System_Int64: return SpecialMember.System_Decimal__op_Explicit_ToInt64; 1532case SpecialType.System_Int64: return SpecialMember.System_Decimal__op_Implicit_FromInt64; 1570static 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)
918specialType = SpecialType.System_Int64; 1026case SpecialType.System_Int64:
Parser\Lexer.cs (3)
364case SpecialType.System_Int64: 1296info.ValueKind = SpecialType.System_Int64; 1328info.ValueKind = SpecialType.System_Int64;
SymbolDisplay\SymbolDisplayVisitor.Types.cs (1)
641case SpecialType.System_Int64:
Symbols\Attributes\SourceAttributeData.cs (1)
356if (specType != SpecialType.System_Int64)
Symbols\BaseTypeAnalysis.cs (1)
264case SpecialType.System_Int64:
Symbols\Compilation_WellKnownMembers.cs (1)
477var ticks = new TypedConstant(GetSpecialType(SpecialType.System_Int64), TypedConstantKind.Primitive, value.Ticks);
Symbols\Source\SourceAssemblySymbol.cs (1)
2746case SpecialType.System_Int64:
Symbols\SpecialTypeExtensions.cs (1)
20case SpecialType.System_Int64:
Symbols\TypeSymbolExtensions.cs (5)
588case SpecialType.System_Int64: 1263case SpecialType.System_Int64: 1344case SpecialType.System_Int64: 2119case SpecialType.System_Int64: return 7; 2142case 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)
ITypeSymbolExtensions.cs (1)
18case SpecialType.System_Int64:
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
ExpressionGenerator.cs (1)
146if (value is long && !IsSpecialType(type, SpecialType.System_Int64))
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (3)
CodeGen\CodeGenAsyncTests.cs (2)
922Assert.Equal(SpecialType.System_Int64, hoistedField.Type.SpecialType); 981Assert.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)
8229signature = new BinaryOperatorSignature(op | BinaryOperatorKind.Pointer, leftType, rightType, compilation.GetSpecialType(SpecialType.System_Int64));
Semantics\UnsafeTests.cs (3)
6079Assert.Equal(SpecialType.System_Int64, summary.Type.SpecialType); 6080Assert.Equal(SpecialType.System_Int64, summary.ConvertedType.SpecialType); 7742{ 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)
34661var test2i1 = i1.Construct(m.ContainingAssembly.GetSpecialType(SpecialType.System_Int64)); 34662var test2i1m1 = i1.Construct(m.ContainingAssembly.GetSpecialType(SpecialType.System_Int64)).GetMember<MethodSymbol>("M1"); 34663var test2i1m2 = i1.Construct(m.ContainingAssembly.GetSpecialType(SpecialType.System_Int64)).GetMember<MethodSymbol>("M2"); 34664var test2i2 = i2.Construct(m.ContainingAssembly.GetSpecialType(SpecialType.System_Int64)); 34665var test2i2m1 = i2.Construct(m.ContainingAssembly.GetSpecialType(SpecialType.System_Int64)).GetMember<MethodSymbol>("I1<T>.M1"); 34666var test2i2m2 = i2.Construct(m.ContainingAssembly.GetSpecialType(SpecialType.System_Int64)).GetMember<MethodSymbol>("I1<T>.M2"); 38957var test2i1 = i1.Construct(m.ContainingAssembly.GetSpecialType(SpecialType.System_Int64)); 38958var test2i1m1 = GetSingleProperty(i1.Construct(m.ContainingAssembly.GetSpecialType(SpecialType.System_Int64))); 38959var test2i2 = i2.Construct(m.ContainingAssembly.GetSpecialType(SpecialType.System_Int64)); 38960var test2i2m1 = GetSingleProperty(i2.Construct(m.ContainingAssembly.GetSpecialType(SpecialType.System_Int64))); 41633var test2i1 = i1.Construct(m.ContainingAssembly.GetSpecialType(SpecialType.System_Int64)); 41634var test2i1m1 = GetSingleEvent(i1.Construct(m.ContainingAssembly.GetSpecialType(SpecialType.System_Int64))); 41635var test2i2 = i2.Construct(m.ContainingAssembly.GetSpecialType(SpecialType.System_Int64)); 41636var 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)
681var baseIndexer2 = (PropertySymbol)baseClass.GetMembers().Where(IsPropertyWithSingleParameter(SpecialType.System_Int64, isArrayType: true)).Single(); 685var derivedIndexer2 = (PropertySymbol)derivedClass.GetMembers().Where(IsPropertyWithSingleParameter(SpecialType.System_Int64, isArrayType: true)).Single(); 689var derived2Indexer2 = (PropertySymbol)derived2Class.GetMembers().Where(IsPropertyWithSingleParameter(SpecialType.System_Int64, isArrayType: true)).Single(); 1641var int64Type = comp.GetSpecialType(SpecialType.System_Int64); 1855var 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)
1560Assert.Same(comp.GetSpecialType(SpecialType.System_Int64), memType.GetNullableUnderlyingType());
Microsoft.CodeAnalysis.CSharp.Workspaces (10)
CodeGeneration\CSharpSyntaxGenerator.cs (2)
3266case SpecialType.System_Int64: 3453SpecialType.System_Int64 => SyntaxFactory.PredefinedType(SyntaxFactory.Token(SyntaxKind.LongKeyword)),
ExpressionGenerator.cs (1)
146if (value is long && !IsSpecialType(type, SpecialType.System_Int64))
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\ITypeSymbolExtensions.cs\ITypeSymbolExtensions.cs (1)
18case SpecialType.System_Int64:
Recommendations\CSharpRecommendationServiceRunner_Conversions.cs (5)
27SpecialType.System_Int64, 90SpecialType.System_Int64, 106SpecialType.System_Int64, 119SpecialType.System_Int64, 210SpecialType.System_Int64 => s_int64Conversions,
Simplification\Simplifiers\AbstractCSharpSimplifier.cs (1)
50SpecialType.System_Int64 => SyntaxKind.LongKeyword,
Microsoft.CodeAnalysis.CSharp.Workspaces.UnitTests (1)
CodeGeneration\SyntaxGeneratorTests.cs (1)
300VerifySyntax<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 (2)
ConvertNumericLiteral\AbstractConvertNumericLiteralCodeRefactoringProvider.cs (1)
161case SpecialType.System_Int64:
GenerateMember\GenerateConstructor\AbstractGenerateConstructorService.State.cs (1)
383case 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 (56)
Binding\Binder_Conversions.vb (1)
278Case 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)
1500Debug.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)
462SpecialType.System_Int64,
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter.vb (1)
684If resultType.SpecialType = SpecialType.System_Int64 Then
Lowering\ExpressionLambdaRewriter\ExpressionLambdaRewriter_Conversion.vb (5)
318Return Me._factory.SpecialType(SpecialType.System_Int64) 441Case SpecialType.System_Int64 : wellKnownHelper = WellKnownMember.System_Convert__ToBooleanInt64 504Case SpecialType.System_Int64 530Case SpecialType.System_Int64 : specialHelper = SpecialMember.System_Decimal__op_Implicit_FromInt64 571Case SpecialType.System_Int64 : wellKnownHelper = WellKnownMember.Microsoft_VisualBasic_CompilerServices_Conversions__ToStringInt64
Lowering\LocalRewriter\LocalRewriter_Conversion.vb (5)
932Case SpecialType.System_Int64 : member = WellKnownMember.Microsoft_VisualBasic_CompilerServices_Conversions__ToLongObject 1025Case SpecialType.System_Int64 : member = WellKnownMember.Microsoft_VisualBasic_CompilerServices_Conversions__ToStringInt64 1097Case SpecialType.System_Int64 : member = WellKnownMember.Microsoft_VisualBasic_CompilerServices_Conversions__ToLongString 1165Case SpecialType.System_Int64 : member = SpecialMember.System_Decimal__CtorInt64 1237Case 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)
3341Case 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)
213foundMatch = specType = SpecialType.System_Int64
Symbols\Source\SourceFieldSymbol.vb (1)
666Dim 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)
CastAnalyzer.vb (1)
387SpecialType.System_UInt64, SpecialType.System_Int64,
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (5)
ITypeSymbolExtensions.vb (3)
35Case specialType.System_Int64 77specialType = specialType.System_Int64 111SpecialType.System_Int64,
StringExtensions.vb (1)
104SpecialType.System_Int64,
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)
96SpecialType.System_Int64,
Completion\Providers\DefaultArgumentProvider.vb (1)
42Case SpecialType.System_Int64
GenerateMember\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 (14)
Semantics\Conversions.vb (9)
239Dim int64Type = c1.GetSpecialType(System_Int64) 1090Dim int64Type = c1.GetSpecialType(System_Int64) 1353Case System_Int64 : Return c.ToInt64(Nothing) 1378Case System_Int64 : Return UncheckedCLng(val) 1394Case System_Int64 : Return UncheckedCLng(val) 1411Case System_Int64 : Return CLng(value) 2034c1.GetSpecialType(System_Int64), 2050nullable.Construct(c1.GetSpecialType(System_Int64)), 2174Private 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)
CastAnalyzer.vb (1)
387SpecialType.System_UInt64, SpecialType.System_Int64,
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
CodeGeneration\VisualBasicSyntaxGenerator.vb (1)
428Case SpecialType.System_Int64
ITypeSymbolExtensions.vb (3)
35Case specialType.System_Int64 77specialType = specialType.System_Int64 111SpecialType.System_Int64,
Simplification\Simplifiers\AbstractVisualBasicSimplifier.vb (1)
37Case SpecialType.System_Int64
StringExtensions.vb (1)
104SpecialType.System_Int64,
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 (21)
CodeGenerationHelpers.cs (1)
143SpecialType.System_Int64 => value is long,
EnumUtilties.cs (1)
34case SpecialType.System_Int64:
J\s\src\Compilers\Core\Portable\SpecialTypeExtensions.cs\SpecialTypeExtensions.cs (11)
27case SpecialType.System_Int64: 52case SpecialType.System_Int64: 75case SpecialType.System_Int64: 112case SpecialType.System_Int64: 149case SpecialType.System_Int64: 173case SpecialType.System_Int64: 191case SpecialType.System_Int64: 215case SpecialType.System_Int64: 244case SpecialType.System_Int64: 266case SpecialType.System_Int64: 302return SpecialType.System_Int64;
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.cs\ITypeSymbolExtensions.cs (3)
294case SpecialType.System_Int64: 386case SpecialType.System_Int64: 654case SpecialType.System_Int64:
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SpecialTypeExtensions.cs\SpecialTypeExtensions.cs (1)
24SpecialType.System_Int64 => PredefinedType.Int64,
PredefinedTypeExtensions.cs (1)
24PredefinedType.Int64 => SpecialType.System_Int64,
Shared\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
417case SpecialType.System_Int64:
Shared\Utilities\EnumValueUtilities.cs (1)
66SpecialType.System_Int64 => (long)1,
SyntaxGeneratorExtensions_CreateGetHashCodeMethod.cs (1)
137: factory.LocalDeclarationStatement(compilation.GetSpecialType(SpecialType.System_Int64), HashCodeName, CreateLiteralExpression(factory, initHash)));
Microsoft.VisualStudio.LanguageServices.CSharp (1)
CodeModel\CSharpCodeModelService.cs (1)
732case SpecialType.System_Int64:
Microsoft.VisualStudio.LanguageServices.Implementation (1)
CodeModel\AbstractCodeModelService.cs (1)
796EnvDTE.vsCMTypeRef.vsCMTypeRefLong => SpecialType.System_Int64,
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
CodeModel\VisualBasicCodeModelService.vb (1)
789Case SpecialType.System_Int64