5 instantiations of Int64
PresentationCore (4)
PresentationFramework (1)
981 references to Int64
BasicWebSite (1)
HealthChecksSample (1)
http2cat (1)
IIS.FunctionalTests (3)
IIS.LongTests (1)
IIS.NewHandler.FunctionalTests (1)
IIS.NewShim.FunctionalTests (1)
IIS.ShadowCopy.Tests (1)
IIS.Tests (1)
IISExpress.FunctionalTests (3)
InMemory.FunctionalTests (19)
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (10)
98var id = (_currentStreamId << 2) | mask;
119var streamId = await stream.TryReadStreamIdAsync();
190if (!VariableLengthIntegerHelper.TryRead(payload.Span, out var streamId, out var _))
205var endTime = timeProvider.GetTimestamp(timeSpan);
220var timestamp = _fakeTimeProvider.GetTimestamp();
455var requestStreamId = GetStreamId(0x00);
842var id = VariableLengthIntegerHelper.GetInteger(payload, out var consumed, out _);
850var value = VariableLengthIntegerHelper.GetInteger(payload, out consumed, out _);
932var id = VariableLengthIntegerHelper.GetInteger(readableBuffer, out consumed, out examined);
973if (!VariableLengthIntegerHelper.TryRead(payload.Span, out var streamId, out var _))
Microsoft.AspNetCore.Components (8)
Microsoft.AspNetCore.Components.Server (25)
Microsoft.AspNetCore.Components.Server.Tests (10)
Microsoft.AspNetCore.Components.Tests (2)
Microsoft.AspNetCore.Components.Web (1)
Microsoft.AspNetCore.Components.WebAssembly.Tests (3)
Microsoft.AspNetCore.Components.WebView (1)
Microsoft.AspNetCore.ConcurrencyLimiter (1)
Microsoft.AspNetCore.DataProtection (1)
Microsoft.AspNetCore.FunctionalTests (1)
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Microsoft.AspNetCore.Hosting (1)
Microsoft.AspNetCore.Http (1)
Microsoft.AspNetCore.Http.Connections (3)
Microsoft.AspNetCore.Http.Extensions (1)
Microsoft.AspNetCore.Http.Results (8)
Microsoft.AspNetCore.HttpLogging (2)
Microsoft.AspNetCore.Identity.FunctionalTests (12)
Microsoft.AspNetCore.MiddlewareAnalysis (3)
Microsoft.AspNetCore.Mvc.Core (7)
Microsoft.AspNetCore.Mvc.Core.Test (2)
Microsoft.AspNetCore.Mvc.Formatters.Xml (4)
Microsoft.AspNetCore.Mvc.NewtonsoftJson (2)
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (1)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (2)
Microsoft.AspNetCore.Mvc.TagHelpers (2)
Microsoft.AspNetCore.OpenApi (1)
Microsoft.AspNetCore.OpenApi.Tests (1)
Microsoft.AspNetCore.OutputCaching (4)
Microsoft.AspNetCore.OutputCaching.StackExchangeRedis (2)
Microsoft.AspNetCore.RateLimiting (3)
Microsoft.AspNetCore.ResponseCaching (2)
Microsoft.AspNetCore.Routing (3)
Microsoft.AspNetCore.Server.HttpSys (14)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (4)
Microsoft.AspNetCore.Server.IIS (12)
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (3)
Microsoft.AspNetCore.Server.Kestrel.Core (154)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (7)
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (10)
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (10)
98var id = (_currentStreamId << 2) | mask;
119var streamId = await stream.TryReadStreamIdAsync();
190if (!VariableLengthIntegerHelper.TryRead(payload.Span, out var streamId, out var _))
205var endTime = timeProvider.GetTimestamp(timeSpan);
220var timestamp = _fakeTimeProvider.GetTimestamp();
455var requestStreamId = GetStreamId(0x00);
842var id = VariableLengthIntegerHelper.GetInteger(payload, out var consumed, out _);
850var value = VariableLengthIntegerHelper.GetInteger(payload, out consumed, out _);
932var id = VariableLengthIntegerHelper.GetInteger(readableBuffer, out consumed, out examined);
973if (!VariableLengthIntegerHelper.TryRead(payload.Span, out var streamId, out var _))
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (2)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (7)
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (4)
Microsoft.AspNetCore.Shared.Tests (12)
Microsoft.AspNetCore.SignalR.Client.Core (4)
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (2)
Microsoft.AspNetCore.SignalR.Client.Tests (1)
Microsoft.AspNetCore.SignalR.Core (6)
Microsoft.AspNetCore.SignalR.Microbenchmarks (3)
Microsoft.AspNetCore.SignalR.Protocols.Json (2)
Microsoft.AspNetCore.SignalR.Protocols.MessagePack (4)
Microsoft.AspNetCore.SignalR.StackExchangeRedis (3)
Microsoft.AspNetCore.SignalR.Tests (4)
Microsoft.AspNetCore.SignalR.Tests.Utils (1)
Microsoft.AspNetCore.StaticAssets (4)
Microsoft.AspNetCore.StaticAssets.Tests (1)
Microsoft.AspNetCore.StaticFiles (4)
Microsoft.AspNetCore.StaticFiles.FunctionalTests (1)
Microsoft.AspNetCore.TestHost (1)
Microsoft.AspNetCore.WebUtilities (2)
Microsoft.Build (3)
Microsoft.Build.Engine (4)
Microsoft.Build.Framework (2)
Microsoft.Build.Tasks.Core (3)
Microsoft.Build.Tasks.UnitTests (4)
Microsoft.DotNet.SignTool (1)
Microsoft.Extensions.Caching.StackExchangeRedis (2)
Microsoft.Extensions.Diagnostics.HealthChecks (1)
Microsoft.Extensions.Http.Polly (3)
Microsoft.Extensions.Identity.Core (2)
Microsoft.JSInterop (7)
Microsoft.JSInterop.Tests (10)
Microsoft.JSInterop.WebAssembly (1)
Microsoft.Net.Http.Headers (1)
Microsoft.NET.WebAssembly.Webcil (6)
Microsoft.VisualBasic.Core (116)
Microsoft\VisualBasic\CompilerServices\Conversions.vb (36)
40Dim i64Value As Int64
121If TypeOf Value Is Int64 Then
122Return CBool(DirectCast(Value, Int64))
184Dim i64Value As Int64
265If TypeOf Value Is Int64 Then
266Return CByte(DirectCast(Value, Int64))
328Dim i64Value As Int64
412If TypeOf Value Is Int64 Then
413Return CSByte(DirectCast(Value, Int64))
475Dim i64Value As Int64
555If TypeOf Value Is Int64 Then
556Return CShort(DirectCast(Value, Int64))
619Dim i64Value As Int64
701If TypeOf Value Is Int64 Then
702Return CUShort(DirectCast(Value, Int64))
763Dim i64Value As Int64
844If TypeOf Value Is Int64 Then
845Return CInt(DirectCast(Value, Int64))
907Dim i64Value As Int64
989If TypeOf Value Is Int64 Then
990Return CUInt(DirectCast(Value, Int64))
1052Dim i64Value As Int64
1135If TypeOf Value Is Int64 Then
1136Return CLng(DirectCast(Value, Int64))
1282If TypeOf Value Is Int64 Then
1283Return CULng(DirectCast(Value, Int64))
1355Dim i64Value As Int64
1441If TypeOf Value Is Int64 Then
1442Return CDec(DirectCast(Value, Int64))
1592Dim i64Value As Int64
1681If TypeOf Value Is Int64 Then
1682Return CSng(DirectCast(Value, Int64))
1742Dim i64Value As Int64
1826If TypeOf Value Is Int64 Then
1827Return CDbl(DirectCast(Value, Int64))
2401Private Shared Function CastInt64Enum(ByVal Expression As Int64, ByVal TargetType As Type) As Object
Microsoft\VisualBasic\CompilerServices\ObjectType.vb (19)
249Return GetType(Int64)
726Dim ticks1, ticks2 As Int64
803Private Shared Function ObjTstInt64(ByVal d1 As Int64, ByVal d2 As Int64) As Integer
956Dim Int64Result As Int64
991Int64Result = -CType(DirectCast(obj, Int32), Int64)
993Int64Result = -CType(conv.ToInt32(Nothing), Int64)
1002If TypeOf obj Is Int64 Then
1003Int64Result = -DirectCast(obj, Int64)
1122Dim int64Value As Int64
1177Return Not CType(iconv.ToDecimal(Nothing), Int64)
1180Return Not CType(iconv.ToDecimal(Nothing), Int64)
1183Return Not CType(iconv.ToDecimal(Nothing), Int64)
3037If DecimalResult < Int64.MinValue OrElse DecimalResult > Int64.MaxValue Then
3271Dim lng1, lng2 As Int64
3309Dim lng1, lng2 As Int64
3335Private Shared Function IDivideInt64(ByVal d1 As Int64, ByVal d2 As Int64) As Object
Microsoft\VisualBasic\CompilerServices\Operators.vb (37)
780Private Shared Function CompareInt64(ByVal left As Int64, ByVal right As Int64) As CompareClass
1004If TypeOf Operand Is Int64 Then
1005Return NegateInt64(DirectCast(Operand, Int64))
1098Private Shared Function NegateInt64(ByVal operand As Int64) As Object
1099If operand = Int64.MinValue Then
1100Return -CDec(Int64.MinValue)
1246Private Shared Function NotInt64(ByVal operand As Int64) As Object
1250Private Shared Function NotInt64(ByVal operand As Int64, ByVal operandType As Type) As Object
1251Dim result As Int64 = Not operand
1634Private Shared Function AndInt64(ByVal left As Int64, ByVal right As Int64, Optional ByVal enumType As Type = Nothing) As Object
1635Dim result As Int64 = left And right
2006Private Shared Function OrInt64(ByVal left As Int64, ByVal right As Int64, Optional ByVal enumType As Type = Nothing) As Object
2007Dim result As Int64 = left Or right
2399Private Shared Function XorInt64(ByVal left As Int64, ByVal right As Int64, Optional ByVal enumType As Type = Nothing) As Object
2400Dim result As Int64 = left Xor right
2860Dim result As Int64 = CLng(left) + CLng(right)
2871Dim result As Int64 = CLng(left) + CLng(right)
2880Private Shared Function AddInt64(ByVal left As Int64, ByVal right As Int64) As Object
3328Dim result As Int64 = CLng(left) - CLng(right)
3339Dim result As Int64 = CLng(left) - CLng(right)
3348Private Shared Function SubtractInt64(ByVal left As Int64, ByVal right As Int64) As Object
3757Dim result As Int64 = CLng(left) * CLng(right)
3772Dim result As Int64 = CLng(left) * CLng(right)
3786If result > Int64.MaxValue Then
3796Private Shared Function MultiplyInt64(ByVal left As Int64, ByVal right As Int64) As Object
4623Private Shared Function ModInt64(ByVal left As Int64, ByVal right As Int64) As Object
4625If left = Int64.MinValue AndAlso right = -1 Then
5015Private Shared Function IntDivideInt64(ByVal left As Int64, ByVal right As Int64) As Object
MSBuild (1)
MSBuildTaskHost (1)
mscorlib (1)
netstandard (1)
PresentationBuildTasks (27)
PresentationCore (151)
System\Windows\Media\Animation\Generated\Int64Animation.cs (32)
43private Int64[] _keyValues;
58Type typeofProp = typeof(Int64?);
67new PropertyMetadata((Int64?)null, propCallback),
74new PropertyMetadata((Int64?)null, propCallback),
81new PropertyMetadata((Int64?)null, propCallback),
105public Int64Animation(Int64 toValue, Duration duration)
117public Int64Animation(Int64 toValue, Duration duration, FillBehavior fillBehavior)
130public Int64Animation(Int64 fromValue, Int64 toValue, Duration duration)
143public Int64Animation(Int64 fromValue, Int64 toValue, Duration duration, FillBehavior fillBehavior)
216protected override Int64 GetCurrentValueCore(Int64 defaultOriginValue, Int64 defaultDestinationValue, AnimationClock animationClock)
233Int64 from = new Int64();
234Int64 to = new Int64();
235Int64 accumulated = new Int64();
236Int64 foundation = new Int64();
350Int64 accumulator = AnimatedTypeHelpers.SubtractInt64(to, from);
375_keyValues = new Int64[2];
382_keyValues = new Int64[2];
389_keyValues = new Int64[1];
396_keyValues = new Int64[1];
402_keyValues = new Int64[1];
423Int64? typedValue = (Int64?)value;
443public Int64? From
447return (Int64?)GetValue(FromProperty);
463public Int64? To
467return (Int64?)GetValue(ToProperty);
483public Int64? By
487return (Int64?)GetValue(ByProperty);
PresentationFramework (61)
SocialWeather (1)
Sockets.FunctionalTests (1)
System.Linq.Expressions (3)
System.Private.CoreLib (94)
src\libraries\System.Private.CoreLib\src\System\IntPtr.cs (91)
17using nint_t = System.Int64;
161get => sizeof(nint_t);
172get => unchecked((nint)nint_t.MaxValue);
179get => unchecked((nint)nint_t.MinValue);
206public override string ToString() => ((nint_t)_value).ToString();
207public string ToString([StringSyntax(StringSyntaxAttribute.NumericFormat)] string? format) => ((nint_t)_value).ToString(format);
208public string ToString(IFormatProvider? provider) => ((nint_t)_value).ToString(provider);
209public string ToString([StringSyntax(StringSyntaxAttribute.NumericFormat)] string? format, IFormatProvider? provider) => ((nint_t)_value).ToString(format, provider);
212((nint_t)_value).TryFormat(destination, out charsWritten, format, provider);
216((nint_t)_value).TryFormat(utf8Destination, out bytesWritten, format, provider);
218public static nint Parse(string s) => (nint)nint_t.Parse(s);
219public static nint Parse(string s, NumberStyles style) => (nint)nint_t.Parse(s, style);
220public static nint Parse(string s, IFormatProvider? provider) => (nint)nint_t.Parse(s, provider);
221public static nint Parse(string s, NumberStyles style, IFormatProvider? provider) => (nint)nint_t.Parse(s, style, provider);
222public static nint Parse(ReadOnlySpan<char> s, IFormatProvider? provider) => (nint)nint_t.Parse(s, provider);
223public static nint Parse(ReadOnlySpan<char> s, NumberStyles style = NumberStyles.Integer, IFormatProvider? provider = null) => (nint)nint_t.Parse(s, style, provider);
228return nint_t.TryParse(s, out Unsafe.As<nint, nint_t>(ref result));
235return nint_t.TryParse(s, provider, out Unsafe.As<nint, nint_t>(ref result));
241return nint_t.TryParse(s, style, provider, out Unsafe.As<nint, nint_t>(ref result));
247return nint_t.TryParse(s, out Unsafe.As<nint, nint_t>(ref result));
257return nint_t.TryParse(utf8Text, out Unsafe.As<nint, nint_t>(ref result));
268return nint_t.TryParse(s, provider, out Unsafe.As<nint, nint_t>(ref result));
274return nint_t.TryParse(s, style, provider, out Unsafe.As<nint, nint_t>(ref result));
336if (isUnsigned && sbyte.IsNegative(sign) && (source.Length >= sizeof(nint_t)))
345if (source.Length > sizeof(nint_t))
347if (source[..^sizeof(nint_t)].ContainsAnyExcept((byte)sign))
356if (isUnsigned == sbyte.IsNegative((sbyte)source[^sizeof(nint_t)]))
368if (source.Length >= sizeof(nint_t))
370sourceRef = ref Unsafe.Add(ref sourceRef, source.Length - sizeof(nint_t));
394result |= (((nint)1 << ((sizeof(nint_t) * 8) - 1)) >> (((sizeof(nint_t) - source.Length) * 8) - 1));
418if (isUnsigned && sbyte.IsNegative(sign) && (source.Length >= sizeof(nint_t)))
427if (source.Length > sizeof(nint_t))
429if (source[sizeof(nint_t)..].ContainsAnyExcept((byte)sign))
438if (isUnsigned == sbyte.IsNegative((sbyte)source[sizeof(nint_t) - 1]))
450if (source.Length >= sizeof(nint_t))
474result <<= ((sizeof(nint_t) - source.Length) * 8);
479result |= (((nint)1 << ((sizeof(nint_t) * 8) - 1)) >> (((sizeof(nint_t) - source.Length) * 8) - 1));
495return (sizeof(nint_t) * 8) - BitOperations.LeadingZeroCount((nuint)value);
499return (sizeof(nint_t) * 8) + 1 - BitOperations.LeadingZeroCount((nuint)(~value));
504int IBinaryInteger<nint>.GetByteCount() => sizeof(nint_t);
509if (destination.Length >= sizeof(nint_t))
511nint_t value = (nint_t)_value;
519bytesWritten = sizeof(nint_t);
532if (destination.Length >= sizeof(nint_t))
534nint_t value = (nint_t)_value;
542bytesWritten = sizeof(nint_t);
1017result = (actualValue >= nint_t.MaxValue) ? unchecked((nint)nint_t.MaxValue) :
1018(actualValue <= nint_t.MinValue) ? unchecked((nint)nint_t.MinValue) : (nint)actualValue;
1024result = (actualValue == Half.PositiveInfinity) ? unchecked((nint)nint_t.MaxValue) :
1025(actualValue == Half.NegativeInfinity) ? unchecked((nint)nint_t.MinValue) : (nint)actualValue;
1043result = (actualValue >= nint_t.MaxValue) ? unchecked((nint)nint_t.MaxValue) :
1044(actualValue <= nint_t.MinValue) ? unchecked((nint)nint_t.MinValue) : (nint)actualValue;
1050result = (actualValue >= nint_t.MaxValue) ? unchecked((nint)nint_t.MaxValue) :
1051(actualValue <= nint_t.MinValue) ? unchecked((nint)nint_t.MinValue) : (nint)actualValue;
1063result = (actualValue >= nint_t.MaxValue) ? unchecked((nint)nint_t.MaxValue) :
1064(actualValue <= nint_t.MinValue) ? unchecked((nint)nint_t.MinValue) : (nint)actualValue;
1094result = (actualValue >= nint_t.MaxValue) ? unchecked((nint)nint_t.MaxValue) :
1095(actualValue <= nint_t.MinValue) ? unchecked((nint)nint_t.MinValue) : (nint)actualValue;
1101result = (actualValue == Half.PositiveInfinity) ? unchecked((nint)nint_t.MaxValue) :
1102(actualValue == Half.NegativeInfinity) ? unchecked((nint)nint_t.MinValue) : (nint)actualValue;
1138result = (actualValue >= nint_t.MaxValue) ? unchecked((nint)nint_t.MaxValue) :
1139(actualValue <= nint_t.MinValue) ? unchecked((nint)nint_t.MinValue) : (nint)actualValue;
1409public static nint Parse(ReadOnlySpan<byte> utf8Text, NumberStyles style = NumberStyles.Integer, IFormatProvider? provider = null) => (nint)nint_t.Parse(utf8Text, style, provider);
1415return nint_t.TryParse(utf8Text, style, provider, out Unsafe.As<nint, nint_t>(ref result));
1419public static nint Parse(ReadOnlySpan<byte> utf8Text, IFormatProvider? provider) => (nint)nint_t.Parse(utf8Text, provider);
1425return nint_t.TryParse(utf8Text, provider, out Unsafe.As<nint, nint_t>(ref result));
System.Private.DataContractSerialization (4)
System.Private.Xml (1)
System.Runtime (1)
System.Threading (1)
System.Windows.Input.Manipulations (34)
System.Xaml (2)
WasmAppBuilder (4)