9 instantiations of Int32
PresentationCore (4)
Core\CSharp\System\Windows\Media\Animation\Generated\Int32Animation.cs (4)
235Int32 from = new Int32(); 236Int32 to = new Int32(); 237Int32 accumulated = new Int32(); 238Int32 foundation = new Int32();
PresentationFramework (1)
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
5620bamlType.DefaultConstructor = delegate() { return new System.Int32(); };
System.Web (1)
WorkerRequest.cs (1)
1389Int32 i32 = new Int32();
System.Workflow.ComponentModel (2)
AuthoringOM\Activity.cs (2)
158internal static readonly DependencyProperty CompletedOrderIdProperty = DependencyProperty.Register("CompletedOrderId", typeof(int), typeof(Activity), new PropertyMetadata(new Int32())); 167private static readonly DependencyProperty LockCountOnStatusChangeProperty = DependencyProperty.RegisterAttached("LockCountOnStatusChange", typeof(int), typeof(Activity), new PropertyMetadata(new Int32()));
System.Workflow.Runtime (1)
WorkflowExecutor.cs (1)
40private static DependencyProperty ContextIdProperty = DependencyProperty.RegisterAttached("ContextId", typeof(int), typeof(WorkflowExecutor), new PropertyMetadata(new Int32()));
3990 references to Int32
mscorlib (782)
microsoft\win32\oavariantlib.cs (1)
46typeof(Int32),
microsoft\win32\registrykey.cs (4)
1193if (size == Int32.MaxValue) { 1197else if (size > (Int32.MaxValue / 2)) { 1199size = Int32.MaxValue; 1609if (value is Int32)
microsoft\win32\win32native.cs (21)
106using BOOL = System.Int32; 253public Int32 Bias; 258public Int32 StandardBias; 263public Int32 DaylightBias; 280public Int32 Bias; 285public Int32 StandardBias; 290public Int32 DaylightBias; 301public Int32 Bias; 303public Int32 StandardBias; 305public Int32 DaylightBias; 1734internal static unsafe extern bool ReadConsoleW(SafeFileHandle hConsoleInput, Byte* lpBuffer, Int32 nNumberOfCharsToRead, out Int32 lpNumberOfCharsRead, IntPtr pInputControl); 1743internal static unsafe extern bool WriteConsoleW(SafeFileHandle hConsoleOutput, Byte* lpBuffer, Int32 nNumberOfCharsToWrite, out Int32 lpNumberOfCharsWritten, IntPtr lpReservedMustBeNull); 2106internal static extern BOOL ConvertSdToStringSd( 2121internal static extern BOOL ConvertStringSdToSd( 2135internal static extern BOOL ConvertStringSidToSid( 2163internal static extern BOOL CreateWellKnownSid( 2226internal static extern BOOL IsEqualDomainSid( 2314internal static extern BOOL GetWindowsAccountDomainSid( 2484internal static extern BOOL IsWellKnownSid(
parent\parent\parent\parent\InternalApis\NDP_Common\inc\PinnableBufferCache.cs (3)
369var freeCount = m_FreeList.Count; // This is expensive to fetch, do it once. 389var newRestockSize = m_buffersUnderManagement / 4; 400var trimSize = freeCount / 4 + 1;
system\appdomain.cs (7)
2587Int32 domainID = AppDomain.GetIdForUnload(domain); 3269internal static Int32 GetIdForUnload(AppDomain domain) 3286internal static extern bool IsDomainIdValid(Int32 id); 4517internal static extern void nUnload(Int32 domainInternal); 4674public Int32 Id 4686internal extern Int32 GetId(); 4688internal const Int32 DefaultADID = 1;
system\array.cs (43)
182if (len > Int32.MaxValue || len < Int32.MinValue) 322if (length > Int32.MaxValue || length < Int32.MinValue) 331if (sourceIndex > Int32.MaxValue || sourceIndex < Int32.MinValue) 333if (destinationIndex > Int32.MaxValue || destinationIndex < Int32.MinValue) 335if (length > Int32.MaxValue || length < Int32.MinValue) 415if (index > Int32.MaxValue || index < Int32.MinValue) 425if (index1 > Int32.MaxValue || index1 < Int32.MinValue) 427if (index2 > Int32.MaxValue || index2 < Int32.MinValue) 437if (index1 > Int32.MaxValue || index1 < Int32.MinValue) 439if (index2 > Int32.MaxValue || index2 < Int32.MinValue) 441if (index3 > Int32.MaxValue || index3 < Int32.MinValue) 462if (index > Int32.MaxValue || index < Int32.MinValue) 534if (index > Int32.MaxValue || index < Int32.MinValue) 544if (index1 > Int32.MaxValue || index1 < Int32.MinValue) 546if (index2 > Int32.MaxValue || index2 < Int32.MinValue) 556if (index1 > Int32.MaxValue || index1 < Int32.MinValue) 558if (index2 > Int32.MaxValue || index2 < Int32.MinValue) 560if (index3 > Int32.MaxValue || index3 < Int32.MinValue) 581if (index > Int32.MaxValue || index < Int32.MinValue) 752Int32 IStructuralComparable.CompareTo(Object other, IComparer comparer) { 1071if (index > Int32.MaxValue || index < Int32.MinValue) 2394if (i != Int32.MaxValue) ++i; 2395if (j != Int32.MinValue) --j;
system\bitconverter.cs (2)
383if (length > (Int32.MaxValue / 3)) { 385throw new ArgumentOutOfRangeException("length", Environment.GetResourceString("ArgumentOutOfRange_LengthTooLarge", (Int32.MaxValue / 3)));
system\collections\arraylist.cs (1)
587BCLDebug.Correctness(index >= 0 || !(obj is Int32), "You passed an Int32 to Remove that wasn't in the ArrayList." + Environment.NewLine + "Did you mean RemoveAt? int: "+obj+" Count: "+Count);
system\collections\bitarray.cs (2)
78if (bytes.Length > Int32.MaxValue / BitsPerByte) { 147if (values.Length > Int32.MaxValue / BitsPerInt32) {
system\Collections\Concurrent\ConcurrentStack.cs (1)
682Random r = new Random(Environment.TickCount & Int32.MaxValue); // avoid the case where TickCount could return Int32.MinValue
system\collections\hashtable.cs (4)
130internal const Int32 HashPrime = 101; 131private const Int32 InitialSize = 3; 283if (rawsize > Int32.MaxValue) 1731for (int i = (min | 1); i < Int32.MaxValue;i+=2)
system\collections\istructuralcomparable.cs (1)
6Int32 CompareTo(Object other, IComparer comparer);
system\console.cs (3)
1378private static extern Int32 GetTitleNative(StringHandleOnStack outTitle, out Int32 outTitleLength); 1387Int32 r = GetTitleNative(JitHelpers.GetStringHandleOnStack(ref title), out titleLength);
system\convert.cs (33)
125(RuntimeType)typeof(Int32), 146private const Int32 base64LineBreakPosition = 76; 1061if (value > Int32.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Int32")); 1071if (value < Int32.MinValue || value > Int32.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Int32")); 1078if (value > Int32.MaxValue) throw new OverflowException(Environment.GetResourceString("Overflow_Int32")); 1115return Int32.Parse(value, CultureInfo.CurrentCulture); 1121return Int32.Parse(value, NumberStyles.Integer, provider); 2371public static Byte[] FromBase64CharArray(Char[] inArray, Int32 offset, Int32 length) { 2420private static unsafe Byte[] FromBase64CharPtr(Char* inputPtr, Int32 inputLength) { 2430Int32 lastChar = inputPtr[inputLength - 1]; 2431if (lastChar != (Int32) ' ' && lastChar != (Int32) '\n' && lastChar != (Int32) '\r' && lastChar != (Int32) '\t') 2437Int32 resultLength = FromBase64_ComputeResultLength(inputPtr, inputLength); 2448Int32 actualResultLength; 2474private static unsafe Int32 FromBase64_Decode(Char* startInputPtr, Int32 inputLength, Byte* startDestPtr, Int32 destLength) { 2560if ((Int32) (endDestPtr - destPtr) < 3) 2607Int32 lastChar = *(inputPtr); 2608if (lastChar != (Int32) ' ' && lastChar != (Int32) '\n' && lastChar != (Int32) '\r' && lastChar != (Int32) '\t') 2622if ((Int32) (endDestPtr - destPtr) < 1) // Autch! We underestimated the output length! 2643return (Int32) (destPtr - startDestPtr); 2654private static unsafe Int32 FromBase64_ComputeResultLength(Char* inputPtr, Int32 inputLength) { 2662Int32 usefulInputLength = inputLength; 2663Int32 padding = 0;
system\datetime.cs (1)
127private const Int32 KindShift = 62;
system\decimal.cs (10)
92private const Int32 MaxInt32Scale = 9; 613value.lo = (Int32)sum; 617value.mid = (Int32)sum; 619value.hi = (Int32) ((UInt32)value.hi + 1); 632value.hi = (Int32)((UInt32)(n / divisor)); 637value.mid = (Int32)((UInt32)(n / divisor)); 642value.lo = (Int32)((UInt32)(n / divisor)); 651Int32 scale = (d.flags & ScaleMask) >> ScaleShift; 652Int32 scaleDifference = scale - decimalCount; 660Int32 diffChunk = (scaleDifference > MaxInt32Scale) ? MaxInt32Scale : scaleDifference;
system\deployment\isolationinterop.cs (1)
2573[In] Int32 hr,
system\diagnostics\eventing\eventprovider.cs (1)
467var hr = 0;
system\diagnostics\eventing\eventsource.cs (4)
1520var osVer = Environment.OSVersion.Version.Major * 10 + Environment.OSVersion.Version.Minor; 5703var tickNow = Environment.TickCount; 6156foreach (var item in this.channelTab.Keys) 6868foreach (var byArrIdx in byteArrArgIndices)
System\Diagnostics\Eventing\TraceLogging\ArrayTypeInfo.cs (2)
34var bookmark = collector.BeginBufferedArray(); 36var count = 0;
System\Diagnostics\Eventing\TraceLogging\ConcurrentSet.cs (4)
34var lo = 0; 35var hi = oldItems.Length; 79var lo = 0; 80var hi = oldItems.Length;
System\Diagnostics\Eventing\TraceLogging\DataCollector.cs (7)
98var oldPos = this.bufferPos; 131var oldPos = this.bufferPos; 154var size = length * itemSize; 171var oldPos = this.bufferPos; 238var required = this.bufferPos; 247var required = this.bufferPos + additionalSize; 256var newSize = this.buffer == null ? 64 : this.buffer.Length;
System\Diagnostics\Eventing\TraceLogging\EnumerableTypeInfo.cs (2)
35var bookmark = collector.BeginBufferedArray(); 37var count = 0;
System\Diagnostics\Eventing\TraceLogging\FieldMetadata.cs (1)
114var coreType = (int)dataType & Statics.InTypeMask;
System\Diagnostics\Eventing\TraceLogging\SimpleTypeInfos.cs (5)
146: TraceLoggingTypeInfo<Int32> 156public override void WriteData(TraceLoggingDataCollector collector, ref Int32 value) 458: TraceLoggingTypeInfo<Int32[]> 468public override void WriteData(TraceLoggingDataCollector collector, ref Int32[] value) 739collector.AddScalar(EnumHelper<Int32>.Cast(value));
System\Diagnostics\Eventing\TraceLogging\Statics.cs (6)
111var tagsLeft = tags & 0xfffffff; 554if (dataType == typeof(Int32)) 556result = TraceLoggingTypeInfo<Int32>.Instance; 621else if (elementType == typeof(Int32)) 671if (underlyingType == typeof(Int32)) 733else if (dataType == typeof(Int32))
System\Diagnostics\Eventing\TraceLogging\TraceLoggingEventSource.cs (3)
430var pinCount = eventTypes.pinCount; 600var pinCount = eventTypes.pinCount; 758var valueLen = AddValueToMetaData(traitMetaData, value) + 3; // Emit the value bytes +3 accounts for 3 bytes we emited above.
System\Diagnostics\Eventing\TraceLogging\TraceLoggingMetadataCollector.cs (1)
287var size = this.impl.Encode(null);
System\Diagnostics\Eventing\TraceLogging\TraceLoggingTypeInfo_T.cs (1)
144var recursionCheckCount = recursionCheck.Count;
system\enum.cs (1)
897if (underlyingType == typeof(Int32))
system\environment.cs (1)
558private static extern Int32 GetProcessorCount();
system\exception.cs (3)
525si.AddValue("MemberType", (int)Int32.Parse(args[0], CultureInfo.InvariantCulture), typeof(Int32)); 583info.AddValue("RemoteStackIndex", _remoteStackIndex, typeof(Int32));
system\gc.cs (2)
150if( (4 == IntPtr.Size) && (bytesAllocated > Int32.MaxValue) ) { 166if( (4 == IntPtr.Size) && (bytesAllocated > Int32.MaxValue) ) {
system\globalization\datetimeformat.cs (1)
717private static void FormatCustomizedTimeZone(DateTime dateTime, TimeSpan offset, String format, Int32 tokenLen, Boolean timeOnly, StringBuilder result) {
system\globalization\datetimeparse.cs (8)
34internal const Int32 MaxDateTimeNumberDigits = 8; 1100Int32 originalIndex = str.Index; 2363Int32 * numberPointer = stackalloc Int32[3]; 4892internal Int32 index; 4893internal Int32 length; 4895internal Int32 value; 4897internal Char this[Int32 relativeIndex] {
system\globalization\hijricalendar.cs (3)
78private int m_HijriAdvance = Int32.MinValue; 217if (m_HijriAdvance == Int32.MinValue) { 289int advance = Int32.Parse(str.ToString(), CultureInfo.InvariantCulture);
system\globalization\numberformatinfo.cs (6)
392Int32[] inputSizes = (Int32[])value.Clone(); 413Int32[] inputSizes = (Int32[])value.Clone(); 431Int32[] inputSizes = (Int32[])value.Clone();
system\int32.cs (8)
32, IComparable<Int32>, IEquatable<Int32> 53if (value is Int32) { 73if (!(obj is Int32)) { 76return m_value == ((Int32)obj).m_value; 80public bool Equals(Int32 obj) 152public static bool TryParse(String s, out Int32 result) { 160public static bool TryParse(String s, NumberStyles style, IFormatProvider provider, out Int32 result) {
system\internal.cs (14)
69new Dictionary<Int32, Byte>(); 70new Dictionary<Int32, Int32>(); 71new Dictionary<Int32, Object>(); 77new Dictionary<Object, Int32>(); 104NullableHelper<Int32>(); 118new List<Int32>(); 133new KeyValuePair<Object, Int32>(String.Empty, Int32.MinValue); 134new KeyValuePair<Int32, Int32>(Int32.MinValue, Int32.MinValue); 142SZArrayHelper<Int32>(null);
system\intptr.cs (2)
82if (Size==4 && (l>Int32.MaxValue || l<Int32.MinValue)) {
system\io\__consolestream.cs (1)
267Int32 charsWritten;
system\io\bufferedstream.cs (70)
67private const Int32 _DefaultBufferSize = 4096; 74private readonly Int32 _bufferSize; // Length of internal buffer (not counting the shadow buffer). 76private Int32 _readPos; // Read pointer within shared buffer. 77private Int32 _readLen; // Number of bytes read in buffer from _stream. 78private Int32 _writePos; // Write pointer within shared buffer. 84private Task<Int32> _lastSyncCompletedReadTask; // The last successful Task returned from ReadAsync 100public BufferedStream(Stream stream, Int32 bufferSize) { 172private const Int32 MaxShadowBufferSize = 81920; // Make sure not to get to the Large Object Heap. 205internal Int32 BufferSize { 335return Task.FromCancellation<Int32>(cancellationToken); 344BufferedStream _this, Stream stream, Int32 writePos, Int32 readPos, Int32 readLen) { 466private Int32 ReadFromBuffer(Byte[] array, Int32 offset, Int32 count) { 468Int32 readBytes = _readLen - _readPos; 486private Int32 ReadFromBuffer(Byte[] array, Int32 offset, Int32 count, out Exception error) { 500public override int Read([In, Out] Byte[] array, Int32 offset, Int32 count) { 515Int32 bytesFromBuffer = ReadFromBuffer(array, offset, count); 528Int32 alreadySatisfied = bytesFromBuffer; 566public override IAsyncResult BeginRead(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback callback, Object state) { 583Int32 bytesFromBuffer = 0; 628private IAsyncResult BeginReadFromUnderlyingStream(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback callback, Object state, 629Int32 bytesAlreadySatisfied, Task semaphoreLockTask) { 631Task<Int32> readOp = ReadFromUnderlyingStreamAsync(buffer, offset, count, CancellationToken.None, 637public override Int32 EndRead(IAsyncResult asyncResult) { 641Contract.Ensures(Contract.Result<Int32>() >= 0); 647return TaskToApm.End<Int32>(asyncResult); 651private Task<Int32> LastSyncCompletedReadTask(Int32 val) { 653Task<Int32> t = _lastSyncCompletedReadTask; 659t = Task.FromResult<Int32>(val); 665public override Task<Int32> ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken) { 679return Task.FromCancellation<Int32>(cancellationToken); 684Int32 bytesFromBuffer = 0; 710: Task.FromException<Int32>(error); 731private async Task<Int32> ReadFromUnderlyingStreamAsync(Byte[] array, Int32 offset, Int32 count, 733Int32 bytesAlreadySatisfied, 753Int32 bytesFromBuffer = ReadFromBuffer(array, offset, count); 803public override Int32 ReadByte() { 821Int32 b = _buffer[_readPos++]; 826private void WriteToBuffer(Byte[] array, ref Int32 offset, ref Int32 count) { 828Int32 bytesToWrite = Math.Min(_bufferSize - _writePos, count); 842private void WriteToBuffer(Byte[] array, ref Int32 offset, ref Int32 count, out Exception error) { 855public override void Write(Byte[] array, Int32 offset, Int32 count) { 935Int32 totalUserBytes; 995public override IAsyncResult BeginWrite(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback callback, Object state) { 1053private IAsyncResult BeginWriteToUnderlyingStream(Byte[] buffer, Int32 offset, Int32 count, AsyncCallback callback, Object state, 1077public override Task WriteAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken) { 1091return Task.FromCancellation<Int32>(cancellationToken); 1141private async Task WriteToUnderlyingStreamAsync(Byte[] array, Int32 offset, Int32 count, 1166Int32 totalUserBytes; 1305_readPos = (Int32) (newPos - (oldPos - _readPos));
system\io\file.cs (1)
922if (fileLength > Int32.MaxValue)
system\io\memorystream.cs (7)
64private const int MemStreamMaxLength = Int32.MaxValue; 421public override Task CopyToAsync(Stream destination, Int32 bufferSize, CancellationToken cancellationToken) { 461Int32 pos = _position; 462Int32 n = InternalEmulateRead(_length - _position); 528if (value < 0 || value > Int32.MaxValue) { 536Contract.Assert(MemStreamMaxLength == Int32.MaxValue); // Check parameter validation logic in this method if this fails. 537if (value > (Int32.MaxValue - _origin)) {
system\io\stream.cs (13)
136public Task CopyToAsync(Stream destination, Int32 bufferSize) 143public virtual Task CopyToAsync(Stream destination, Int32 bufferSize, CancellationToken cancellationToken) 162private async Task CopyToAsyncInternal(Stream destination, Int32 bufferSize, CancellationToken cancellationToken) 347var bytesRead = thisTask._stream.Read(thisTask._buffer, thisTask._offset, thisTask._count); 426private Task<Int32> BeginEndReadAsync(Byte[] buffer, Int32 offset, Int32 count) 428return TaskFactory<Int32>.FromAsyncTrim( 722private Task BeginEndWriteAsync(Byte[] buffer, Int32 offset, Int32 count) 999private Int32 _bytesRead; 1001internal SynchronousAsyncResult(Int32 bytesRead, Object asyncStateObject) { 1042internal static Int32 EndRead(IAsyncResult asyncResult) {
system\io\streamreader.cs (5)
1128private Int32 CharLen_Prop { 1133private Int32 CharPos_Prop { 1138private Int32 ByteLen_Prop { 1143private Int32 BytePos_Prop { 1181private Int32 MaxCharsPerBuffer_Prop {
system\io\streamwriter.cs (15)
53private const Int32 DontCopyOnWriteLineThreshold = 512; 474Char[] charBuffer, Int32 charPos, Int32 charLen, Char[] coreNewLine, 488for (Int32 i = 0; i < coreNewLine.Length; i++) // Expect 2 iterations, no point calling BlockCopy 543Char[] charBuffer, Int32 charPos, Int32 charLen, Char[] coreNewLine, 574for (Int32 i = 0; i < coreNewLine.Length; i++) // Expect 2 iterations, no point calling BlockCopy 631private static async Task WriteAsyncInternal(StreamWriter _this, Char[] buffer, Int32 index, Int32 count, 632Char[] charBuffer, Int32 charPos, Int32 charLen, Char[] coreNewLine, 662for (Int32 i = 0; i < coreNewLine.Length; i++) // Expect 2 iterations, no point calling BlockCopy 812private Int32 CharPos_Prop { 821Char[] sCharBuffer, Int32 sCharPos) { 838Char[] charBuffer, Int32 charPos, bool haveWrittenPreamble,
system\io\unmanagedmemoryaccessor.cs (11)
235public Int32 ReadInt32(Int64 position) { 236int sizeOfType = sizeof(Int32); 239Int32 result; 251result = *((Int32*)(pointer)); 579public int ReadArray<T>(Int64 position, T[] array, Int32 offset, Int32 count) where T : struct { 722public void Write(Int64 position, Int32 value) { 723int sizeOfType = sizeof(Int32); 737*((Int32*)pointer) = value; 1060public void WriteArray<T>(Int64 position, T[] array, Int32 offset, Int32 count) where T : struct {
system\io\unmanagedmemorystream.cs (13)
107private Task<Int32> _lastReadTask; // The last successful task returned from ReadAsync 340if (value > (long) Int32.MaxValue || _mem + value < _mem) 448public override Task<Int32> ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken) { 460return Task.FromCancellation<Int32>(cancellationToken); 464Int32 n = Read(buffer, offset, count); 465Task<Int32> t = _lastReadTask; 466return (t != null && t.Result == n) ? t : (_lastReadTask = Task.FromResult<Int32>(n)); 471return Task.FromException<Int32>(ex); 644public override Task WriteAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken) { 667return Task.FromException<Int32>(ex);
system\io\unmanagedmemorystreamwrapper.cs (6)
153public override Task CopyToAsync(Stream destination, Int32 bufferSize, CancellationToken cancellationToken) { 186public override Task<Int32> ReadAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken) { 192public override Task WriteAsync(Byte[] buffer, Int32 offset, Int32 count, CancellationToken cancellationToken) {
system\math.cs (1)
287if (value == Int32.MinValue)
system\notfinitenumberexception.cs (1)
68info.AddValue("OffendingNumber", _offendingNumber, typeof(Int32));
system\number.cs (38)
338private const Int32 NumberMaxDigits = 50; 340private const Int32 Int32Precision = 10; 341private const Int32 UInt32Precision = Int32Precision; 342private const Int32 Int64Precision = 19; 343private const Int32 UInt64Precision = 20; 362public static readonly Int32 NumberBufferBytes = 12 + ((NumberMaxDigits + 1) * 2) + IntPtr.Size; 368public Int32 precision; 369public Int32 scale; 383Int32* baseInteger = (Int32*) baseAddress; 391private static Boolean HexNumberToInt32(ref NumberBuffer number, ref Int32 value) { 394value = (Int32)passedValue; 408Int32 i = number.scale; 453Int32 i = number.scale; 500private unsafe static Boolean NumberToInt32(ref NumberBuffer number, ref Int32 value) { 502Int32 i = number.scale; 508Int32 n = 0; 515n += (Int32)(*p++ - '0'); 536Int32 i = number.scale; 549n += (Int32)(*p++ - '0'); 570Int32 i = number.scale; 598Int32 i = number.scale; 698internal unsafe static Int32 ParseInt32(String s, NumberStyles style, NumberFormatInfo info) { 702Int32 i = 0; 743const Int32 StateSign = 0x0001; 744const Int32 StateParens = 0x0002; 745const Int32 StateDigits = 0x0004; 746const Int32 StateNonZero = 0x0008; 747const Int32 StateDecimal = 0x0010; 748const Int32 StateCurrency = 0x0020; 781Int32 state = 0; 785Int32 maxParseDigits = bigNumber ? Int32.MaxValue : NumberMaxDigits; 822Int32 digCount = 0; 823Int32 digEnd = 0; 878Int32 exp = 0; 1037private static Boolean TrailingZeros(String s, Int32 index) { 1081internal unsafe static Boolean TryParseInt32(String s, NumberStyles style, NumberFormatInfo info, out Int32 result) {
system\random.cs (6)
28private const int MBIG = Int32.MaxValue; 62int subtraction = (Seed == Int32.MinValue) ? Int32.MaxValue : Math.Abs(Seed); 148d += (Int32.MaxValue - 1); // get a number in range [0 .. 2 * Int32MaxValue - 1) 149d /= 2*(uint)Int32.MaxValue - 1 ; 167if( range <= (long)Int32.MaxValue) {
system\reflection\emit\methodbuilder.cs (4)
1496if ((long)tryOffset + tryLength > Int32.MaxValue) 1498throw new ArgumentOutOfRangeException("tryLength", Environment.GetResourceString("ArgumentOutOfRange_Range", 0, Int32.MaxValue - tryOffset)); 1501if ((long)handlerOffset + handlerLength > Int32.MaxValue) 1503throw new ArgumentOutOfRangeException("handlerLength", Environment.GetResourceString("ArgumentOutOfRange_Range", 0, Int32.MaxValue - handlerOffset));
system\resources\resourcereader.cs (2)
617else if (type == typeof(Int32)) 1337private const int ENUM_DONE = Int32.MinValue;
system\resources\resourcewriter.cs (4)
533else if (type == typeof(Int32)) 635writer.Write((Int32) value); 687if (ms.Length > Int32.MaxValue) 699if (s.Length > Int32.MaxValue)
system\rttype.cs (1)
3044public Int32 Compare(ConstructorInfo x, ConstructorInfo y)
system\runtime\compilerservices\AsyncMethodBuilder.cs (9)
759else if (typeof(TResult) == typeof(Int32)) 764Int32 value = (Int32)(object)result; 768Task<Int32> task = AsyncTaskCache.Int32Tasks[value - AsyncTaskCache.INCLUSIVE_INT32_MIN]; 810internal readonly static Task<Int32>[] Int32Tasks = CreateInt32Tasks(); 812internal const Int32 INCLUSIVE_INT32_MIN = -1; 814internal const Int32 EXCLUSIVE_INT32_MAX = 9; 816private static Task<Int32>[] CreateInt32Tasks() 819var tasks = new Task<Int32>[EXCLUSIVE_INT32_MAX - INCLUSIVE_INT32_MIN];
system\runtime\compilerservices\ConditionalWeakTable.cs (3)
177int hashCode = RuntimeHelpers.GetHashCode(key) & Int32.MaxValue; 464int hashCode = RuntimeHelpers.GetHashCode(key) & Int32.MaxValue; 569int hashCode = RuntimeHelpers.GetHashCode(key) & Int32.MaxValue;
system\runtime\interopservices\ComTypes\itypeinfo.cs (6)
74public Int32 lcid; 75public Int32 dwReserved; 76public Int32 memidConstructor; 77public Int32 memidDestructor; 79public Int32 cbSizeInstance; 233public Int32 scode;
system\runtime\interopservices\itypelibconverter.cs (3)
129bool GetPrimaryInteropAssembly(Guid g, Int32 major, Int32 minor, Int32 lcid, out String asmName, out String asmCodeBase);
system\runtime\interopservices\marshal.cs (1)
1985public static Int32 FinalReleaseComObject(Object o)
system\runtime\interopservices\tceadaptergen\eventproviderwriter.cs (6)
146LocalBuilder ltCookie = il.DeclareLocal( typeof(Int32) ); 251aParamTypes[0] = typeof(Int32); 302LocalBuilder ltNumSinkHelpers = il.DeclareLocal( typeof(Int32) ); 303LocalBuilder ltSinkHelperCounter = il.DeclareLocal( typeof(Int32) ); 626LocalBuilder ltNumSinkHelpers = il.DeclareLocal( typeof(Int32) ); 627LocalBuilder ltSinkHelperCounter = il.DeclareLocal( typeof(Int32) );
system\runtime\interopservices\tceadaptergen\eventsinkhelperwriter.cs (1)
87typeof(Int32),
system\runtime\interopservices\typelibconverter.cs (3)
183public bool GetPrimaryInteropAssembly(Guid g, Int32 major, Int32 minor, Int32 lcid, out String asmName, out String asmCodeBase)
system\runtime\interopservices\ucomitypeinfo.cs (5)
77public Int32 lcid; 78public Int32 dwReserved; 79public Int32 memidConstructor; 80public Int32 memidDestructor; 82public Int32 cbSizeInstance;
system\Runtime\InteropServices\Variant.cs (6)
77[FieldOffset(0)] internal Int32 _i4; 83[FieldOffset(0)] internal Int32 _int; 86[FieldOffset(0)] internal Int32 _error; 402public Int32 AsI4 { 486public Int32 AsInt { 528public Int32 AsError {
system\runtime\interopservices\windowsruntime\bindablevectortocollectionadapter.cs (1)
43if (((uint)Int32.MaxValue) < size)
system\runtime\interopservices\windowsruntime\bindablevectortolistadapter.cs (3)
66if (((uint)Int32.MaxValue) < size) 120if (((uint)Int32.MaxValue) < index) 150if (((uint)Int32.MaxValue) < index)
system\runtime\interopservices\windowsruntime\clripropertyvalueimpl.cs (6)
39new Tuple<Type, PropertyType>(typeof(Int32), PropertyType.Int32), 96public Int32 GetInt32() 98return CoerceScalarValue<Int32>(PropertyType.Int32); 242public Int32[] GetInt32Array() 244return CoerceArrayValue<Int32>(PropertyType.Int32Array); 459else if (typeof(T) == typeof(Int32)) {
system\runtime\interopservices\windowsruntime\constantsplittablemap.cs (9)
37public Int32 Compare(KeyValuePair<TKey, TValue> x, KeyValuePair<TKey, TValue> y) 66if (((UInt32)Int32.MaxValue) < data.Size) 81private ConstantSplittableMap(KeyValuePair<TKey, TValue>[] items, Int32 firstItemIndex, Int32 lastItemIndex) 89private KeyValuePair<TKey, TValue>[] CreateKeyValueArray(Int32 count, IEnumerator<KeyValuePair<TKey, TValue>> data) 93Int32 i = 0; 102private KeyValuePair<TKey, TValue>[] CreateKeyValueArray(Int32 count, IEnumerator<IKeyValuePair<TKey, TValue>> data) 106Int32 i = 0; 181int pivot = (Int32)(((Int64)firstItemIndex + (Int64)lastItemIndex) / (Int64)2);
system\runtime\interopservices\windowsruntime\ipropertyvalue.cs (2)
43Int32 GetInt32(); 97Int32[] GetInt32Array();
system\runtime\interopservices\windowsruntime\ireadonlylisttoivectorviewadapter.cs (1)
134if (((uint)Int32.MaxValue) <= index || index >= (uint)listCapacity)
system\runtime\interopservices\windowsruntime\listtobindablevectoradapter.cs (3)
46return _this[(Int32)index]; 135_this.RemoveAt((Int32)index); 183if (((uint)Int32.MaxValue) <= index || index >= (uint)listCapacity)
system\runtime\interopservices\windowsruntime\listtobindablevectorviewadapter.cs (1)
42if (((uint)Int32.MaxValue) <= index || index >= (uint)listCapacity)
system\runtime\interopservices\windowsruntime\listtovectoradapter.cs (3)
46return _this[(Int32)index]; 144_this.RemoveAt((Int32)index); 216if (((uint)Int32.MaxValue) <= index || index >= (uint)listCapacity)
system\runtime\interopservices\windowsruntime\maptocollectionadapter.cs (3)
50if (((uint)Int32.MaxValue) < size) 62if (((uint)Int32.MaxValue) < size) 185if (((uint)Int32.MaxValue) < index)
system\runtime\interopservices\windowsruntime\mapviewtoreadonlycollectionadapter.cs (2)
50if (((uint)Int32.MaxValue) < size) 62if (((uint)Int32.MaxValue) < size)
system\runtime\interopservices\windowsruntime\vectortocollectionadapter.cs (2)
42if (((uint)Int32.MaxValue) < size) 121if (((uint)Int32.MaxValue) < index)
system\runtime\interopservices\windowsruntime\vectortolistadapter.cs (1)
69if (((uint)Int32.MaxValue) < index)
system\runtime\interopservices\windowsruntime\vectorviewtoreadonlycollectionadapter.cs (1)
42if (((uint)Int32.MaxValue) < size)
system\runtime\remoting\context.cs (1)
168public virtual Int32 ContextID
system\runtime\remoting\crossappdomainchannel.cs (1)
316internal static void DomainUnloaded(Int32 domainID)
system\runtime\remoting\message.cs (2)
3496position = Int32.Parse(memberName.Substring(7), CultureInfo.InvariantCulture); 4472position = Int32.Parse(memberName.Substring(7), CultureInfo.InvariantCulture);
system\runtime\remoting\objref.cs (1)
928internal Int32 GetServerDomainId()
system\runtime\remoting\remotingconfigparser.cs (1)
1832int value = Int32.Parse(time.Substring(0, time.Length - metricLength), CultureInfo.InvariantCulture);
system\runtime\remoting\remotingservices.cs (1)
2179internal static void DomainUnloaded(Int32 domainID)
system\runtime\serialization\formatter.cs (1)
151} else if (varType==typeof(Int32)) {
system\runtime\serialization\formatters\binary\binarycommonclasses.cs (60)
417internal Int32 binaryFormatterMajorVersion = 1; 418internal Int32 binaryFormatterMinorVersion = 0; 420internal Int32 topId; 421internal Int32 headerId; 422internal Int32 majorVersion; 423internal Int32 minorVersion; 429internal SerializationHeaderRecord(BinaryHeaderEnum binaryHeaderEnum, Int32 topId, Int32 headerId, Int32 majorVersion, Int32 minorVersion) 498internal Int32 assemId; 506internal void Set(Int32 assemId, String assemblyString) 549internal Int32 assemId; 550internal Int32 assemblyIndex; 592internal Int32 objectId; 593internal Int32 mapId; 599internal void Set(Int32 objectId, Int32 mapId) 766sout.WriteInt32((Int32)messageEnum); 1044sout.WriteInt32((Int32)messageEnum); 1184internal Int32 objectId; 1191internal void Set(Int32 objectId, String value) 1234internal Int32 objectId; 1235internal Int32 value; 1276internal Int32 crossAppDomainArrayIndex; 1367internal Int32 objectId; 1369internal Int32 numMembers; 1371internal Int32 assemId; 1382internal void Set(Int32 objectId, String name, Int32 numMembers, String[] memberNames, Int32 assemId) 1461internal Int32 objectId; 1463internal Int32 numMembers; 1467internal Int32[] memberAssemIds; 1468internal Int32 assemId; 1499internal void Set(Int32 objectId, String name, Int32 numMembers, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, Int32[] memberAssemIds, Int32 assemId) 1548memberAssemIds = new Int32[numMembers]; 1614internal Int32 objectId; 1615internal Int32 rank; 1616internal Int32[] lengthA; 1617internal Int32[] lowerBoundA; 1638internal void Set(Int32 objectId, Int32 rank, Int32[] lengthA, Int32[] lowerBoundA, BinaryTypeEnum binaryTypeEnum, Object typeInformation, BinaryArrayTypeEnum binaryArrayTypeEnum, int assemId) 1717lowerBoundA = new Int32[rank]; 1727lowerBoundA = new Int32[rank]; 1737lowerBoundA = new Int32[rank]; 1745lengthA = new Int32[rank]; 1746lowerBoundA = new Int32[rank]; 1887internal Int32 idRef; 1893internal void Set(Int32 idRef) 2081internal Int32 objectId; 2085internal ObjectMap(String objectName, Type objectType, String[] memberNames, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo) 2111internal ObjectMap(String objectName, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, int[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable) 2167internal static ObjectMap Create(String name, Type objectType, String[] memberNames, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo) 2174internal static ObjectMap Create(String name, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, int[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable)
system\runtime\serialization\formatters\binary\binaryconverter.cs (3)
301array = new Int32[length]; 498internal static Type typeofInt32 = typeof(Int32); 523internal static Type typeofInt32Array = typeof(Int32[]);
system\runtime\serialization\formatters\binary\binaryformatterwriter.cs (9)
118internal void WriteInt32(Int32 value) 348Int32[] lengthA = new Int32[1]; 350Int32[] lowerBoundA = null; 360lowerBoundA = new Int32[1]; 436Int32[] lengthA = new Int32[1]; 438Int32[] lowerBoundA = null; 449lowerBoundA = new Int32[1];
system\runtime\serialization\formatters\binary\binaryobjectreader.cs (1)
1283private const int THRESHOLD_FOR_VALUETYPE_IDS = Int32.MaxValue;
system\runtime\serialization\formatters\binary\binaryparser.cs (1)
335internal Int32 ReadInt32()
system\runtime\serialization\formatters\binary\binaryutilclasses.cs (3)
841Int32[] int32A = null; 873int32A = (Int32[])array; 916int32A[index] = Int32.Parse(value, CultureInfo.InvariantCulture);
system\runtime\serialization\objectmanager.cs (6)
1619if (newLength==Int32.MaxValue) { 1622newLength=Int32.MaxValue; 1708if (newLength==Int32.MaxValue) { 1711newLength=Int32.MaxValue; 1753if (newLength==Int32.MaxValue) { 1756newLength=Int32.MaxValue;
system\runtime\serialization\serializationinfo.cs (2)
264if (Int32.MaxValue > m_currMember) 266newSize = Int32.MaxValue;
system\security\accesscontrol\securitydescriptor.cs (1)
644const System.Int32 TRUE = 1;
system\security\accesscontrol\win32.cs (1)
20internal const System.Int32 TRUE = 1;
system\security\claims\Claim.cs (3)
570writer.Write((Int32)mask); 571writer.Write((Int32)numberOfPropertiesWritten); 606writer.Write((Int32)userData.Length);
system\security\claims\ClaimsIdentity.cs (4)
1237writer.Write((Int32)mask); 1238writer.Write((Int32)numberOfPropertiesWritten); 1266writer.Write((Int32)m_instanceClaims.Count); 1280writer.Write((Int32)userData.Length);
system\security\claims\ClaimsPrincipal.cs (3)
859writer.Write((Int32)mask); 860writer.Write((Int32)numberOfPropertiesWritten); 872writer.Write((Int32)userData.Length);
system\security\cryptography\cryptoapitransform.cs (3)
101dwValue = (Int32) _rgArgValues[i]; 107dwValue = (Int32) _rgArgValues[i]; 111dwValue = (Int32) _rgArgValues[i];
system\security\cryptography\cryptoconfig.cs (1)
761oidNums[i] = (uint) Int32.Parse(oidString[i], CultureInfo.InvariantCulture);
system\security\permissiontoken.cs (1)
316realToken = FindTokenByIndex( Int32.Parse( elRoot.Attribute( "Index" ), CultureInfo.InvariantCulture ) );
system\security\policy\netcodegroup.cs (2)
155_IntPort = Int32.Parse(allowPort, CultureInfo.InvariantCulture); 498intPort = Int32.Parse(port, CultureInfo.InvariantCulture );
system\security\principal\win32.cs (3)
20using BOOL = System.Int32; 45internal const BOOL FALSE = 0; 46internal const BOOL TRUE = 1;
system\security\securestring.cs (1)
294Contract.Assert(index <= Int32.MaxValue / sizeof(char));
system\security\util\urlstring.cs (2)
322m_port = Int32.Parse( temp.Substring(portIndex + 1), CultureInfo.InvariantCulture ); 331m_port = Int32.Parse( temp.Substring(portIndex + 1, tempIndex - portIndex - 1), CultureInfo.InvariantCulture );
system\string.cs (11)
977return SplitInternal(separator, Int32.MaxValue, StringSplitOptions.None); 999return SplitInternal(separator, Int32.MaxValue, options); 1051return Split(separator, Int32.MaxValue, options); 1055public String[] Split(String[] separator, Int32 count, StringSplitOptions options) { 1100private String[] InternalSplitKeepEmptyEntries(Int32 [] sepList, Int32 [] lengthList, Int32 numReplaces, int count) { 1136private String[] InternalSplitOmitEmptyEntries(Int32[] sepList, Int32[] lengthList, Int32 numReplaces, int count) { 1244Int32 currentSepLength = separator.Length;
system\stubhelpers.cs (4)
827Int32 *nativeBuffer = *(Int32 **)pNativeHome; 901Int32 *nativeBuffer = *(Int32 **)pNativeHome;
system\text\stringbuilder.cs (3)
139m_MaxCapacity = Int32.MaxValue; 187int persistedMaxCapacity = Int32.MaxValue; 844Contract.Assert(insertingChars + this.Length < Int32.MaxValue);
system\threading\CancellationToken.cs (1)
415public override Int32 GetHashCode()
system\threading\CancellationTokenSource.cs (5)
289if (totalMilliseconds < -1 || totalMilliseconds > Int32.MaxValue) 316public CancellationTokenSource(Int32 millisecondsDelay) 327private void InitializeWithTimer(Int32 millisecondsDelay) 428if (totalMilliseconds < -1 || totalMilliseconds > Int32.MaxValue) 460public void CancelAfter(Int32 millisecondsDelay)
system\threading\CDSsyncETWBCLProvider.cs (1)
113Int32 senseAsInt32 = currentSense ? 1 : 0; // write out Boolean as Int32
system\threading\CountdownEvent.cs (3)
362else if (observedCount > (Int32.MaxValue - signalCount)) 479/// than <see cref="System.Int32.MaxValue"/>.</exception> 507/// than <see cref="System.Int32.MaxValue"/>.</exception>
system\threading\ManualResetEventSlim.cs (2)
460/// than <see cref="System.Int32.MaxValue"/>.</exception> 489/// than <see cref="System.Int32.MaxValue"/>.</exception>
system\threading\monitor.cs (1)
135if (tm < -1 || tm > (long)Int32.MaxValue)
system\threading\readerwriterlock.cs (3)
109if (tm < -1 || tm > (long) Int32.MaxValue) 135if (tm < -1 || tm > (long) Int32.MaxValue) 194if (tm < -1 || tm > (long) Int32.MaxValue)
system\threading\SemaphoreSlim.cs (8)
84private const int NO_MAXIMUM = Int32.MaxValue; 240/// than <see cref="System.Int32.MaxValue"/>.</exception> 245if (totalMilliseconds < -1 || totalMilliseconds > Int32.MaxValue) 269/// than <see cref="System.Int32.MaxValue"/>.</exception> 275if (totalMilliseconds < -1 || totalMilliseconds > Int32.MaxValue) 545/// an infinite time-out -or- timeout is greater than <see cref="System.Int32.MaxValue"/>. 566/// an infinite time-out -or- timeout is greater than <see cref="System.Int32.MaxValue"/>. 572if (totalMilliseconds < -1 || totalMilliseconds > Int32.MaxValue)
system\threading\SpinLock.cs (1)
222/// than <see cref="System.Int32.MaxValue"/> milliseconds.
system\threading\SpinWait.cs (2)
222/// <see cref="System.Int32.MaxValue"/>.</exception> 227if (totalMilliseconds < -1 || totalMilliseconds > Int32.MaxValue)
system\threading\Tasks\ConcurrentExclusiveSchedulerPair.cs (3)
71private static Int32 DefaultMaxConcurrencyLevel { get { return Environment.ProcessorCount; } } 123if (m_maxConcurrencyLevel == UNLIMITED_PROCESSING) m_maxConcurrencyLevel = Int32.MaxValue; 124if (m_maxItemsPerTask == UNLIMITED_PROCESSING) m_maxItemsPerTask = Int32.MaxValue;
system\threading\Tasks\Parallel.cs (1)
137if ((schedulerMax > 0) && (schedulerMax != Int32.MaxValue))
system\threading\Tasks\ParallelLoopState.cs (2)
484internal volatile int m_lowestBreakIteration = Int32.MaxValue; 497if (m_lowestBreakIteration == Int32.MaxValue) return null;
system\threading\Tasks\ParallelRangeManager.cs (5)
193Contract.Assert((nFromInclusiveLocal <= Int32.MaxValue) && (nFromInclusiveLocal >= Int32.MinValue) && 194(nToExclusiveLocal <= Int32.MaxValue) && (nToExclusiveLocal >= Int32.MinValue)); 252Contract.Assert((uSpan / uRangeSize) < Int32.MaxValue);
system\threading\Tasks\ProducerConsumerQueues.cs (5)
150Contract.Assert(MAX_SEGMENT_SIZE < Int32.MaxValue / 2, "Max segment size * 2 must be < Int32.MaxValue, or else overflow could occur."); 251var first = segment.m_state.m_first; // local copy to avoid extraneous volatile reads 309var first = segment.m_state.m_first; // local copy to avoid extraneous volatile reads 375var first = segment.m_state.m_first; // local copy to avoid extraneous volatile reads 552[StructLayout(LayoutKind.Explicit, Size = PaddingHelpers.CACHE_LINE_SIZE - sizeof(Int32))] // Based on common case of 64-byte cache lines
system\threading\Tasks\Task.cs (8)
632var tmpFlags = (int)creationOptions | (int)internalOptions; 3073/// <see cref="System.Int32.MaxValue"/>. 3078if (totalMilliseconds < -1 || totalMilliseconds > Int32.MaxValue) 4927/// <see cref="System.Int32.MaxValue"/>. 4933if (totalMilliseconds < -1 || totalMilliseconds > Int32.MaxValue) 5352/// <see cref="System.Int32.MaxValue"/>. 5358if (totalMilliseconds < -1 || totalMilliseconds > Int32.MaxValue) 5822if (totalMilliseconds < -1 || totalMilliseconds > Int32.MaxValue)
system\threading\Tasks\TaskScheduler.cs (5)
170public virtual Int32 MaximumConcurrencyLevel 174return Int32.MaxValue; 401public Int32 Id 613public Int32 Id 703public override Int32 MaximumConcurrencyLevel
system\threading\Tasks\TPLETWProvider.cs (1)
491Int32 isExceptionalInt = IsExceptional ? 1 : 0;
system\threading\thread.cs (4)
701if (tm < -1 || tm > (long) Int32.MaxValue) 732if (tm < -1 || tm > (long) Int32.MaxValue) 768t_currentProcessorIdCache = ((currentProcessorId << ProcessorIdCacheShift) & Int32.MaxValue) | ProcessorIdRefreshRate; 1439internal extern Object InternalCrossContextCallback(Context ctx, IntPtr ctxID, Int32 appDomainID, InternalCrossContextDelegate ftnToCall, Object[] args);
system\threading\threadpool.cs (2)
1560if (tm > (long) Int32.MaxValue) 1579if (tm > (long) Int32.MaxValue)
system\threading\volatile.cs (1)
100var value = location;
system\threading\waithandle.cs (4)
205if (-1 > tm || (long) Int32.MaxValue < tm) 378if (-1 > tm || (long) Int32.MaxValue < tm) 483if (-1 > tm || (long) Int32.MaxValue < tm) 537if (-1 > tm || (long) Int32.MaxValue < tm)
system\timezoneinfo.cs (39)
1465static private DaylightTimeStruct GetDaylightTime(Int32 year, AdjustmentRule rule) { 1538static private Boolean GetIsDaylightSavingsFromUtc(DateTime time, Int32 Year, TimeSpan utc, AdjustmentRule rule, out Boolean isAmbiguousLocalDst, TimeZoneInfo zone) { 2056Int32 year; 2209static private DateTime TransitionTimeToDateTime(Int32 year, TransitionTime transitionTime) { 2217Int32 day = DateTime.DaysInMonth(year, transitionTime.Month); 2245Int32 daysInMonth = DateTime.DaysInMonth(year, transitionTime.Month); 2343Int32 first = (Int32)dynamicKey.GetValue(c_firstEntryValue, -1, RegistryValueOptions.None); 2344Int32 last = (Int32)dynamicKey.GetValue(c_lastEntryValue, -1, RegistryValueOptions.None); 2388for (Int32 i = first + 1; i < last; i++) { 2604if (!Int32.TryParse(resources[1], NumberStyles.Integer, CultureInfo.InvariantCulture, out resourceId)) { 3290public Int32 Month { 3297public Int32 Week { 3303public Int32 Day { 3381Int32 month, 3382Int32 day) { 3390Int32 month, 3391Int32 week, 3400Int32 month, 3401Int32 week, 3402Int32 day, 3429Int32 month, 3430Int32 week, 3431Int32 day, 3473ValidateTransitionTime(m_timeOfDay, (Int32)m_month, (Int32)m_week, (Int32)m_day, m_dayOfWeek); 3684Int32 fixedDate = (time.IsFixedDateRule ? 1 : 0); 3730private void SkipVersionNextDataFields(Int32 depth /* starting depth in the nested brackets ('[', ']')*/) { 3899Int32 token = GetNextInt32Value(canEndWithoutSeparator); 3915private Int32 GetNextInt32Value(Boolean canEndWithoutSeparator) { 3917Int32 value; 3918if (!Int32.TryParse(token, NumberStyles.AllowLeadingSign /* "[sign]digits" */, CultureInfo.InvariantCulture, out value)) { 4071Int32 isFixedDate = GetNextInt32Value(false); 4082Int32 month = GetNextInt32Value(false); 4085Int32 day = GetNextInt32Value(false); 4095Int32 week = GetNextInt32Value(false); 4096Int32 dayOfWeek = GetNextInt32Value(false);
system\tuple.cs (32)
109Int32 IComparable.CompareTo(Object obj) { 113Int32 IStructuralComparable.CompareTo(Object other, IComparer comparer) { 129Int32 IStructuralEquatable.GetHashCode(IEqualityComparer comparer) { 133Int32 ITupleInternal.GetHashCode(IEqualityComparer comparer) { 199Int32 IComparable.CompareTo(Object obj) { 203Int32 IStructuralComparable.CompareTo(Object other, IComparer comparer) { 225Int32 IStructuralEquatable.GetHashCode(IEqualityComparer comparer) { 229Int32 ITupleInternal.GetHashCode(IEqualityComparer comparer) { 304Int32 IComparable.CompareTo(Object obj) { 308Int32 IStructuralComparable.CompareTo(Object other, IComparer comparer) { 334Int32 IStructuralEquatable.GetHashCode(IEqualityComparer comparer) { 338Int32 ITupleInternal.GetHashCode(IEqualityComparer comparer) { 420Int32 IComparable.CompareTo(Object obj) { 424Int32 IStructuralComparable.CompareTo(Object other, IComparer comparer) { 454Int32 IStructuralEquatable.GetHashCode(IEqualityComparer comparer) { 458Int32 ITupleInternal.GetHashCode(IEqualityComparer comparer) { 547Int32 IComparable.CompareTo(Object obj) { 551Int32 IStructuralComparable.CompareTo(Object other, IComparer comparer) { 585Int32 IStructuralEquatable.GetHashCode(IEqualityComparer comparer) { 589Int32 ITupleInternal.GetHashCode(IEqualityComparer comparer) { 685Int32 IComparable.CompareTo(Object obj) { 689Int32 IStructuralComparable.CompareTo(Object other, IComparer comparer) { 727Int32 IStructuralEquatable.GetHashCode(IEqualityComparer comparer) { 731Int32 ITupleInternal.GetHashCode(IEqualityComparer comparer) { 834Int32 IComparable.CompareTo(Object obj) { 838Int32 IStructuralComparable.CompareTo(Object other, IComparer comparer) { 880Int32 IStructuralEquatable.GetHashCode(IEqualityComparer comparer) { 884Int32 ITupleInternal.GetHashCode(IEqualityComparer comparer) { 998Int32 IComparable.CompareTo(Object obj) { 1002Int32 IStructuralComparable.CompareTo(Object other, IComparer comparer) { 1048Int32 IStructuralEquatable.GetHashCode(IEqualityComparer comparer) { 1075Int32 ITupleInternal.GetHashCode(IEqualityComparer comparer) {
system\variant.cs (1)
99typeof(Int32),
system\version.cs (2)
425if (!Int32.TryParse(component, NumberStyles.Integer, CultureInfo.InvariantCulture, out parsedComponent)) { 514Int32.Parse(m_exceptionArgument, CultureInfo.InvariantCulture);
PresentationBuildTasks (59)
Base\MS\Internal\IO\Packaging\Compoundfile\ContainerUtilities.cs (5)
47static private readonly Int32 _int16Size = SizeOfInt16(); 48static private readonly Int32 _int32Size = SizeOfInt32(); 68static internal Int32 Int16Size 139Int32 strByteLen = 0; 319return Marshal.SizeOf(typeof(Int32));
Base\System\Windows\Markup\TypeConverterHelper.cs (1)
177else if (typeof(Int32).IsAssignableFrom(type))
BuildTasks\Microsoft\Build\Tasks\Windows\ResourcesGenerator.cs (2)
68if (length > (long)System.Int32.MaxValue) 70throw new ApplicationException(SR.Get(SRID.ResourceTooBig, _sourcePath, System.Int32.MaxValue));
Core\CSharp\MS\internal\Media\XamlSerializationHelper.cs (2)
453if ( !( scaledInteger <= Int32.MaxValue ) // equivalent to scaledInteger > MaxValue, but take care of NaN. 455!( scaledInteger >= Int32.MinValue ) ) // equivalent to scaledInteger < Minvalue but take care of NaN.
Framework\System\Windows\Markup\BamlRecords.cs (40)
866internal virtual Int32 RecordSize 1075int size = (Int32)(end - start); 1142internal override Int32 RecordSize 1163Int32 _recordSize = -1; // we use a 7 bit encoded variable size 1447Int32 newPosition, 1453Int32 ValuePosition { get; set; } 1540Int32 newPosition, 1549Int32 deltaPosition = (Int32)(_valuePositionPosition-existingPosition); 1581Int32 IBamlDictionaryKey.ValuePosition 1665internal const Int32 ValuePositionSize = 4; 1668Int32 _valuePosition; 1727Int32 newPosition, 1736Int32 deltaPosition = (Int32)(_valuePositionPosition-existingPosition); 1769Int32 IBamlDictionaryKey.ValuePosition 1862internal const Int32 ValuePositionSize = 4; 1865Int32 _valuePosition; 2112internal override Int32 RecordSize 2188internal override Int32 RecordSize 2253internal override Int32 RecordSize 2495internal override Int32 RecordSize 3102internal override Int32 RecordSize 3314bamlBinaryWriter.Write((Int32)0); 3315bamlBinaryWriter.Write((Int32)0); 3367internal Int32 ConnectionId 3373internal override Int32 RecordSize 3379Int32 _connectionId = -1; 3468internal override Int32 RecordSize 3624Int32 contentSize, 3633Int32 deltaPosition = (Int32)(_contentSizePosition-existingPosition); 3661internal Int32 ContentSize 3669internal override Int32 RecordSize 3704Int32 _contentSize = - 1; 3834internal override Int32 RecordSize 3934internal override Int32 RecordSize 4014internal override Int32 RecordSize 5449internal override Int32 RecordSize 5516internal override Int32 RecordSize
Framework\System\Windows\Markup\BamlRecordWriter.cs (3)
252internal void WriteConnectionId(Int32 connectionId) 1644keyRecord.UpdateValuePosition((Int32)(position-endOfKeys), BinaryWriter); 1657bamlDeferableContentStart.UpdateContentSize((Int32)(startOfEnd - endOfStart),
Framework\System\Windows\Markup\KnownTypes.cs (1)
5490case KnownElements.Int32: t = typeof(Int32); break;
Framework\System\Windows\Markup\XamlNodes.cs (2)
1771internal Int32 ConnectionId 1787Int32 _connectionId;
Framework\System\Windows\Markup\XAMLParseException.cs (2)
275info.AddValue("Line", (Int32)_lineNumber); 276info.AddValue("Position", (Int32)_linePosition);
Framework\System\Windows\Markup\XamlParser.cs (1)
1111protected internal void WriteConnectionId(Int32 connectionId)
PresentationCore (335)
Core\CSharp\MS\Internal\AnimatedTypeHelpers.cs (22)
20return (Byte)((Int32)from + (Int32)((((Double)(to - from)) + (Double)0.5) * progress)); 58internal static Int32 InterpolateInt32(Int32 from, Int32 to, Double progress) 74return from + (Int32)addend; 182internal static Int32 AddInt32(Int32 value1, Int32 value2) 284internal static Int32 SubtractInt32(Int32 value1, Int32 value2) 368return Math.Abs((Int32)to - (Int32)from); 409internal static Double GetSegmentLengthInt32(Int32 from, Int32 to) 532internal static Int32 ScaleInt32(Int32 value, Double factor) 534return (Int32)((Double)value * factor); 645internal static bool IsValidAnimationValueInt32(Int32 value) 782internal static Int32 GetZeroValueInt32(Int32 baseValue)
Core\CSharp\MS\Internal\Ink\ExtendedPropertyCollection.cs (2)
205/// <paramref>Guid[]</paramref> is of type <see cref="System.Int32"/>. 303/// <paramref>Count</paramref> is of type <see cref="System.Int32"/>.
Core\CSharp\MS\Internal\Ink\GestureRecognizer\NativeRecognizer.cs (2)
600packetDescription.cbPacketSize = (uint)(propertyGuids.Length * Marshal.SizeOf(typeof(Int32))); 649countOfBytes = packetCount * Marshal.SizeOf(typeof(Int32));
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\Codec.cs (1)
94if ( Int32.MaxValue >= MathHelper.AbsNoThrow(llxfData) )
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (2)
660Int32 stylusTip = Convert.ToInt32(da.StylusTip, System.Globalization.CultureInfo.InvariantCulture); 736public static readonly Type StylusTip = typeof(Int32);
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\HuffCodec.cs (2)
189Debug.Assert(nDataLen > 0 && nDataLen - 1 <= Int32.MaxValue); 193Debug.Assert(nDataLen <= Int32.MaxValue);
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (2)
1505minimum = Int32.MinValue; 1506maximum = Int32.MaxValue;
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\MetricEntry.cs (2)
321if( Int32.MinValue == propertyInfo.Minimum && 322Int32.MaxValue == propertyInfo.Maximum &&
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\SerializationHelper.cs (2)
245else if (typeof(Int32) == type) 249else if (typeof(Int32[]) == type)
Core\CSharp\MS\Internal\IO\Packaging\ByteRangeDownloader.cs (3)
882int firstByteOffset = Int32.Parse(contentRange.Substring(ByteRangeUnit.Length, 896int lastByteOffset = Int32.Parse(contentRange.Substring(0, index), NumberStyles.None, NumberFormatInfo.InvariantInfo); 907Int32.Parse(contentRange, NumberStyles.None, NumberFormatInfo.InvariantInfo);
Core\CSharp\MS\Internal\IO\Packaging\NetStream.cs (1)
678if (block.Offset > (Int32.MaxValue - block.Length + 1))
Core\CSharp\MS\Internal\Media\XamlSerializationHelper.cs (2)
453if ( !( scaledInteger <= Int32.MaxValue ) // equivalent to scaledInteger > MaxValue, but take care of NaN. 455!( scaledInteger >= Int32.MinValue ) ) // equivalent to scaledInteger < Minvalue but take care of NaN.
Core\CSharp\System\Windows\DataObject.cs (7)
2128Int32 baseStructSize; 2129Int32 sizeInBytes; 2231Int32 byteSize; 2269Int32 pinvokeSize; 2468private int EnsureMemoryCapacity(ref IntPtr handle, Int32 minimumByteCount, bool doNotReallocate) 2705_current = _current + (int)Math.Min(celt, Int32.MaxValue - _current); 3384Int32 size;
Core\CSharp\System\Windows\GlobalEventManager.cs (1)
435if (_globalIndexToEventMap.Count >= Int32.MaxValue)
Core\CSharp\System\Windows\Ink\StrokeCollection.cs (2)
785indexes[x] = Int32.MaxValue; 817if ( indexes[y] != Int32.MaxValue )
Core\CSharp\System\Windows\Interop\HwndSource.cs (1)
1430Int32 sysCommand = NativeMethods.IntPtrToInt32(wParam) & 0xFFF0;
Core\CSharp\System\Windows\Interop\HwndTarget.cs (4)
1670private bool OnSettingChange(Int32 firstParam) 1758Int32 style = UnsafeNativeMethods.GetWindowLong(_hWnd.MakeHandleRef(this), NativeMethods.GWL_STYLE); 2348Int32 style = UnsafeNativeMethods.GetWindowLong(_hWnd.MakeHandleRef(this), NativeMethods.GWL_STYLE); 2349Int32 exStyle = UnsafeNativeMethods.GetWindowLong(_hWnd.MakeHandleRef(this), NativeMethods.GWL_EXSTYLE);
Core\CSharp\System\Windows\Media\Animation\Animatable.cs (2)
81Int32 dpGlobalIndex; 106Int32 dpGlobalIndex;
Core\CSharp\System\Windows\Media\Animation\Clock.cs (9)
201public Int32? CurrentIteration 723Int32? lastCurrentIteration = _currentIteration; 1334internal Int32? InternalCurrentIteration 2000Double wholePart = (Double)((Int32)repeatCount); 2005_currentIteration = (Int32)repeatCount; 2010_currentIteration = (Int32)(repeatCount + 1.0d); 3606Int32? desiredFrameRate = Timeline.GetDesiredFrameRate(_timeline); 4130internal Int32 DesiredFrameRate 4163private Int32 _desiredFrameRate;
Core\CSharp\System\Windows\Media\Animation\Generated\BooleanAnimationUsingKeyFrames.cs (7)
356Int32 keyFrameCount = _sortedResolvedKeyFrames.Length; 357Int32 maxKeyFrameIndex = keyFrameCount - 1; 363Int32 currentResolvedKeyFrameIndex = 0; 417Int32 previousResolvedKeyFrameIndex = currentResolvedKeyFrameIndex - 1; 551private Boolean GetResolvedKeyFrameValue(Int32 resolvedKeyFrameIndex) 558private BooleanKeyFrame GetResolvedKeyFrame(Int32 resolvedKeyFrameIndex) 579Int32 keyFrameCount = _keyFrames.Count;
Core\CSharp\System\Windows\Media\Animation\Generated\ByteAnimationUsingKeyFrames.cs (7)
356Int32 keyFrameCount = _sortedResolvedKeyFrames.Length; 357Int32 maxKeyFrameIndex = keyFrameCount - 1; 363Int32 currentResolvedKeyFrameIndex = 0; 428Int32 previousResolvedKeyFrameIndex = currentResolvedKeyFrameIndex - 1; 643private Byte GetResolvedKeyFrameValue(Int32 resolvedKeyFrameIndex) 650private ByteKeyFrame GetResolvedKeyFrame(Int32 resolvedKeyFrameIndex) 671Int32 keyFrameCount = _keyFrames.Count;
Core\CSharp\System\Windows\Media\Animation\Generated\CharAnimationUsingKeyFrames.cs (7)
356Int32 keyFrameCount = _sortedResolvedKeyFrames.Length; 357Int32 maxKeyFrameIndex = keyFrameCount - 1; 363Int32 currentResolvedKeyFrameIndex = 0; 417Int32 previousResolvedKeyFrameIndex = currentResolvedKeyFrameIndex - 1; 551private Char GetResolvedKeyFrameValue(Int32 resolvedKeyFrameIndex) 558private CharKeyFrame GetResolvedKeyFrame(Int32 resolvedKeyFrameIndex) 579Int32 keyFrameCount = _keyFrames.Count;
Core\CSharp\System\Windows\Media\Animation\Generated\ColorAnimationUsingKeyFrames.cs (7)
356Int32 keyFrameCount = _sortedResolvedKeyFrames.Length; 357Int32 maxKeyFrameIndex = keyFrameCount - 1; 363Int32 currentResolvedKeyFrameIndex = 0; 428Int32 previousResolvedKeyFrameIndex = currentResolvedKeyFrameIndex - 1; 643private Color GetResolvedKeyFrameValue(Int32 resolvedKeyFrameIndex) 650private ColorKeyFrame GetResolvedKeyFrame(Int32 resolvedKeyFrameIndex) 671Int32 keyFrameCount = _keyFrames.Count;
Core\CSharp\System\Windows\Media\Animation\Generated\DecimalAnimationUsingKeyFrames.cs (7)
356Int32 keyFrameCount = _sortedResolvedKeyFrames.Length; 357Int32 maxKeyFrameIndex = keyFrameCount - 1; 363Int32 currentResolvedKeyFrameIndex = 0; 428Int32 previousResolvedKeyFrameIndex = currentResolvedKeyFrameIndex - 1; 643private Decimal GetResolvedKeyFrameValue(Int32 resolvedKeyFrameIndex) 650private DecimalKeyFrame GetResolvedKeyFrame(Int32 resolvedKeyFrameIndex) 671Int32 keyFrameCount = _keyFrames.Count;
Core\CSharp\System\Windows\Media\Animation\Generated\DiscreteKeyFrames.cs (4)
584public DiscreteInt32KeyFrame(Int32 value) 592public DiscreteInt32KeyFrame(Int32 value, KeyTime keyTime) 620protected override Int32 InterpolateValueCore(Int32 baseValue, double keyFrameProgress)
Core\CSharp\System\Windows\Media\Animation\Generated\DoubleAnimationUsingKeyFrames.cs (7)
356Int32 keyFrameCount = _sortedResolvedKeyFrames.Length; 357Int32 maxKeyFrameIndex = keyFrameCount - 1; 363Int32 currentResolvedKeyFrameIndex = 0; 428Int32 previousResolvedKeyFrameIndex = currentResolvedKeyFrameIndex - 1; 643private Double GetResolvedKeyFrameValue(Int32 resolvedKeyFrameIndex) 650private DoubleKeyFrame GetResolvedKeyFrame(Int32 resolvedKeyFrameIndex) 671Int32 keyFrameCount = _keyFrames.Count;
Core\CSharp\System\Windows\Media\Animation\Generated\EasingKeyFrames.cs (5)
676public EasingInt32KeyFrame(Int32 value) 685public EasingInt32KeyFrame(Int32 value, KeyTime keyTime) 695public EasingInt32KeyFrame(Int32 value, KeyTime keyTime, IEasingFunction easingFunction) 724protected override Int32 InterpolateValueCore(Int32 baseValue, double keyFrameProgress)
Core\CSharp\System\Windows\Media\Animation\Generated\Int16AnimationUsingKeyFrames.cs (7)
356Int32 keyFrameCount = _sortedResolvedKeyFrames.Length; 357Int32 maxKeyFrameIndex = keyFrameCount - 1; 363Int32 currentResolvedKeyFrameIndex = 0; 428Int32 previousResolvedKeyFrameIndex = currentResolvedKeyFrameIndex - 1; 643private Int16 GetResolvedKeyFrameValue(Int32 resolvedKeyFrameIndex) 650private Int16KeyFrame GetResolvedKeyFrame(Int32 resolvedKeyFrameIndex) 671Int32 keyFrameCount = _keyFrames.Count;
Core\CSharp\System\Windows\Media\Animation\Generated\Int32Animation.cs (32)
45private Int32[] _keyValues; 60Type typeofProp = typeof(Int32?); 69new PropertyMetadata((Int32?)null, propCallback), 76new PropertyMetadata((Int32?)null, propCallback), 83new PropertyMetadata((Int32?)null, propCallback), 107public Int32Animation(Int32 toValue, Duration duration) 119public Int32Animation(Int32 toValue, Duration duration, FillBehavior fillBehavior) 132public Int32Animation(Int32 fromValue, Int32 toValue, Duration duration) 145public Int32Animation(Int32 fromValue, Int32 toValue, Duration duration, FillBehavior fillBehavior) 218protected override Int32 GetCurrentValueCore(Int32 defaultOriginValue, Int32 defaultDestinationValue, AnimationClock animationClock) 235Int32 from = new Int32(); 236Int32 to = new Int32(); 237Int32 accumulated = new Int32(); 238Int32 foundation = new Int32(); 352Int32 accumulator = AnimatedTypeHelpers.SubtractInt32(to, from); 377_keyValues = new Int32[2]; 384_keyValues = new Int32[2]; 391_keyValues = new Int32[1]; 398_keyValues = new Int32[1]; 404_keyValues = new Int32[1]; 425Int32? typedValue = (Int32?)value; 445public Int32? From 449return (Int32?)GetValue(FromProperty); 465public Int32? To 469return (Int32?)GetValue(ToProperty); 485public Int32? By 489return (Int32?)GetValue(ByProperty);
Core\CSharp\System\Windows\Media\Animation\Generated\Int32AnimationBase.cs (9)
103return GetCurrentValue((Int32)defaultOriginValue, (Int32)defaultDestinationValue, animationClock); 115return typeof(Int32); 152public Int32 GetCurrentValue(Int32 defaultOriginValue, Int32 defaultDestinationValue, AnimationClock animationClock) 215protected abstract Int32 GetCurrentValueCore(Int32 defaultOriginValue, Int32 defaultDestinationValue, AnimationClock animationClock);
Core\CSharp\System\Windows\Media\Animation\Generated\Int32AnimationUsingKeyFrames.cs (15)
331protected sealed override Int32 GetCurrentValueCore( 332Int32 defaultOriginValue, 333Int32 defaultDestinationValue, 356Int32 keyFrameCount = _sortedResolvedKeyFrames.Length; 357Int32 maxKeyFrameIndex = keyFrameCount - 1; 359Int32 currentIterationValue; 363Int32 currentResolvedKeyFrameIndex = 0; 395Int32 fromValue; 428Int32 previousResolvedKeyFrameIndex = currentResolvedKeyFrameIndex - 1; 643private Int32 GetResolvedKeyFrameValue(Int32 resolvedKeyFrameIndex) 650private Int32KeyFrame GetResolvedKeyFrame(Int32 resolvedKeyFrameIndex) 671Int32 keyFrameCount = _keyFrames.Count; 954Int32 prevKeyValue = _keyFrames[index - 1].Value; 958Int32 currentKeyValue = _keyFrames[index].Value;
Core\CSharp\System\Windows\Media\Animation\Generated\Int64AnimationUsingKeyFrames.cs (7)
356Int32 keyFrameCount = _sortedResolvedKeyFrames.Length; 357Int32 maxKeyFrameIndex = keyFrameCount - 1; 363Int32 currentResolvedKeyFrameIndex = 0; 428Int32 previousResolvedKeyFrameIndex = currentResolvedKeyFrameIndex - 1; 643private Int64 GetResolvedKeyFrameValue(Int32 resolvedKeyFrameIndex) 650private Int64KeyFrame GetResolvedKeyFrame(Int32 resolvedKeyFrameIndex) 671Int32 keyFrameCount = _keyFrames.Count;
Core\CSharp\System\Windows\Media\Animation\Generated\KeyFrames.cs (10)
1056protected Int32KeyFrame(Int32 value) 1065protected Int32KeyFrame(Int32 value, KeyTime keyTime) 1108typeof(Int32), 1123Value = (Int32)value; 1130public Int32 Value 1134return (Int32)GetValue(ValueProperty); 1151public Int32 InterpolateValue( 1152Int32 baseValue, 1172protected abstract Int32 InterpolateValueCore( 1173Int32 baseValue,
Core\CSharp\System\Windows\Media\Animation\Generated\LinearKeyFrames.cs (4)
436public LinearInt32KeyFrame(Int32 value) 444public LinearInt32KeyFrame(Int32 value, KeyTime keyTime) 470protected override Int32 InterpolateValueCore(Int32 baseValue, double keyFrameProgress)
Core\CSharp\System\Windows\Media\Animation\Generated\MatrixAnimationUsingKeyFrames.cs (7)
356Int32 keyFrameCount = _sortedResolvedKeyFrames.Length; 357Int32 maxKeyFrameIndex = keyFrameCount - 1; 363Int32 currentResolvedKeyFrameIndex = 0; 417Int32 previousResolvedKeyFrameIndex = currentResolvedKeyFrameIndex - 1; 551private Matrix GetResolvedKeyFrameValue(Int32 resolvedKeyFrameIndex) 558private MatrixKeyFrame GetResolvedKeyFrame(Int32 resolvedKeyFrameIndex) 579Int32 keyFrameCount = _keyFrames.Count;
Core\CSharp\System\Windows\Media\Animation\Generated\ObjectAnimationUsingKeyFrames.cs (7)
356Int32 keyFrameCount = _sortedResolvedKeyFrames.Length; 357Int32 maxKeyFrameIndex = keyFrameCount - 1; 363Int32 currentResolvedKeyFrameIndex = 0; 417Int32 previousResolvedKeyFrameIndex = currentResolvedKeyFrameIndex - 1; 551private Object GetResolvedKeyFrameValue(Int32 resolvedKeyFrameIndex) 558private ObjectKeyFrame GetResolvedKeyFrame(Int32 resolvedKeyFrameIndex) 579Int32 keyFrameCount = _keyFrames.Count;
Core\CSharp\System\Windows\Media\Animation\Generated\Point3DAnimationUsingKeyFrames.cs (7)
356Int32 keyFrameCount = _sortedResolvedKeyFrames.Length; 357Int32 maxKeyFrameIndex = keyFrameCount - 1; 363Int32 currentResolvedKeyFrameIndex = 0; 428Int32 previousResolvedKeyFrameIndex = currentResolvedKeyFrameIndex - 1; 643private Point3D GetResolvedKeyFrameValue(Int32 resolvedKeyFrameIndex) 650private Point3DKeyFrame GetResolvedKeyFrame(Int32 resolvedKeyFrameIndex) 671Int32 keyFrameCount = _keyFrames.Count;
Core\CSharp\System\Windows\Media\Animation\Generated\PointAnimationUsingKeyFrames.cs (7)
356Int32 keyFrameCount = _sortedResolvedKeyFrames.Length; 357Int32 maxKeyFrameIndex = keyFrameCount - 1; 363Int32 currentResolvedKeyFrameIndex = 0; 428Int32 previousResolvedKeyFrameIndex = currentResolvedKeyFrameIndex - 1; 643private Point GetResolvedKeyFrameValue(Int32 resolvedKeyFrameIndex) 650private PointKeyFrame GetResolvedKeyFrame(Int32 resolvedKeyFrameIndex) 671Int32 keyFrameCount = _keyFrames.Count;
Core\CSharp\System\Windows\Media\Animation\Generated\QuaternionAnimationUsingKeyFrames.cs (7)
356Int32 keyFrameCount = _sortedResolvedKeyFrames.Length; 357Int32 maxKeyFrameIndex = keyFrameCount - 1; 363Int32 currentResolvedKeyFrameIndex = 0; 428Int32 previousResolvedKeyFrameIndex = currentResolvedKeyFrameIndex - 1; 643private Quaternion GetResolvedKeyFrameValue(Int32 resolvedKeyFrameIndex) 650private QuaternionKeyFrame GetResolvedKeyFrame(Int32 resolvedKeyFrameIndex) 671Int32 keyFrameCount = _keyFrames.Count;
Core\CSharp\System\Windows\Media\Animation\Generated\RectAnimationUsingKeyFrames.cs (7)
356Int32 keyFrameCount = _sortedResolvedKeyFrames.Length; 357Int32 maxKeyFrameIndex = keyFrameCount - 1; 363Int32 currentResolvedKeyFrameIndex = 0; 428Int32 previousResolvedKeyFrameIndex = currentResolvedKeyFrameIndex - 1; 643private Rect GetResolvedKeyFrameValue(Int32 resolvedKeyFrameIndex) 650private RectKeyFrame GetResolvedKeyFrame(Int32 resolvedKeyFrameIndex) 671Int32 keyFrameCount = _keyFrames.Count;
Core\CSharp\System\Windows\Media\Animation\Generated\Rotation3DAnimationUsingKeyFrames.cs (7)
356Int32 keyFrameCount = _sortedResolvedKeyFrames.Length; 357Int32 maxKeyFrameIndex = keyFrameCount - 1; 363Int32 currentResolvedKeyFrameIndex = 0; 428Int32 previousResolvedKeyFrameIndex = currentResolvedKeyFrameIndex - 1; 643private Rotation3D GetResolvedKeyFrameValue(Int32 resolvedKeyFrameIndex) 650private Rotation3DKeyFrame GetResolvedKeyFrame(Int32 resolvedKeyFrameIndex) 671Int32 keyFrameCount = _keyFrames.Count;
Core\CSharp\System\Windows\Media\Animation\Generated\SingleAnimationUsingKeyFrames.cs (7)
356Int32 keyFrameCount = _sortedResolvedKeyFrames.Length; 357Int32 maxKeyFrameIndex = keyFrameCount - 1; 363Int32 currentResolvedKeyFrameIndex = 0; 428Int32 previousResolvedKeyFrameIndex = currentResolvedKeyFrameIndex - 1; 643private Single GetResolvedKeyFrameValue(Int32 resolvedKeyFrameIndex) 650private SingleKeyFrame GetResolvedKeyFrame(Int32 resolvedKeyFrameIndex) 671Int32 keyFrameCount = _keyFrames.Count;
Core\CSharp\System\Windows\Media\Animation\Generated\SizeAnimationUsingKeyFrames.cs (7)
356Int32 keyFrameCount = _sortedResolvedKeyFrames.Length; 357Int32 maxKeyFrameIndex = keyFrameCount - 1; 363Int32 currentResolvedKeyFrameIndex = 0; 428Int32 previousResolvedKeyFrameIndex = currentResolvedKeyFrameIndex - 1; 643private Size GetResolvedKeyFrameValue(Int32 resolvedKeyFrameIndex) 650private SizeKeyFrame GetResolvedKeyFrame(Int32 resolvedKeyFrameIndex) 671Int32 keyFrameCount = _keyFrames.Count;
Core\CSharp\System\Windows\Media\Animation\Generated\SplineKeyFrames.cs (5)
716public SplineInt32KeyFrame(Int32 value) 725public SplineInt32KeyFrame(Int32 value, KeyTime keyTime) 735public SplineInt32KeyFrame(Int32 value, KeyTime keyTime, KeySpline keySpline) 769protected override Int32 InterpolateValueCore(Int32 baseValue, double keyFrameProgress)
Core\CSharp\System\Windows\Media\Animation\Generated\StringAnimationUsingKeyFrames.cs (7)
356Int32 keyFrameCount = _sortedResolvedKeyFrames.Length; 357Int32 maxKeyFrameIndex = keyFrameCount - 1; 363Int32 currentResolvedKeyFrameIndex = 0; 417Int32 previousResolvedKeyFrameIndex = currentResolvedKeyFrameIndex - 1; 551private String GetResolvedKeyFrameValue(Int32 resolvedKeyFrameIndex) 558private StringKeyFrame GetResolvedKeyFrame(Int32 resolvedKeyFrameIndex) 579Int32 keyFrameCount = _keyFrames.Count;
Core\CSharp\System\Windows\Media\Animation\Generated\Vector3DAnimationUsingKeyFrames.cs (7)
356Int32 keyFrameCount = _sortedResolvedKeyFrames.Length; 357Int32 maxKeyFrameIndex = keyFrameCount - 1; 363Int32 currentResolvedKeyFrameIndex = 0; 428Int32 previousResolvedKeyFrameIndex = currentResolvedKeyFrameIndex - 1; 643private Vector3D GetResolvedKeyFrameValue(Int32 resolvedKeyFrameIndex) 650private Vector3DKeyFrame GetResolvedKeyFrame(Int32 resolvedKeyFrameIndex) 671Int32 keyFrameCount = _keyFrames.Count;
Core\CSharp\System\Windows\Media\Animation\Generated\VectorAnimationUsingKeyFrames.cs (7)
356Int32 keyFrameCount = _sortedResolvedKeyFrames.Length; 357Int32 maxKeyFrameIndex = keyFrameCount - 1; 363Int32 currentResolvedKeyFrameIndex = 0; 428Int32 previousResolvedKeyFrameIndex = currentResolvedKeyFrameIndex - 1; 643private Vector GetResolvedKeyFrameValue(Int32 resolvedKeyFrameIndex) 650private VectorKeyFrame GetResolvedKeyFrame(Int32 resolvedKeyFrameIndex) 671Int32 keyFrameCount = _keyFrames.Count;
Core\CSharp\System\Windows\Media\Animation\ResolvedKeyFrameEntry.cs (2)
12internal Int32 _originalKeyFrameIndex; 15public Int32 CompareTo(object other)
Core\CSharp\System\Windows\Media\Animation\Timeline.cs (7)
367typeof(Int32?), 370(Int32?)null, 376Int32? desiredFrameRate = (Int32?)value; 387public static Int32? GetDesiredFrameRate(Timeline timeline) 391return (Int32?)timeline.GetValue(DesiredFrameRateProperty); 400public static void SetDesiredFrameRate(Timeline timeline, Int32? desiredFrameRate)
Core\CSharp\System\Windows\Media\Effects\ShaderEffect.cs (4)
608data.DependencyPropertyIntValuesSize = (uint)(4 * sizeof(Int32) * _intCount); 693Int32 valueToPush = v.Value ? 1 : 0; 694channel.AppendCommandData((byte*)&valueToPush, sizeof(Int32)); 734Debug.Assert(sizeof(DUCE.ResourceHandle) == sizeof(Int32));
Core\CSharp\System\Windows\Media\Generated\RenderData.cs (1)
546Debug.Assert(cbExtraData <= (uint)Int32.MaxValue);
Core\CSharp\System\Windows\Media\Imaging\BitmapImage.cs (4)
686_decodePixelWidth = (Int32)e.NewValue; 694_decodePixelHeight = (Int32)e.NewValue; 940private Int32 _decodePixelWidth; 942private Int32 _decodePixelHeight;
Core\CSharp\System\Windows\Media\Imaging\BitmapMetadata.cs (2)
1496propVar.filetime.dwLowDateTime = (Int32)longFileTime; 1497propVar.filetime.dwHighDateTime = (Int32)((longFileTime >> 32) & 0xFFFFFFFF);
Core\CSharp\System\Windows\Media\Imaging\BitmapMetadataEnumerator.cs (1)
83Int32 celtFetched = 0;
Core\CSharp\System\Windows\Media\Imaging\PropVariant.cs (1)
99[FieldOffset(8)] internal Int32 intVal;
Core\CSharp\System\Windows\Media\Imaging\WriteableBitmap.cs (1)
332Invariant.Assert(lockBufferStride <= Int32.MaxValue);
Core\CSharp\System\Windows\Media\MediaContext.cs (1)
2042var count = _loadedOrUnloadedPendingOperations.Count;
Core\CSharp\System\Windows\Media\MediaPlayer.cs (2)
120public Int32 NaturalVideoHeight 133public Int32 NaturalVideoWidth
Core\CSharp\System\Windows\Media\MediaPlayerState.cs (4)
212internal Int32 NaturalVideoHeight 222return (Int32)height; 234internal Int32 NaturalVideoWidth 244return (Int32)width;
Core\CSharp\System\Windows\Media\PathGeometry.cs (1)
280Debug.Assert(pSegmentPoly->Count <= Int32.MaxValue);
Core\CSharp\System\Windows\Media\RenderData.cs (1)
512Debug.Assert(index <= (uint)Int32.MaxValue);
Core\CSharp\System\Windows\Media\UnsafeNativeMethodsMilCoreApi.cs (2)
551Int32 celt, 553ref Int32 pceltFetched
Core\CSharp\System\Windows\Media3D\Generated\MeshGeometry3D.cs (3)
261data.TriangleIndicesSize = (uint)(sizeof(Int32) * TriangleIndicesCount); 306Int32 resource = vTriangleIndices.Internal_GetItem(i); 309sizeof(Int32)
Graphics\include\exports.cs (5)
139Int32* pCurFrom32 = (Int32*)pbFrom; 140Int32* pCurTo32 = (Int32*)pbTo; 301[FieldOffset(0)] internal Int32 CommonMinimumCaps;
PresentationFramework (201)
src\Framework\MS\Internal\Annotations\Anchoring\FixedPageProcessor.cs (1)
196pageNumber = Int32.Parse(pageNumberString, NumberFormatInfo.InvariantInfo);
src\Framework\MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (1)
326int count = Int32.Parse(stringCount, NumberFormatInfo.InvariantInfo);
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (5)
226int count = Int32.Parse(stringCount,NumberFormatInfo.InvariantInfo); 383int count = Int32.Parse(stringCount,NumberFormatInfo.InvariantInfo); 385startOffset = Int32.MaxValue; 469startOffset = Int32.Parse(values[0], NumberFormatInfo.InvariantInfo); 470endOffset = Int32.Parse(values[1], NumberFormatInfo.InvariantInfo);
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteContentControl.cs (1)
149protected const long MaxBufferSize = (Int32.MaxValue / 4) * 3;
src\Framework\MS\Internal\Data\DefaultValueConverter.cs (2)
536typeof(Int32), typeof(Int64), typeof(Single), typeof(Double), 545typeof(Int32), typeof(Int64), typeof(Byte), typeof(Int16),
src\Framework\MS\Internal\Data\PropertyPathWorker.cs (2)
1395if (Int32.TryParse((string)pInfo.value, 1496if (Int32.TryParse(name,
src\Framework\MS\Internal\Globalization\BamlTreeNode.cs (2)
440internal BamlConnectionIdNode(Int32 connectionId) : base(BamlNodeType.ConnectionId) 455private Int32 _connectionId;
src\Framework\MS\Internal\IO\Packaging\indexingfiltermarshaler.cs (3)
51internal const Int32 _int16Size = 2; 236v.union.filetime.dwLowDateTime = (Int32)longFileTime; 237v.union.filetime.dwHighDateTime = (Int32)((longFileTime >> 32) & 0xFFFFFFFF);
src\Framework\MS\Internal\IO\Packaging\managedIStream.cs (7)
57void IStream.Read(Byte[] buffer, Int32 bufferSize, IntPtr bytesReadPtr) 59Int32 bytesRead = _ioStream.Read(buffer, 0, (int) bufferSize); 79void IStream.Seek(Int64 offset, Int32 origin, IntPtr newPositionPtr) 165void IStream.Write(Byte[] buffer, Int32 bufferSize, IntPtr bytesWrittenPtr) 206void IStream.Commit(Int32 flags) 217void IStream.LockRegion(Int64 offset, Int64 byteCount, Int32 lockType) 239void IStream.UnlockRegion(Int64 offset, Int64 byteCount, Int32 lockType)
src\Framework\MS\Internal\IO\Packaging\XpsFilter.cs (2)
737private const Int32 _int16Size = 2; 755private const Int32 _maxMemoryStreamBuffer = 1024 * 1024;
src\Framework\MS\Internal\Printing\UnsafeNativeMethods.cs (1)
21Int32
src\Framework\MS\Internal\Printing\Win32PrintDialog.cs (1)
120Int32 hr = UnsafeNativeMethods.PrintDlgEx(printDlgEx.UnmanagedPrintDlgEx);
src\Framework\MS\Internal\Utility\TraceLog.cs (1)
27internal TraceLog() : this(Int32.MaxValue) {}
src\Framework\System\Windows\Annotations\AnnotationService.cs (2)
777AdornerPresentationContext.SetZLevelRange(0, Int32.MaxValue / 2 + 1, Int32.MaxValue);
src\Framework\System\Windows\Application.cs (1)
2363private bool WmActivateApp(Int32 wParam)
src\Framework\System\Windows\Controls\DataGrid.cs (2)
315var count = list.Count; 316for (var i = 0; i < count; i++)
src\Framework\System\Windows\Controls\DataGridColumnCollection.cs (1)
633var count = oldColumns.Count;
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (2)
104_itemsGenerated = Int32.MinValue; 2873public virtual int ContainerCount { get { return Int32.MaxValue; } }
src\Framework\System\Windows\Controls\MediaElement.cs (2)
476public Int32 NaturalVideoHeight 488public Int32 NaturalVideoWidth
src\Framework\System\Windows\Controls\Primitives\DataGridDetailsPresenter.cs (1)
146var childrenCount = VisualTreeHelper.GetChildrenCount(this);
src\Framework\System\Windows\Controls\Primitives\Popup.cs (3)
3352Int32 styles = UnsafeNativeMethods.GetWindowLong(new HandleRef(this, handle), NativeMethods.GWL_EXSTYLE); 3360styles = (Int32)(flags & ~NativeMethods.WS_EX_TRANSPARENT); 3364styles = (Int32)(flags | NativeMethods.WS_EX_TRANSPARENT);
src\Framework\System\Windows\Controls\TextBox.cs (4)
669Int32.MaxValue, 677[DefaultValue(Int32.MaxValue)] 1822if (MaxLines < Int32.MaxValue && this.ScrollViewer.MaxHeight != value) 1858if (MaxLines < Int32.MaxValue && RenderScope.MaxHeight != value)
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (9)
2173int firstItemInViewportIndex = Int32.MinValue, lastItemInViewportIndex = Int32.MaxValue, firstItemInViewportChildIndex = Int32.MinValue, firstItemInExtendedViewportIndex = Int32.MinValue; 3948CleanupContainers(Int32.MaxValue, Int32.MaxValue, itemsControl); 11878if (Int32.TryParse(a[1], NumberStyles.Integer, CultureInfo.InvariantCulture, out flushDepth)) 11887if (Int32.TryParse(a[2], NumberStyles.Integer, CultureInfo.InvariantCulture, out luThreshold)) 11889_luThreshold = (luThreshold <= 0) ? Int32.MaxValue : luThreshold;
src\Framework\System\Windows\Documents\AdornerLayer.cs (1)
1025private const int DefaultZOrder = System.Int32.MaxValue;
src\Framework\System\windows\Documents\CaretElement.cs (5)
1150else if (value < Int32.MinValue) 1152i = Int32.MinValue; 1154else if (value > Int32.MaxValue) 1156i = Int32.MaxValue; 1328internal const int ZOrderValue = System.Int32.MaxValue / 2;
src\Framework\System\Windows\Documents\FixedPage.cs (1)
595int zOrder = System.Int32.MaxValue / 2;
src\Framework\System\Windows\Documents\FixedSOMContainer.cs (2)
38int result = Int32.MinValue; 120if (result == Int32.MinValue)
src\Framework\System\Windows\Documents\FixedSOMGroup.cs (1)
41int result = Int32.MinValue;
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (1)
508int stopAt = Int32.MaxValue;
src\Framework\System\Windows\Documents\ImmComposition.cs (5)
2026i = Int32.MinValue; 2028else if (value < Int32.MinValue) 2030i = Int32.MinValue; 2032else if (value > Int32.MaxValue) 2034i = Int32.MaxValue;
src\Framework\System\Windows\Documents\InputScopeAttribute.cs (5)
78ppinputscopes = Marshal.AllocCoTaskMem(Marshal.SizeOf(typeof(Int32)) * count); 87Marshal.WriteInt32(ppinputscopes, offset, (Int32)((InputScopeName)_inputScope.Names[i]).NameValue); 88offset += Marshal.SizeOf(typeof(Int32)); 93ppinputscopes = Marshal.AllocCoTaskMem(Marshal.SizeOf(typeof(Int32)) * 1); 94Marshal.WriteInt32(ppinputscopes, (Int32)InputScopeNameValue.Default);
src\Framework\System\Windows\Documents\NLGSpellerInterop.cs (12)
392Int32 lexiconCount = 0; 1442void get_LexiconCount([MarshalAs(UnmanagedType.I4)] out Int32 lexiconCount); 1449void get_Lexicon(Int32 index, [MarshalAs(UnmanagedType.Interface)] out ILexicon lexicon); 1491void get_Capabilities(Int32 locale, [MarshalAs(UnmanagedType.Interface)] out IProcessingOptions val); 1735void SetInputArray([In] IntPtr inputArray, Int32 size); 1766void get_Count(out Int32 val); 1772void get_Item(Int32 index, [MarshalAs(UnmanagedType.Interface)] out ISentence val); 1835void put_Locale(Int32 val); 1921void get_Count(out Int32 val); 1936void get_Item(Int32 index, [MarshalAs(UnmanagedType.Interface)] out ITextSegment val); 2037void get_Count(out Int32 val); 2047void get_Item(Int32 index, [MarshalAs(UnmanagedType.Interface)] out ITextSegment val);
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (1)
308i = System.Int32.Parse(s, System.Globalization.NumberStyles.AllowHexSpecifier, CultureInfo.InvariantCulture);
src\Framework\System\Windows\Documents\Speller.cs (1)
1321leftWordBreak = Int32.MaxValue;
src\Framework\System\Windows\Documents\TextServicesDisplayAttributePropertyRanges.cs (4)
77Int32 guidatom = GetInt32Value(ecReadOnly, property, range); 242private static TextServicesDisplayAttribute GetDisplayAttribute(Int32 guidatom) 310private Int32 GetInt32Value(int ecReadOnly, UnsafeNativeMethods.ITfProperty property, UnsafeNativeMethods.ITfRange range) 316return (Int32)obj;
src\Framework\System\Windows\Documents\WinRTSpellerInterop.cs (1)
670if ((before != string.Empty) || (after != string.Empty) || (!Int32.TryParse(match, out lcid)))
src\Framework\System\Windows\FontSizeConverter.cs (1)
98if (value is System.Int32 || value is System.Single || value is System.Double)
src\Framework\System\Windows\Input\KeyboardNavigation.cs (7)
205new FrameworkPropertyMetadata(Int32.MaxValue)); 2079int minIndexFirstTab = Int32.MinValue; 2121int minIndexFirstTab = Int32.MinValue; 2122int minIndex = Int32.MinValue; 2252int maxIndexFirstTab = Int32.MaxValue; 2294int maxIndexFirstTab = Int32.MaxValue; 2295int maxIndex = Int32.MaxValue;
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
401case 309: t = () => typeof(Int32); break;
src\Framework\System\Windows\Markup\Baml2006\Baml2006Reader.cs (8)
932Int32 contentSize = _binaryReader.ReadInt32(); 991Int32 valuePosition = _binaryReader.ReadInt32(); 1011Int32 valuePosition = _binaryReader.ReadInt32(); 1128Int32 stringLength = _binaryReader.ReadInt32(); 1134Int32 readerVersion = _binaryReader.ReadInt32(); 1135Int32 updateVersion = _binaryReader.ReadInt32(); 1136Int32 writerVersion = _binaryReader.ReadInt32(); 1321Int32 valuePosition = _binaryReader.ReadInt32();
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (3)
5618typeof(System.Int32), 8301new List<Type>() { typeof(System.Windows.Data.RelativeSourceMode), typeof(System.Type), typeof(System.Int32) }, 8307(System.Int32)arguments[2]);
src\Framework\System\Windows\Markup\BamlReader.cs (8)
223public Int32 ConnectionId 469_connectionId = (Int32)obj; 2007Int32 offset = (Int32)(_bamlRecordReader.StreamPosition - _deferableContentPosition); 2288private void InsertDeferedKey(Int32 valueOffset) 2859private Int32 _connectionId; 3064internal Int32 Offset 3083private Int32 _offset;
src\Framework\System\Windows\Markup\BamlRecordReader.cs (2)
1743Int32 valuesSize = (Int32)(bamlRecord.ContentSize - endOfKeysPosition + startPosition);
src\Framework\System\Windows\Markup\BamlRecords.cs (42)
866internal virtual Int32 RecordSize 1075int size = (Int32)(end - start); 1142internal override Int32 RecordSize 1163Int32 _recordSize = -1; // we use a 7 bit encoded variable size 1447Int32 newPosition, 1453Int32 ValuePosition { get; set; } 1540Int32 newPosition, 1549Int32 deltaPosition = (Int32)(_valuePositionPosition-existingPosition); 1581Int32 IBamlDictionaryKey.ValuePosition 1665internal const Int32 ValuePositionSize = 4; 1668Int32 _valuePosition; 1727Int32 newPosition, 1736Int32 deltaPosition = (Int32)(_valuePositionPosition-existingPosition); 1769Int32 IBamlDictionaryKey.ValuePosition 1862internal const Int32 ValuePositionSize = 4; 1865Int32 _valuePosition; 2112internal override Int32 RecordSize 2188internal override Int32 RecordSize 2253internal override Int32 RecordSize 2495internal override Int32 RecordSize 3102internal override Int32 RecordSize 3302Int32 _lineNumber = bamlBinaryReader.ReadInt32(); 3303Int32 _linePosition = bamlBinaryReader.ReadInt32(); 3314bamlBinaryWriter.Write((Int32)0); 3315bamlBinaryWriter.Write((Int32)0); 3367internal Int32 ConnectionId 3373internal override Int32 RecordSize 3379Int32 _connectionId = -1; 3468internal override Int32 RecordSize 3624Int32 contentSize, 3633Int32 deltaPosition = (Int32)(_contentSizePosition-existingPosition); 3661internal Int32 ContentSize 3669internal override Int32 RecordSize 3704Int32 _contentSize = - 1; 3834internal override Int32 RecordSize 3934internal override Int32 RecordSize 4014internal override Int32 RecordSize 5449internal override Int32 RecordSize 5516internal override Int32 RecordSize
src\Framework\System\Windows\Markup\BamlRecordWriter.cs (3)
252internal void WriteConnectionId(Int32 connectionId) 1644keyRecord.UpdateValuePosition((Int32)(position-endOfKeys), BinaryWriter); 1657bamlDeferableContentStart.UpdateContentSize((Int32)(startOfEnd - endOfStart),
src\Framework\System\Windows\Markup\BamlWriter.cs (1)
207public void WriteConnectionId(Int32 connectionId)
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5853case KnownElements.Int32: t = typeof(System.Int32); break;
src\Framework\System\Windows\Markup\XamlParseException.cs (2)
275info.AddValue("Line", (Int32)_lineNumber); 276info.AddValue("Position", (Int32)_linePosition);
src\Framework\System\Windows\Markup\XamlReader.cs (2)
351_maxAsynxRecords = Int32.Parse(xamlReader.Value as String, TypeConverterHelper.InvariantEnglishUS); 526_maxAsynxRecords = Int32.Parse(xamlReader.Value as String, TypeConverterHelper.InvariantEnglishUS);
src\Framework\System\Windows\Media\Animation\Generated\ThicknessAnimationUsingKeyFrames.cs (7)
356Int32 keyFrameCount = _sortedResolvedKeyFrames.Length; 357Int32 maxKeyFrameIndex = keyFrameCount - 1; 363Int32 currentResolvedKeyFrameIndex = 0; 428Int32 previousResolvedKeyFrameIndex = currentResolvedKeyFrameIndex - 1; 643private Thickness GetResolvedKeyFrameValue(Int32 resolvedKeyFrameIndex) 650private ThicknessKeyFrame GetResolvedKeyFrame(Int32 resolvedKeyFrameIndex) 671Int32 keyFrameCount = _keyFrames.Count;
src\Framework\System\Windows\Media\Animation\Storyboard.cs (6)
1341public Nullable<Int32> GetCurrentIteration( FrameworkElement containingObject ) 1351public Nullable<Int32> GetCurrentIteration( FrameworkContentElement containingObject ) 1360public Int32 GetCurrentIteration() 1362Nullable<Int32> currentIteration = GetCurrentIterationImpl(this); 1370return default(Int32); 1374private Nullable<Int32> GetCurrentIterationImpl( DependencyObject containingObject )
src\Framework\System\Windows\PropertyPath.cs (2)
720if (Int32.TryParse( paramList[i].parenString.Trim(), 929return Int32.TryParse( name,
src\Framework\System\Windows\PropertyPathConverter.cs (1)
207if (Int32.TryParse( originalPath.Substring(i+1, j-i-1),
src\Framework\System\Windows\ResourceDictionary.cs (1)
2615private Int32 _contentSize;
src\Framework\System\Windows\Standard\NativeMethods.cs (2)
2851var dwPolicy = (int)flip3dPolicy; 3266public static extern Status GdipCreateHBITMAPFromBitmap(IntPtr bitmap, out IntPtr hbmReturn, Int32 background);
src\Framework\System\Windows\Window.cs (4)
5952((l > Int32.MaxValue) || (l < Int32.MinValue))) 5968if ((length > Int32.MaxValue) || 5969(length < Int32.MinValue))
src\Shared\MS\Utility\ItemMap.cs (1)
66int keyPv = Int32.MaxValue;
System (136)
compmod\microsoft\csharp\csharpcodeprovider.cs (2)
1237else if (e.Value is Int32) { 1238Output.Write(((Int32)e.Value).ToString(CultureInfo.InvariantCulture));
compmod\microsoft\visualbasic\VBCodeProvider.cs (1)
2951if (fileLength > Int32.MaxValue)
compmod\microsoft\win32\UnsafeNativeMethods.cs (4)
210private static extern Int32 _AppPolicyGetClrCompat(IntPtr processToken, out AppPolicyClrCompat appPolicyClrCompat); 219private static extern Int32 _GetCurrentPackageId(ref Int32 pBufferLength, Byte[] pBuffer); 252Int32 bufLen = 0;
compmod\system\codedom\compiler\CodeGenerator.cs (2)
1514else if (e.Value is Int32) { 1515Output.Write(((Int32)e.Value).ToString(CultureInfo.InvariantCulture));
compmod\system\collections\specialized\nameobjectcollectionbase.cs (1)
68protected NameObjectCollectionBase(Int32 capacity, IEqualityComparer equalityComparer) : this (equalityComparer)
compmod\system\collections\specialized\namevaluecollection.cs (1)
77public NameValueCollection(Int32 capacity, IEqualityComparer equalityComparer)
compmod\system\componentmodel\DecimalConverter.cs (1)
73MemberInfo member = typeof(Decimal).GetConstructor(new Type[] {typeof(Int32[])});
compmod\system\componentmodel\Int32Converter.cs (4)
30return typeof(Int32); 45return Int32.Parse(value, NumberStyles.Integer, formatInfo); 53return Int32.Parse(value, culture); 62return ((Int32)value).ToString("G", formatInfo);
compmod\system\diagnostics\Switch.cs (1)
261SwitchSetting = Int32.Parse(Value, CultureInfo.InvariantCulture);
compmod\system\diagnostics\TraceInternal.cs (1)
149if (indentLevel < Int32.MaxValue) {
net\System\Net\_AutoWebProxyScriptHelper.cs (1)
766if(!Int32.TryParse(parts[1], out prefixLength))
net\System\Net\_Connection.cs (1)
2418if (!fHaveChunked && (contentLength <= (long)Int32.MaxValue))
net\System\Net\_ConnectionGroup.cs (3)
300int minBusyCount = Int32.MaxValue; 311minBusyCount = Int32.MaxValue; 479int minBusyCount = Int32.MaxValue;
net\System\Net\_DigestClient.cs (1)
589NonceCount = Int32.Parse(value, NumberFormatInfo.InvariantInfo);
net\System\Net\_NTAuthentication.cs (1)
952int maxCount = checked(Int32.MaxValue - 4 - sizes.BlockSize - sizes.SecurityTrailer);
net\System\Net\_ScatterGatherBuffers.cs (2)
28currentChunk = AllocateMemoryChunk(totalSize > Int32.MaxValue ? Int32.MaxValue : (int) totalSize);
net\System\Net\_SecureChannel.cs (2)
151internal Int32 dwCertEncodingType; 153internal Int32 cbCertEncoded;
net\System\Net\_TimerThread.cs (2)
144(int) (Math.Min((uint) unchecked(Expiration - now), (uint) Int32.MaxValue)) : 0; 699Math.Min(unchecked((uint) (nextTick - newNow)), (uint) (Int32.MaxValue - c_TickCountResolution)) + c_TickCountResolution :
net\System\Net\Cache\_Rfc2616CacheValidators.cs (2)
1511if (ctx.CacheEntry.StreamSize >= Int32.MaxValue) { 1636if (ctx.CacheEntry.StreamSize >= Int32.MaxValue) {
net\System\Net\Cache\IERequestCache.cs (3)
30private const int _MaximumResponseHeadersLength = Int32.MaxValue; 406entry.OptionalLength = (contentLength < 0L)? 0: contentLength > Int32.MaxValue? Int32.MaxValue: (int)(contentLength);
net\System\Net\Cache\WinInetCache.cs (2)
203if (maxHeadersSize != Int32.MaxValue && (Int32.MaxValue - (key.Length + EntryBuffer.MarshalSize + 1024)*2) > maxHeadersSize) {
net\System\Net\Configuration\WebProxyScriptElement.cs (1)
116SR.GetString(SR.ArgumentOutOfRange_Bounds_Lower_Upper, 0, Int32.MaxValue));
net\System\Net\cookie.cs (1)
595if (!Int32.TryParse(ports[i], out port))
net\System\Net\cookiecontainer.cs (3)
144if (perDomainCapacity != Int32.MaxValue && (perDomainCapacity <= 0 || perDomainCapacity > capacity)) { 164if (value <= 0 || (value < m_maxCookiesPerDomain && m_maxCookiesPerDomain != Int32.MaxValue)) { 207if (value <= 0 || (value > m_maxCookies && value != Int32.MaxValue)) {
net\System\Net\HttpListener.cs (2)
2475Debug.Assert(tokenSize < Int32.MaxValue); 2487Debug.Assert(tokenSize < Int32.MaxValue);
net\System\Net\Logging.cs (1)
172maxDumpSize = Int32.Parse(traceSource.Attributes[AttributeNameMaxSize], NumberFormatInfo.InvariantInfo);
net\System\Net\mail\iisPickupDirectory.cs (4)
75internal Int32 dwMDPermissions; 76internal Int32 dwMDSystemChangeNumber; 347Int32 serverState; 392if (serverState == (Int32) ServerState.Started)
net\System\Net\mail\SmtpDateTime.cs (2)
240if (!Int32.TryParse(offset.Substring(1, 2), NumberStyles.None, 246if (!Int32.TryParse(offset.Substring(3, 2), NumberStyles.None,
net\System\Net\ServicePoint.cs (6)
34internal const int LoopbackConnectionLimit = Int32.MaxValue; 427if ( !ValidationHelper.ValidateRange(value, Timeout.Infinite, Int32.MaxValue)) { 508if ( !ValidationHelper.ValidateRange(value, Timeout.Infinite, Int32.MaxValue)) { 525int elapsed = elapsedDouble >= (double) Int32.MaxValue ? Int32.MaxValue : (int) elapsedDouble; 559if ( !ValidationHelper.ValidateRange(value, -1, Int32.MaxValue)) {
net\System\Net\ServicePointManager.cs (2)
401if (!ValidationHelper.ValidateRange(value, 0, Int32.MaxValue)) { 438if ( !ValidationHelper.ValidateRange(value, Timeout.Infinite, Int32.MaxValue)) {
net\System\Net\SocketPermission.cs (2)
156port = Int32.Parse(m_port, NumberFormatInfo.InvariantInfo); 560port = Int32.Parse(tmpStr, NumberFormatInfo.InvariantInfo);
net\System\Net\webclient.cs (1)
1114if (ContentLength > Int32.MaxValue)
net\System\Net\WebHeaderCollection.cs (1)
1573int effectiveSize = maximumResponseHeadersLength <= 0 ? Int32.MaxValue : maximumResponseHeadersLength - totalResponseHeadersLength + i;
parent\parent\parent\InternalApis\NDP_Common\inc\PinnableBufferCache.cs (3)
369var freeCount = m_FreeList.Count; // This is expensive to fetch, do it once. 389var newRestockSize = m_buffersUnderManagement / 4; 400var trimSize = freeCount / 4 + 1;
parent\parent\parent\InternalApis\NDP_FX\inc\ZLibNative.cs (7)
77internal static readonly IntPtr ZNullPtr = (IntPtr) ((Int32) 0); 248internal Int32 dataType; //int data_type; /* best guess about the data type: binary or text */ 296private delegate Int32 ZlibCompileFlagsDelegate(); 442Int32 hresult = Marshal.GetHRForLastWin32Error(); 598public Int32 DataType { [SecurityCritical] get { return zStreamPtr->dataType; } } 755internal static Int32 ZLibCompileFlags() { 834public static Int32 ZLibCompileFlags() {
regex\system\text\regularexpressions\Regex.cs (1)
63private static readonly TimeSpan MaximumMatchTimeout = TimeSpan.FromMilliseconds(Int32.MaxValue - 1);
regex\system\text\regularexpressions\RegexCompiler.cs (7)
405if (i <= Int32.MaxValue && i >= Int32.MinValue) { 406Ldc((Int32) i); 2801if (c != Int32.MaxValue) { 2954if (c != Int32.MaxValue) { 3331_ilg.Emit(OpCodes.Box, typeof(Int32)); 3339_ilg.Emit(OpCodes.Box, typeof(Int32));
regex\system\text\regularexpressions\RegexNode.cs (5)
297u._m = min = ((Int32.MaxValue - 1) / u._m < min) ? Int32.MaxValue : u._m * min; 299u._n = max = ((Int32.MaxValue - 1) / u._n < max) ? Int32.MaxValue : u._n * max; 302return min == Int32.MaxValue ? new RegexNode(Nothing, _options) : u;
regex\system\text\regularexpressions\RegexParser.cs (9)
44internal Int32[] _capnumlist; 52internal const int MaxValueDiv10 = Int32.MaxValue / 10; 53internal const int MaxValueMod10 = Int32.MaxValue % 10; 371max = Int32.MaxValue; 381max = Int32.MaxValue; 391max = Int32.MaxValue; 1617if (i == Int32.MaxValue) 1677_capnumlist = new Int32[_capcount]; 1683System.Array.Sort(_capnumlist, Comparer<Int32>.Default);
regex\system\text\regularexpressions\RegexReplacement.cs (3)
29List<Int32> rules; 39rules = new List<Int32>(); 80internal List<Int32> _rules; // negative -> group #, positive -> string #
regex\system\text\regularexpressions\RegexRunner.cs (4)
82private Int32 timeout; // timeout in millisecs (needed for actual) 84private Int32 timeoutOccursAt; 131? (Int32) Regex.InfiniteMatchTimeout.TotalMilliseconds 132: (Int32) (timeout.TotalMilliseconds + 0.5); // Round
regex\system\text\regularexpressions\RegexTree.cs (2)
19internal RegexTree(RegexNode root, Hashtable caps, Int32[] capnumlist, int captop, Hashtable capnames, String[] capslist, RegexOptions opts) 38internal Int32[] _capnumlist;
regex\system\text\regularexpressions\RegexWriter.cs (11)
164Int32 i; 173i = (Int32)_stringhash[str]; 205return(Int32)_caps[capnum]; 418if (node._n < Int32.MaxValue || node._m > 1) 435if (node._n < Int32.MaxValue || node._m > 1) 436Emit(RegexCode.Branchcount + Lazy, PopInt(), node._n == Int32.MaxValue ? Int32.MaxValue : node._n - node._m); 508Emit(node._type | bits, (int)node._ch, node._n == Int32.MaxValue ? 509Int32.MaxValue : node._n - node._m); 518(node._n == Int32.MaxValue) ? Int32.MaxValue : node._n - node._m);
services\monitoring\system\diagnosticts\DiagnosticsConfigurationHandler.cs (1)
101Int32.Parse((string) en.Value, CultureInfo.InvariantCulture);
services\monitoring\system\diagnosticts\EventLog.cs (1)
1257if (Int32.TryParse(sb.ToString(), NumberStyles.None, CultureInfo.InvariantCulture, out num)) {
services\monitoring\system\diagnosticts\PerformanceCounterLib.cs (1)
1024if (!Int32.TryParse(names[index * 2], NumberStyles.Integer, CultureInfo.InvariantCulture, out key)) {
services\monitoring\system\diagnosticts\Process.cs (3)
56Int32 m_processAccess; 1729SafeProcessHandle OpenProcessHandle(Int32 access) { 2525return WaitForInputIdle(Int32.MaxValue);
services\monitoring\system\diagnosticts\SharedUtils.cs (3)
289if (!Int32.TryParse(splitVersion[0], out currentVersion[0]) || !Int32.TryParse(splitVersion[1], out currentVersion[1])) { 353if (Int32.TryParse(minorVersions[i], out o)) {
services\timers\system\timers\Timer.cs (1)
66if (roundedInterval > Int32.MaxValue || roundedInterval <= 0) {
sys\system\collections\concurrent\BlockingCollection.cs (7)
339/// <see cref="System.Int32.MaxValue"/>.</exception> 614/// <see cref="System.Int32.MaxValue"/>.</exception> 905/// <see cref="System.Int32.MaxValue"/>.</exception> 1268/// <see cref="System.Int32.MaxValue"/>.</exception> 1781if ((totalMilliseconds < 0 || totalMilliseconds > Int32.MaxValue) && (totalMilliseconds != Timeout.Infinite)) 1784String.Format(CultureInfo.InvariantCulture, SR.GetString(SR.BlockingCollection_TimeoutInvalid), Int32.MaxValue)); 1798String.Format(CultureInfo.InvariantCulture, SR.GetString(SR.BlockingCollection_TimeoutInvalid), Int32.MaxValue));
sys\System\IO\compression\ZLibException.cs (1)
105si.AddValue("zlibErrorCode", (Int32) this.zlibErrorCode);
sys\system\io\ports\SerialPort.cs (1)
1491return (elapsedTime >= 0) ? (int)elapsedTime : Int32.MaxValue;
sys\system\runtime\versioning\FrameworkName.cs (1)
91public override Int32 GetHashCode() {
System.Activities (1)
System\Activities\Debugger\DebugInfo.cs (1)
347else if (t == typeof(Int32))
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\GenericTypeArgumentConverter.cs (1)
18return source.GetGenericArguments()[Int32.Parse(parameter.ToString(), culture)];
System.Activities.DurableInstancing (9)
System\Activities\DurableInstancing\LoadRetryExponentialBackoffStrategy.cs (1)
13readonly int expLimit = (int)(Math.Log(Int32.MaxValue, 2)) - 1;
System\Activities\DurableInstancing\LoadWorkflowAsyncResult.cs (2)
74parameters.Add(new SqlParameter { ParameterName = "@operationTimeout", SqlDbType = SqlDbType.Int, Value = (operationTimeout < Int32.MaxValue) ? Convert.ToInt32(operationTimeout) : Int32.MaxValue });
System\Activities\DurableInstancing\SaveWorkflowAsyncResult.cs (2)
86parameters.Add(new SqlParameter { ParameterName = "@operationTimeout", SqlDbType = SqlDbType.Int, Value = (operationTimeout < Int32.MaxValue) ? Convert.ToInt32(operationTimeout) : Int32.MaxValue });
System\Activities\DurableInstancing\SqlWorkflowInstanceStore.cs (1)
184this.bufferedHostLockRenewalPeriod = TimeSpan.FromSeconds(Math.Min(Int32.MaxValue, lockBuffer + this.HostLockRenewalPeriod.TotalSeconds));
System\Activities\DurableInstancing\TryLoadRunnableWorkflowAsyncResult.cs (2)
47command.Parameters.Add(new SqlParameter { ParameterName = "@operationTimeout", SqlDbType = SqlDbType.Int, Value = (operationTimeout < Int32.MaxValue) ? Convert.ToInt32(operationTimeout) : Int32.MaxValue });
System\Activities\DurableInstancing\XmlPropertyBag.cs (1)
41PrimitiveType type = (PrimitiveType)Int32.Parse(reader.Value, CultureInfo.InvariantCulture);
System.Activities.Presentation (7)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\UserInterface\FocusScopeManager.cs (1)
46FocusScopeManager.DefaultFocusScopePriority = Int32.MaxValue;
System.Activities.Presentation\System\Activities\Presentation\Expressions\TextualExpressionEditor.cs (1)
20new FrameworkPropertyMetadata(Int32.MaxValue));
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (1)
404int index = Int32.Parse(indexString, CultureInfo.InvariantCulture);
System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (2)
800foreach (var columnIndex in dynamicColumnsIndexes) 1133Int32 nextSelectedIndex = -1;
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (1)
60new FrameworkPropertyMetadata(Int32.MaxValue));
System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (1)
121typeof(Int32),
System.AddIn (106)
System\Addin\Hosting\AddInStore.cs (1)
1033System.Diagnostics.Contracts.Contract.Assert(serializedData.Length <= Int32.MaxValue);
System\Addin\Hosting\ReadOnlyDictionary.cs (2)
93public void CopyTo(KeyValuePair<TKey, TValue>[] array, Int32 arrayIndex) 108public Int32 Count
System\Addin\MiniReflection\MetadataReader\Metadata.cs (100)
26return String.Format(CultureInfo.InvariantCulture, "Table {0} ({1}), entry {2}", MDTables.Names[(Int32)Table], (UInt32)Table, Index); 38internal static readonly String[] Names = new String[(Int32)Tables.MaxTable + 1]; 39internal static readonly Boolean[] IsDefined = new Boolean[(Int32)Tables.MaxTable + 1]; 107Names[(Int32)Tables.AssemblyOS] = "AssemblyOS"; 108Names[(Int32)Tables.AssemblyProcessor] = "AssemblyProcessor"; 109Names[(Int32)Tables.AssemblyRef] = "AssemblyRef"; 110Names[(Int32)Tables.AssemblyRefOS] = "AssemblyRefOS"; 111Names[(Int32)Tables.AssemblyRefProcessor] = "AssemblyRefProcessor"; 112Names[(Int32)Tables.ClassLayout] = "ClassLayout"; 113Names[(Int32)Tables.Constant] = "Constant"; 114Names[(Int32)Tables.CustomAttribute] = "CustomAttribute"; 115Names[(Int32)Tables.DeclSecurity] = "DeclSecurity"; 116Names[(Int32)Tables.EventMap] = "EventMap"; 117Names[(Int32)Tables.ExportedType] = "ExportedType"; 118Names[(Int32)Tables.FieldDef] = "FieldDef"; 119Names[(Int32)Tables.FieldLayout] = "FieldLayout"; 120Names[(Int32)Tables.FieldMarshal] = "FieldMarshal"; 121Names[(Int32)Tables.FieldRVA] = "FieldRVA"; 122Names[(Int32)Tables.File] = "File"; 123Names[(Int32)Tables.GenericParam] = "GenericParam"; 124Names[(Int32)Tables.GenericMethod] = "GenericMethod"; 125Names[(Int32)Tables.GenericConstraint] = "GenericConstraint"; 126Names[(Int32)Tables.ImplMap] = "ImplMap"; 127Names[(Int32)Tables.InterfaceImpl] = "InterfaceImpl"; 128Names[(Int32)Tables.ManifestResource] = "ManifestResource"; 129Names[(Int32)Tables.MemberRef] = "MemberRef"; 130Names[(Int32)Tables.MethodDef] = "MethodDef"; 131Names[(Int32)Tables.MethodImpl] = "MethodImpl"; 132Names[(Int32)Tables.MethodSemantics] = "MethodSemantics"; 133Names[(Int32)Tables.ModuleRef] = "ModuleRef"; 134Names[(Int32)Tables.NestedClass] = "NestedClass"; 135Names[(Int32)Tables.ParamDef] = "ParamDef"; 136Names[(Int32)Tables.PropertyMap] = "PropertyMap"; 137Names[(Int32)Tables.StandAloneSig] = "StandAloneSig"; 138Names[(Int32)Tables.TypeDef] = "TypeDef"; 139Names[(Int32)Tables.TypeRef] = "TypeRef"; 140Names[(Int32)Tables.TypeSpec] = "TypeSpec"; 141Names[(Int32)Tables.XAssembly] = "Assembly"; 142Names[(Int32)Tables.XEvent] = "Event"; 143Names[(Int32)Tables.XModule] = "Module"; 144Names[(Int32)Tables.XProperty] = "Property"; 146Names[(Int32)Tables.FieldPtr] = "FieldPointer"; 147Names[(Int32)Tables.MethodPtr] = "MethodPointer"; 148Names[(Int32)Tables.ParamPtr] = "ParamPointer"; 149Names[(Int32)Tables.EventPtr] = "EventPointer"; 150Names[(Int32)Tables.PropertyPtr] = "PropertyPointer"; 153for (Int32 i = 0; i <= (Int32)Tables.MaxTable; i++) 245NRows = new UInt32[(Int32)Tables.MaxTable + 1]; 268tableAt = new UInt32[(Int32)Tables.MaxTable + 1]; 302lengths = new UInt32[(Int32)Tables.MaxTable + 1]; 303lengths[(Int32)Tables.XAssembly] = 4 + 4 * 2 + 4 + blobIndex + 2 * stringIndex; 304lengths[(Int32)Tables.AssemblyOS] = 4 * 3; 305lengths[(Int32)Tables.AssemblyProcessor] = 4; 306lengths[(Int32)Tables.AssemblyRef] = 4 * 2 + 4 + 2 * blobIndex + 2 * stringIndex; 307lengths[(Int32)Tables.AssemblyRefOS] = 3 * 4 + RowSize(Tables.AssemblyRef); 308lengths[(Int32)Tables.AssemblyRefProcessor] = 4 + RowSize(Tables.AssemblyRef); 309lengths[(Int32)Tables.ClassLayout] = 2 + 4 + RowSize(Tables.TypeDef); 310lengths[(Int32)Tables.Constant] = 1 + 1 + MetadataTokenSize(Encodings.HasConstant) + blobIndex; 311lengths[(Int32)Tables.CustomAttribute] = MetadataTokenSize(Encodings.HasCustomAttribute) + 313lengths[(Int32)Tables.DeclSecurity] = 2 + MetadataTokenSize(Encodings.HasDeclSecurity) + blobIndex; 314lengths[(Int32)Tables.EventMap] = RowSize(Tables.TypeDef) + RowSize(Tables.XEvent); 315lengths[(Int32)Tables.XEvent] = 2 + stringIndex + MetadataTokenSize(Encodings.TypeDefOrRef); 316lengths[(Int32)Tables.ExportedType] = 4 + 4 + stringIndex*2 + MetadataTokenSize(Encodings.Implementation); 317lengths[(Int32)Tables.FieldDef] = 2 + stringIndex + blobIndex; 318lengths[(Int32)Tables.FieldLayout] = 4 + RowSize(Tables.FieldDef); 319lengths[(Int32)Tables.FieldMarshal] = MetadataTokenSize(Encodings.HasFieldMarshall) + blobIndex; 320lengths[(Int32)Tables.FieldRVA] = 4 + RowSize(Tables.FieldDef); 321lengths[(Int32)Tables.File] = 4 + stringIndex + blobIndex; 322lengths[(Int32)Tables.GenericParam] = 2 + 2 + MetadataTokenSize(Encodings.TypeOrMethodDef) + stringIndex; 323lengths[(Int32)Tables.GenericMethod] = MetadataTokenSize(Encodings.MethodDefOrRef) + blobIndex; 324lengths[(Int32)Tables.GenericConstraint] = RowSize(Tables.GenericParam) + MetadataTokenSize(Encodings.TypeDefOrRef); 325lengths[(Int32)Tables.ImplMap] = 2 + MetadataTokenSize(Encodings.MemberForwarded) + stringIndex + 327lengths[(Int32)Tables.InterfaceImpl] = RowSize(Tables.TypeDef) + MetadataTokenSize(Encodings.TypeDefOrRef); 328lengths[(Int32)Tables.ManifestResource] = 4 + 4 + stringIndex + MetadataTokenSize(Encodings.Implementation); 329lengths[(Int32)Tables.MemberRef] = MetadataTokenSize(Encodings.MemberRefParent) + stringIndex + 331lengths[(Int32)Tables.MethodDef] = 4 + 2 + 2 + stringIndex + 333lengths[(Int32)Tables.MethodImpl] = RowSize(Tables.TypeDef) + MetadataTokenSize(Encodings.MethodDefOrRef) * 2; 334lengths[(Int32)Tables.MethodSemantics] = 2 + RowSize(Tables.MethodDef) + MetadataTokenSize(Encodings.HasSemantics); 335lengths[(Int32)Tables.XModule] = 2 + stringIndex + GUIDIndex * 3; 336lengths[(Int32)Tables.ModuleRef] = stringIndex; 337lengths[(Int32)Tables.NestedClass] = RowSize(Tables.TypeDef) * 2; 338lengths[(Int32)Tables.ParamDef] = 2 + 2 + stringIndex; 339lengths[(Int32)Tables.XProperty] = 2 + stringIndex + blobIndex; 340lengths[(Int32)Tables.PropertyMap] = RowSize(Tables.TypeDef) + RowSize(Tables.XProperty); 341lengths[(Int32)Tables.StandAloneSig] = blobIndex; 342lengths[(Int32)Tables.TypeDef] = 4 + stringIndex*2 + MetadataTokenSize(Encodings.TypeDefOrRef) + 344lengths[(Int32)Tables.TypeRef] = MetadataTokenSize(Encodings.ResolutionScope) + stringIndex*2; 345lengths[(Int32)Tables.TypeSpec] = blobIndex; 347 lengths[(Int32)Tables.FieldPtr] = RowSize(Tables.FieldDef); 348lengths[(Int32)Tables.MethodPtr] = RowSize(Tables.MethodDef); 349lengths[(Int32)Tables.ParamPtr] = RowSize(Tables.ParamDef); 350lengths[(Int32)Tables.EventPtr] = RowSize(Tables.XEvent); 351lengths[(Int32)Tables.PropertyPtr] = RowSize(Tables.XProperty); 359if (Row >= NRows[(Int32) T]) 362Row, T, Names[(Int32) T], NRows[(Int32) T])); 363B.BaseStream.Seek(tableAt[(Int32)T]+Row*lengths[(Int32)T], SeekOrigin.Begin); 499EncodingDesc Desc = EncodingDescs[(Int32)E];
System\Addin\MiniReflection\MetadataReader\PEFileReader.cs (2)
128StringBuilder sb = new StringBuilder((Int32)NChars); 170return Encoder.GetString(B.ReadBytes((Int32) NChars));
System\Addin\MiniReflection\MiniParameterInfo.cs (1)
93return new TypeInfo(typeof(Int32));
System.AddIn.Contract (5)
System\Addin\Contract\RemoteArgument.cs (5)
523public RemoteArgument(System.Int32 value) 531public RemoteArgument(System.Int32 value, bool isByRef) 1117public System.Int32 Int32Value 1125return default(System.Int32); 1131return (System.Int32)this._value;
System.ComponentModel.DataAnnotations (2)
DataAnnotations\MaxLengthAttribute.cs (1)
58var length = 0;
DataAnnotations\MinLengthAttribute.cs (1)
43var length = 0;
System.Core (61)
Microsoft\Scripting\Ast\Expression.DebuggerProxy.cs (4)
121public Int32 EndColumn { get { return _node.EndColumn; } } 122public Int32 EndLine { get { return _node.EndLine; } } 125public Int32 StartColumn { get { return _node.StartColumn; } } 126public Int32 StartLine { get { return _node.StartLine; } }
Microsoft\Scripting\Ast\ParameterExpression.cs (1)
57case TypeCode.Int32: return new PrimitiveParameterExpression<Int32>(name);
Microsoft\Scripting\Compiler\ILGen.cs (2)
955if (Int32.MinValue <= value && value <= Int32.MaxValue) {
Microsoft\Scripting\Utils\CacheDict.cs (3)
55var alignedSize = AlignSize(size); 97var hash = key.GetHashCode(); 98var idx = hash & mask;
Microsoft\Win32\UnsafeNativeMethods.cs (2)
739public Int32 Integer; 1273Int32 valuePathsCount,
System\Diagnostics\Eventing\Reader\NativeWrapper.cs (4)
333Int32 valuePathsCount, 1220if (val.Reference == IntPtr.Zero) return new Int32[0]; 1221Int32[] arInt32 = new Int32[val.Count];
System\Diagnostics\EventSchemaTraceListener.cs (2)
522int bufferSize = Int32.Parse(Attributes[s_optionBufferSize], CultureInfo.InvariantCulture); 553int maxNumberOfFiles = Int32.Parse(Attributes[s_optionMaximumNumberOfFiles], CultureInfo.InvariantCulture);
System\Diagnostics\PerformanceData\CounterSet.cs (7)
35internal Dictionary<String, Int32> m_stringToId; 36internal Dictionary<Int32, CounterType> m_idToCounter; 63m_stringToId = new Dictionary<String, Int32>(); 64m_idToCounter = new Dictionary<Int32, CounterType>(); 100public void AddCounter(Int32 counterId, CounterType counterType) { 130public void AddCounter(Int32 counterId, CounterType counterType, String counterName) { 218foreach (KeyValuePair<Int32, CounterType> CounterDef in m_idToCounter) {
System\Diagnostics\PerformanceData\CounterSetInstance.cs (1)
24private Int32 m_active;
System\Diagnostics\PerformanceData\CounterSetInstanceCounterDataSet.cs (7)
106private Dictionary<Int32, CounterData> m_counters; 107private Int32 m_disposed; 115m_counters = new Dictionary<Int32, CounterData>(); 130Int32 CounterOffset = 0; 132foreach (KeyValuePair<Int32, CounterType> CounterDef in m_instance.m_counterSet.m_idToCounter) { 188public CounterData this[Int32 counterId] { 225Int32 CounterId = m_instance.m_counterSet.m_stringToId[counterName];
System\Diagnostics\PerformanceData\PerfProviderCollection.cs (3)
20internal Int32 m_counterSet; 41private static Dictionary<Object, Int32> s_counterSetList = new Dictionary<Object, Int32>();
System\IO\MemoryMappedFiles\MemoryMappedFile.cs (16)
390Int32 capacityLow = (Int32)(capacity & 0x00000000FFFFFFFFL); 391Int32 capacityHigh = (Int32)(capacity >> 32); 398Int32 errorCode = Marshal.GetLastWin32Error(); 425Int32 lastError = Marshal.GetLastWin32Error(); 467Int32 capacityLow = (Int32)(capacity & 0x00000000FFFFFFFFL); 468Int32 capacityHigh = (Int32)(capacity >> 32); 482Int32 createErrorCode = Marshal.GetLastWin32Error(); 500Int32 openErrorCode = Marshal.GetLastWin32Error(); 659internal static Int32 GetSystemPageAllocationGranularity() { 669internal static Int32 GetPageAccess(MemoryMappedFileAccess access) { 693internal static Int32 GetFileMapAccess(MemoryMappedFileAccess access) { 784secAttrs.nLength = (Int32)Marshal.SizeOf(secAttrs);
System\IO\MemoryMappedFiles\MemoryMappedView.cs (6)
34private const Int32 MaxFlushWaits = 15; // must be <=30 35private const Int32 MaxFlushRetriesPerWait = 20; 198Int32 error = Marshal.GetLastWin32Error(); 201for (Int32 w = 0; canRetry && w < MaxFlushWaits; w++) { 203Int32 pause = (1 << w); // MaxFlushRetries should never be over 30 206for (Int32 r = 0; canRetry && r < MaxFlushRetriesPerWait; r++) {
System\Linq\Enumerable.cs (1)
1267if (count < 0 || max > Int32.MaxValue) throw Error.ArgumentOutOfRange("count");
System\Linq\ParallelEnumerable.cs (1)
476if (count < 0 || (count > 0 && Int32.MaxValue - (count - 1) < start)) throw new ArgumentOutOfRangeException("count");
system\threading\ReaderWriterLockSlim\ReaderWriterLockSlim.cs (1)
247if (ltm < -1 || ltm > (long)Int32.MaxValue)
System.Data (638)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\UserInterface\FocusScopeManager.cs (1)
46FocusScopeManager.DefaultFocusScopePriority = Int32.MaxValue;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Expressions\TextualExpressionEditor.cs (1)
20new FrameworkPropertyMetadata(Int32.MaxValue));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemExtensions.cs (1)
404int index = Int32.Parse(indexString, CultureInfo.InvariantCulture);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DataGridHelper.cs (1)
1133Int32 nextSelectedIndex = -1;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (1)
60new FrameworkPropertyMetadata(Int32.MaxValue));
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypePresenter.xaml.cs (1)
121typeof(Int32),
fx\src\data\Microsoft\SqlServer\Server\ITypedGetters.cs (1)
37Int32 GetInt32( int ordinal );
fx\src\data\Microsoft\SqlServer\Server\ITypedGettersV3.cs (1)
52Int32 GetInt32( SmiEventSink sink, int ordinal );
fx\src\data\Microsoft\SqlServer\Server\ITypedSetters.cs (1)
32void SetInt32( int ordinal, Int32 value );
fx\src\data\Microsoft\SqlServer\Server\ITypedSettersV3.cs (1)
61void SetInt32( SmiEventSink sink, int ordinal, Int32 value );
fx\src\data\Microsoft\SqlServer\Server\MemoryRecordBuffer.cs (2)
80public override Int32 GetInt32(SmiEventSink sink, int ordinal) { 177public override void SetInt32(SmiEventSink sink, int ordinal, Int32 value) {
fx\src\data\Microsoft\SqlServer\Server\MetadataUtilsSmi.cs (2)
102ht.Add( typeof( System.Int32 ), ExtendedClrTypeCode.Int32 ); 287if (value.GetType() == typeof( Int32 ))
fx\src\data\Microsoft\SqlServer\Server\SmiMetaData.cs (2)
80internal static readonly SqlMoney MaxSmallMoney = new SqlMoney( ( (Decimal)Int32.MaxValue ) / 10000 ); 81internal static readonly SqlMoney MinSmallMoney = new SqlMoney( ( (Decimal)Int32.MinValue ) / 10000 );
fx\src\data\Microsoft\SqlServer\Server\SmiRecordBuffer.cs (2)
172public virtual Int32 GetInt32( int ordinal ) { 515public virtual void SetInt32( int ordinal, Int32 value ) {
fx\src\data\Microsoft\SqlServer\Server\SmiRequestExecutor.cs (2)
230public virtual Int32 GetInt32( int ordinal ) { 573public virtual void SetInt32( int ordinal, Int32 value ) {
fx\src\data\Microsoft\SqlServer\Server\SmiTypedGetterSetter.cs (2)
131public virtual Int32 GetInt32(SmiEventSink sink, int ordinal) { 331public virtual void SetInt32(SmiEventSink sink, int ordinal, Int32 value) {
fx\src\data\Microsoft\SqlServer\Server\SqlDataRecord.cs (2)
173public virtual Int32 GetInt32(int ordinal) { 438public virtual void SetInt32(int ordinal, System.Int32 value) {
fx\src\data\Microsoft\SqlServer\Server\SqlRecordBuffer.cs (2)
48[FieldOffset(0)] internal Int32 _int32; 176internal Int32 Int32 {
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (12)
271internal static Int32 GetInt32( SmiEventSink_Default sink, ITypedGettersV3 getters, int ordinal, SmiMetaData metaData ) { 280return (Int32) result; 551Int32 temp = GetInt32_Unchecked( sink, getters, ordinal ); 1440internal static void SetInt32( SmiEventSink_Default sink, ITypedSettersV3 setters, int ordinal, SmiMetaData metaData, Int32 value ) { 1604case ExtendedClrTypeCode.Int32: SetInt32_Unchecked( sink, setters, ordinal, (Int32) value ); break; 2500if ( bufferLength > Int32.MaxValue ) { 2569if ( bufferLength > Int32.MaxValue ) { 2583if ( bufferLength > Int32.MaxValue ) { 2690if ( bufferLength > Int32.MaxValue ) { 3122private static Int32 GetInt32_Unchecked( SmiEventSink_Default sink, ITypedGettersV3 getters, int ordinal ) { 3125Int32 result = getters.GetInt32( sink, ordinal ); 3362private static void SetInt32_Unchecked( SmiEventSink_Default sink, ITypedSettersV3 setters, int ordinal, Int32 value ) {
fx\src\data\System\Data\CodeGen\datacache.cs (4)
393CodeMemberProperty countProp = PropertyDecl(typeof(System.Int32), "Count", MemberAttributes.Public | MemberAttributes.Final); { 414thisIndex.Parameters.Add(ParameterDecl(typeof(Int32), "index")); 854col.DataType == typeof(Int32) || col.DataType == typeof(UInt32) || 1424private static CodeTypeReference Type(string type, Int32 rank) { return new CodeTypeReference(type, rank); }
fx\src\data\System\Data\CodeGen\StrongTypingException.cs (1)
55int count = (int) info.GetValue(KEY_ARRAYCOUNT, typeof(System.Int32));
fx\src\data\System\Data\ColumnTypeConverter.cs (1)
34typeof(Int32),
fx\src\data\System\Data\Common\AdapterUtil.cs (7)
2241major = Int32.Parse(parts[0], NumberStyles.None, CultureInfo.InvariantCulture); 2242minor = Int32.Parse(parts[1], NumberStyles.None, CultureInfo.InvariantCulture); 2243build = Int32.Parse(parts[2], NumberStyles.None, CultureInfo.InvariantCulture); 2244Int32.Parse(parts[3], NumberStyles.None, CultureInfo.InvariantCulture); 2445static internal IntPtr IntPtrOffset(IntPtr pbase, Int32 offset) { 2459lval = Math.Min((long)Int32.MaxValue, lval); 2460lval = Math.Max((long)Int32.MinValue, lval);
fx\src\data\System\Data\Common\BigIntegerStorage.cs (4)
64else if (value.GetType() == typeof(Int32)) { return (BigInteger)(Int32)value; } 78else if (type == typeof(Int32)) { return checked((Int32)value); }
fx\src\data\System\Data\Common\DataRecordInternal.cs (4)
119if (dataIndex > Int32.MaxValue) { 191if (dataIndex > Int32.MaxValue) { 249public override Int32 GetInt32(int i) { 250return((Int32) _values[i]);
fx\src\data\System\Data\Common\DataStorage.cs (2)
80typeof(Int32), 224return Int32.MaxValue;
fx\src\data\System\Data\Common\DbConnectionOptions.cs (1)
341return System.Int32.Parse(stringValue, System.Globalization.NumberStyles.Integer, CultureInfo.InvariantCulture);
fx\src\data\System\Data\Common\DbConnectionStringBuilder.cs (2)
398if (Int32.TryParse((string)value, out tmp1)) { 399vtype = typeof(Int32);
fx\src\data\System\Data\Common\DbConnectionStringCommon.cs (1)
310throw ADP.ConvertFailed(value.GetType(), typeof(Int32), e);
fx\src\data\System\Data\Common\DbDataReader.cs (1)
134abstract public Int32 GetInt32(int ordinal);
fx\src\data\System\Data\Common\dbdatarecord.cs (1)
67public abstract Int32 GetInt32(int i);
fx\src\data\System\Data\Common\DbException.cs (1)
23protected DbException(System.String message, System.Int32 errorCode) : base(message, errorCode) {
fx\src\data\System\Data\Common\DBSchemaRow.cs (4)
25sortindex = new DataColumn(SchemaMappingUnsortedIndex, typeof(Int32)); // MDAC 67050 84internal Int32 Size { 389internal Int32 UnsortedIndex { 391return (Int32) dataRow[schemaTable.UnsortedIndex, DataRowVersion.Default];
fx\src\data\System\Data\Common\Int32Storage.cs (22)
18private const Int32 defaultValue = 0; // Convert.ToInt32(null) 20private Int32[] values; 23: base(column, typeof(Int32), defaultValue, StorageType.Int32) { 54Int32 mean; 55checked {mean = (Int32)(meanSum / meanCount);} 97Int32 min = Int32.MaxValue; 111Int32 max = Int32.MinValue; 141throw ExprException.Overflow(typeof(Int32)); 147Int32 valueNo1 = values[recordNo1]; 148Int32 valueNo2 = values[recordNo2]; 168Int32 valueNo1 = values[recordNo]; 172return valueNo1.CompareTo((Int32)value); 194Int32 value = values[record]; 214Int32[] newValues = new Int32[capacity]; 227return XmlConvert.ToString((Int32)value); 231return new Int32[recordCount]; 235Int32[] typedStore = (Int32[]) store; 241values = (Int32[]) store;
fx\src\data\System\Data\Common\NativeMethods.cs (2)
36[In] Int32 isoLevel, 37[In] Int32 isoFlags,
fx\src\data\System\Data\Common\ObjectStorage.cs (2)
226else if (valType == typeof(Int32)){ 227values[recordNo] = BitConverter.GetBytes((Int32)value);
fx\src\data\System\Data\Common\SafeNativeMethods.cs (1)
113static private extern void SetErrorInfo(Int32 dwReserved, IntPtr pIErrorInfo);
fx\src\data\System\Data\Common\SQLConvert.cs (9)
106return (Int32)value; 146return (Int32)value; 194return (Int32)value; 236return (Int32)value; 280return (Int32)value; 508return ((IConvertible)(Int32)value).ToString(formatProvider); 555return new TimeSpan((Int64)(Int32)value); 700return new TimeSpan((Int64)(Int32)value); 755return XmlConvert.ToString((Int32) value);
fx\src\data\System\Data\Common\System.Data_BID.cs (201)
77internal static void PoolerTrace(string fmtPrintfW, System.Int32 a1) { 83internal static void PoolerTrace(string fmtPrintfW, System.Int32 a1, System.Int32 a2) { 89internal static void PoolerTrace(string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3) { 95internal static void PoolerTrace(string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3, System.Int32 a4) { 103System.Int32 a1, 110internal static void PoolerScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1) { 128internal static void NotificationsScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1) { 146internal static void NotificationsScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, string fmtPrintfW2) { 155internal static void NotificationsScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Int32 a2) { 173internal static void NotificationsScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, string fmtPrintfW2, System.Int32 a2) { 182internal static void NotificationsScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, string fmtPrintfW2, string fmtPrintfW3, System.Int32 a4) { 203internal static void NotificationsTrace(string fmtPrintfW, System.Int32 a1) { 215internal static void NotificationsTrace(string fmtPrintfW, string fmtPrintfW2, System.Int32 a1) { 221internal static void NotificationsTrace(string fmtPrintfW, System.Int32 a1, string fmtPrintfW2) { 227internal static void NotificationsTrace(string fmtPrintfW, System.Int32 a1, System.Int32 a2) { 233internal static void NotificationsTrace(string fmtPrintfW, System.Int32 a1, System.Boolean a2) { 245internal static void NotificationsTrace(string fmtPrintfW, string fmtPrintfW2, string fmtPrintfW3, System.Int32 a1) { 257internal static void NotificationsTrace(string fmtPrintfW, System.Int32 a1, string fmtPrintfW2, string fmtPrintfW3, string fmtPrintfW4) { 264internal static void CorrelationTrace(string fmtPrintfW, System.Int32 a1) { 285internal static void CorrelationTrace(string fmtPrintfW, System.Int32 a1, System.Int32 a2) { 301[BidArgumentType(typeof(System.Int32))] System.Data.Odbc.ODBC32.RetCode a1) { 309[BidArgumentType(typeof(System.Int32))] System.Data.Odbc.ODBC32.RetCode a1, 335internal static void Trace(string fmtPrintfW, System.Data.OleDb.OleDbHResult a1, System.Int32 a2) { 348internal static void Trace(string fmtPrintfW, System.Int32 a1, System.String a2, System.Boolean a3) { 354internal static void Trace(string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.String a3, System.String a4, System.Int32 a5) { 360internal static void Trace(string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int64 a3, System.UInt32 a4, System.Int32 a5, System.UInt32 a6, System.UInt32 a7) { 371System.Int32 a1, 381internal static void ScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.String a2, System.Int32 a3) { 390internal static void ScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Boolean a2, System.Int32 a3) { 404internal static void Trace(string fmtPrintfW, System.Int32 a1, System.String a2) { 417internal static void Trace(string fmtPrintfW, System.Int32 a1) { 423internal static void Trace(string fmtPrintfW, System.Int32 a1, System.Int32 a2) { 429internal static void Trace(string fmtPrintfW, System.Int32 a1, System.IntPtr a2, System.IntPtr a3) { 435internal static void Trace(string fmtPrintfW, System.Int32 a1, System.IntPtr a2) { 441internal static void Trace(string fmtPrintfW, System.Int32 a1, System.String a2, System.String a3) { 447internal static void Trace(string fmtPrintfW, System.Int32 a1, System.String a2, System.Int32 a3) { 453internal static void Trace(string fmtPrintfW, System.Int32 a1, System.String a2, System.String a3, System.Int32 a4) { 459internal static void Trace(string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3, System.String a4, System.String a5, System.Int32 a6) { 465internal static void Trace(string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3) { 471internal static void Trace(string fmtPrintfW, System.Int32 a1, System.Boolean a2) { 477internal static void Trace(string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3, System.Int32 a4) { 483internal static void Trace(string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Boolean a3) { 489internal static void Trace(string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3, System.Int32 a4, System.Int32 a5, System.Int32 a6, System.Int32 a7) { 495internal static void Trace(string fmtPrintfW, System.Int32 a1, System.String a2, System.Int32 a3, System.Int32 a4, System.Boolean a5) { 501internal static void Trace(string fmtPrintfW, System.Int32 a1, System.Int64 a2) { 507internal static void Trace(string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int64 a3) { 513internal static void Trace(string fmtPrintfW, System.Int32 a1, System.String a2, System.String a3, System.String a4, System.Int32 a5, System.Int64 a6) { 519internal static void Trace(string fmtPrintfW, System.Int32 a1, System.Int64 a2, System.Int32 a3, System.Int32 a4) { 525internal static void Trace(string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int64 a3, System.Int32 a4) { 531internal static void Trace(string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3, System.Int32 a4, System.String a5, System.String a6, System.String a7, System.Int32 a8) { 537internal static void Trace(string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.String a3, System.String a4) { 547internal static void ScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.String a2) { 556internal static void ScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Boolean a2) { 565internal static void ScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.String a3) { 574internal static void ScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.String a2, System.Boolean a3) { 583internal static void ScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Boolean a3) { 592internal static void ScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3, System.String a4) { 601internal static void ScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3) { 610internal static void ScopeEnter(out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Boolean a3, System.Int32 a4) { 629internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.String a3, System.String a4, System.Int32 a5); 633internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.String a2, System.Boolean a3); 637internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int64 a3, System.UInt32 a4, System.Int32 a5, System.UInt32 a6, System.UInt32 a7); 649internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.String a2, System.Int32 a3); 653internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Boolean a2, System.Int32 a3); 661internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.String a2, System.String a3, System.Int32 a4); 674internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1); 683internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, string fmtPrintfW2, System.Int32 a1); 688internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.String a2); 693internal static void Trace(IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.String a3); 697internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2); 701internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.IntPtr a2, System.IntPtr a3); 705internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.IntPtr a2); 709internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.String a2, System.String a3); 713internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.String a2, System.Int32 a3); 717internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.String a2, System.String a3, System.Int32 a4); 721internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3, System.String a4, System.String a5, System.Int32 a6); 725internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3); 729internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Boolean a2); 733internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.String a2, System.String a3, System.String a4); 741internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3, System.Int32 a4); 745internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Boolean a3); 749internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3, System.Int32 a4, System.Int32 a5, System.Int32 a6, System.Int32 a7); 753internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.String a2, System.Int32 a3, System.Int32 a4, System.Boolean a5); 757internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int64 a2); 761internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int64 a3); 769internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.String a2, System.String a3, System.String a4, System.Int32 a5, System.Int64 a6); 773internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int64 a2, System.Int32 a3, System.Int32 a4); 777internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int64 a3, System.Int32 a4); 781internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3, System.Int32 a4, System.String a5, System.String a6, System.String a7, System.Int32 a8); 785internal static void Trace (IntPtr hID, UIntPtr src, UIntPtr info, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.String a3, System.String a4); 796internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.String a2); 800internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Boolean a2); 804internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.String a3); 808internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.String a2, System.Boolean a3); 812internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Boolean a3); 816internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3, System.String a4); 820internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Int32 a3); 824internal static void ScopeEnter (IntPtr hID, UIntPtr src, UIntPtr info, out IntPtr hScp, string fmtPrintfW, System.Int32 a1, System.Int32 a2, System.Boolean a3, System.Int32 a4);
fx\src\data\System\Data\Common\TimeSpanStorage.cs (2)
169else if (typeofValue == typeof(Int32)) { 170return new TimeSpan((Int64)((Int32)value));
fx\src\data\System\Data\Common\UnsafeNativeMethods.cs (23)
167/*SQLINTEGER*/Int32 TextLength); 198/*SQLINTEGER*/Int32 BufferLength, 199/*SQLINTEGER* */out Int32 StringLength); 218/*SQLINTEGER*/Int32 BufferLength, 219/*SQLINTEGER* */out Int32 StringLength); 228/*SQLINTEGER* */out Int32 NativeError, 276/*SQLINTEGER*/Int32 BufferLength, 277/*SQLINTEGER*/out Int32 StringLength); 302/*SQLINTEGER*/Int32 TextLength); 354/*SQLINTEGER*/Int32 StringLength); 362/*SQLINTEGER*/Int32 StringLength); 370/*SQLINTEGER*/Int32 StringLength); 379/*SQLINTEGER*/Int32 StringLength); 388/*SQLINTEGER*/Int32 BufferLength); 397/*SQLINTEGER*/Int32 BufferLength); 412/*SQLINTEGER*/Int32 Attribute, 414/*SQLINTEGER*/Int32 StringLength); 473[In] Int32 dwReserved, 986[In] Int32 ulRecordNum, 991[In] Int32 ulRecordNum, 992[In] Int32 lcid); 996Int32 GetRecordCount(); 1157[return:MarshalAs(UnmanagedType.I4)] Int32 GetSQLInfo(
fx\src\data\System\Data\DataColumn.cs (1)
1562return ((dataType == typeof(Int32)) || (dataType == typeof(Int64)) || (dataType == typeof(Int16)) || (dataType == typeof(Decimal)) || (dataType == typeof(System.Numerics.BigInteger)) ||
fx\src\data\System\Data\DataColumnPropertyDescriptor.cs (1)
69public override Int32 GetHashCode() {
fx\src\data\System\Data\DataException.cs (3)
829static public Exception GetElementIndex(Int32 index) { 1253static public Exception RangeArgument(Int32 min, Int32 max) {
fx\src\data\System\Data\DataRelationPropertyDescriptor.cs (1)
56public override Int32 GetHashCode() {
fx\src\data\System\Data\DataRowCollection.cs (1)
100public Int32 IndexOf(DataRow row) {
fx\src\data\System\Data\DataRowView.cs (1)
48public override Int32 GetHashCode() {
fx\src\data\System\Data\DataSet.cs (3)
1206internal Int32 EstimatedXmlStringSize() 1208Int32 bytes = 100; 1210Int32 rowBytes = (Tables[i].TableName.Length + 4) << 2;
fx\src\data\System\Data\DataTable.cs (5)
47/// <remarks>This limits <see cref="DataRowCollection.Add(DataRow)"/> to <see cref="Int32.MaxValue"/> operations.</remarks> 102private readonly static Int32[] zeroIntegers = new Int32[0]; 2865Debug.Assert(Enum.GetUnderlyingType(typeof(DataRowState)) == typeof(Int32), "Invalid DataRowState type"); 4344DataColumn key = new DataColumn(keyName, typeof(Int32), null, MappingType.Hidden);
fx\src\data\System\Data\DataTablePropertyDescriptor.cs (1)
54public override Int32 GetHashCode() {
fx\src\data\System\Data\DataTableReader.cs (9)
273override public Int32 FieldCount { 498override public Int32 GetInt32 (int ordinal) { 502return (Int32) currentDataRow[ordinal]; 534override public Int32 GetOrdinal (string name) { 572override public Int32 GetValues (object[] values) { 609DataColumn ColumnOrdinal = new DataColumn(SchemaTableColumn.ColumnOrdinal, typeof(System.Int32)); 610DataColumn ColumnSize = new DataColumn(SchemaTableColumn.ColumnSize, typeof(System.Int32)); 614DataColumn ProviderType = new DataColumn(SchemaTableColumn.ProviderType, typeof(System.Int32)); 769private void ValidateRow(Int32 rowPosition) {
fx\src\data\System\Data\Filter\AggregateNode.cs (1)
67throw ExprException.UndefinedFunction(Function.FunctionName[(Int32)aggregateType]);
fx\src\data\System\Data\Filter\ConstNode.cs (1)
166if (Int32.TryParse(sval, NumberStyles.Integer, NumberFormatInfo.InvariantInfo, out i4)) {
fx\src\data\System\Data\Filter\UnaryNode.cs (1)
74value = -(Int32) vl;
fx\src\data\System\Data\ForeignKeyConstraint.cs (1)
771public override Int32 GetHashCode() {
fx\src\data\System\Data\IDataRecord.cs (1)
48Int32 GetInt32(int i);
fx\src\data\System\Data\Odbc\Odbc32.cs (20)
499private const Int32 SIGNED_OFFSET = -20; // SQL_SIGNED_OFFSET 500private const Int32 UNSIGNED_OFFSET = -22; // SQL_UNSIGNED_OFFSET 576internal const Int32 SQL_NULL_DATA = -1; // sql.h 577internal const Int32 SQL_NO_TOTAL = -4; // sqlext.h 579internal const Int32 SQL_DEFAULT_PARAM= -5; 585internal const Int32 COLUMN_NAME = 4; 586internal const Int32 COLUMN_TYPE = 5; 587internal const Int32 DATA_TYPE = 6; 588internal const Int32 COLUMN_SIZE = 8; 589internal const Int32 DECIMAL_DIGITS = 10; 590internal const Int32 NUM_PREC_RADIX = 11; 640internal const Int32 SQL_NTS = -3; //flags for null-terminated string 648internal const Int32 SQL_CD_TRUE = 1; 649internal const Int32 SQL_CD_FALSE = 0; 651internal const Int32 SQL_DTC_DONE = 0; 652internal const Int32 SQL_IS_POINTER = -4; 653internal const Int32 SQL_IS_PTR = 1; 667internal const Int32 MAX_CONNECTION_STRING_LENGTH = 1024; 738Int32 NativeError; 787static private readonly TypeMap _Int = new TypeMap(OdbcType.Int, DbType.Int32, typeof(Int32), ODBC32.SQL_TYPE.INTEGER, ODBC32.SQL_C.SLONG, ODBC32.SQL_C.SLONG, 4, 10, true);
fx\src\data\System\Data\Odbc\OdbcConnection.cs (6)
351Int32 cbActual = 0; 377Int32 retval = -1; 378Int32 cbActual = 0; 416internal ODBC32.RetCode GetInfoInt32Unhandled(ODBC32.SQL_INFO info, out Int32 resultValue) { 423private Int32 GetInfoInt32Unhandled(ODBC32.SQL_INFO infotype) { 842ODBC32.RetCode retcode = connectionHandle.SetConnectionAttribute3(ODBC32.SQL_ATTR.CURRENT_CATALOG, value, checked((Int32)value.Length*2));
fx\src\data\System\Data\Odbc\OdbcConnectionHandle.cs (7)
52retcode = SetConnectionAttribute2(ODBC32.SQL_ATTR.LOGIN_TIMEOUT, (IntPtr)connectionTimeout, (Int32)ODBC32.SQL_IS.UINTEGER); 73retcode = UnsafeNativeMethods.SQLSetConnectAttrW(this, ODBC32.SQL_ATTR.AUTOCOMMIT, ODBC32.SQL_AUTOCOMMIT_OFF, (Int32)ODBC32.SQL_IS.UINTEGER); 119retcode = SetConnectionAttribute2(isolationAttribute, (IntPtr)sql_iso, (Int32)ODBC32.SQL_IS.INTEGER); 175retcode = UnsafeNativeMethods.SQLSetConnectAttrW(handle, ODBC32.SQL_ATTR.AUTOCOMMIT, ODBC32.SQL_AUTOCOMMIT_ON, (Int32)ODBC32.SQL_IS.UINTEGER); 247internal ODBC32.RetCode SetConnectionAttribute2(ODBC32.SQL_ATTR attribute, IntPtr value, Int32 length) { 253internal ODBC32.RetCode SetConnectionAttribute3(ODBC32.SQL_ATTR attribute, string buffer, Int32 length) { 259internal ODBC32.RetCode SetConnectionAttribute4(ODBC32.SQL_ATTR attribute, System.Transactions.IDtcTransaction transaction, Int32 length) {
fx\src\data\System\Data\Odbc\OdbcDataReader.cs (11)
633override public Int32 GetInt32(int i) { 634return (Int32)internalGetInt32(i); 972if (Int32.MaxValue < dataIndex) 1431Int32 numericAttribute = 0; 1535if ((Int32)cbActual == ODBC32.SQL_NO_TOTAL) { 1809metaInfos[i].isReadOnly = (GetColAttribute(i, ODBC32.SQL_DESC.UPDATABLE, ODBC32.SQL_COLUMN.UPDATABLE, ODBC32.HANDLER.IGNORE) == (Int32)ODBC32.SQL_UPDATABLE.READONLY); 1929columns.Add(new DataColumn("ColumnOrdinal", typeof(System.Int32))); // UInt32 1930columns.Add(new DataColumn("ColumnSize", typeof(System.Int32))); // UInt32 1934columns.Add(new DataColumn("ProviderType", typeof(System.Int32))); 2005row[columnSize] = unchecked((int)Math.Min(Math.Max(Int32.MinValue, metadata[i].size.ToInt64()), Int32.MaxValue));
fx\src\data\System\Data\Odbc\odbcmetadatafactory.cs (7)
247sqlType = (ODBC32.SQL_TYPE)(Int32) Convert.ChangeType(getTypeInfoValues[indexDATA_TYPE], 248typeof(Int32), 559Int32 int32Value; 601if ((int32Value & (Int32)ODBC32.SQL_OJ_CAPABILITIES.LEFT) != 0){ 604if ((int32Value & (Int32)ODBC32.SQL_OJ_CAPABILITIES.RIGHT) != 0){ 607if ((int32Value & (Int32)ODBC32.SQL_OJ_CAPABILITIES.FULL) != 0){ 610if ((int32Value & (Int32)ODBC32.SQL_OJ_CAPABILITIES.INNER) != 0){
fx\src\data\System\Data\Odbc\OdbcUtils.cs (1)
232WriteInt32(offset, (Int32)value);
fx\src\data\System\Data\OleDb\ColumnBinding.cs (15)
417Value_I4((Int32) value); 438Value_ERROR((Int32) value); 464if (value is Int32) { 465Value_UI2(Convert.ToUInt16((Int32)value, CultureInfo.InvariantCulture)); 806private Int32 Value_ERROR() { 811private void Value_ERROR(Int32 value) { 877private Int32 Value_I4() { 882private void Value_I4(Int32 value) { 1037RowBinding.WriteInt32(ValueOffset, unchecked((Int32) value)); 1306internal Int32 ValueInt32() { 1307Int32 value; 1315value = (Int32) Value_UI2(); 1320value = (Int32)(UInt16) variant; 1323value = (Int32) variant; 1331throw CheckTypeValueStatusValue(typeof(Int32));
fx\src\data\System\Data\OleDb\DBPropSet.cs (1)
25private readonly Int32 propertySetCount;
fx\src\data\System\Data\OleDb\OLEDB_Enum.cs (3)
168static private readonly NativeDBType D_Error = new NativeDBType(0xff, 4, true, false, OleDbType.Error, NativeDBType.ERROR, S_ERROR, typeof(System.Int32), NativeDBType.ERROR, DbType.Int32 ); // 10 - integer4 173static private readonly NativeDBType D_Integer = new NativeDBType( 10, 4, true, false, OleDbType.Integer, NativeDBType.I4, S_I4, typeof(System.Int32), NativeDBType.I4, DbType.Int32 ); // 15 - integer4 185static private readonly NativeDBType D_UnsignedSmallInt = new NativeDBType( 5, 2, true, false, OleDbType.UnsignedSmallInt, NativeDBType.UI2, S_UI2, typeof(System.Int32), NativeDBType.UI2, DbType.UInt16 ); // 26 - unsigned integer2
fx\src\data\System\Data\OleDb\OleDbConnection.cs (2)
230if (value is Int32) { 303if (value is Int32) {// not OleDbPropertyStatus
fx\src\data\System\Data\OleDb\OleDbConnectionInternal.cs (3)
382DataColumn literal = new DataColumn("Literal", typeof(Int32)); 383DataColumn maxlen = new DataColumn("Maxlen", typeof(Int32)); 478DataColumn restrictionSupport = new DataColumn(ODB.RestrictionSupport, typeof(Int32));
fx\src\data\System\Data\OleDb\oledbconnectionstring.cs (3)
183if (value is Int32) { // not OleDbPropertyStatus 209if (value is Int32) {// not OleDbPropertyStatus 226if (value is Int32) {
fx\src\data\System\Data\OleDb\OledbConnectionStringbuilder.cs (4)
451else if (typeof(Int32) == info._type) { 681Int32 services; 682if(Int32.TryParse(svalue, out services)) { 708if ((typeof(string) == destinationType) && (null != value) && (typeof(Int32) == value.GetType())) {
fx\src\data\System\Data\OleDb\OleDbDataReader.cs (17)
146override public Int32 FieldCount { 196override public object this[Int32 index] { 307DataColumn ordinal = new DataColumn("ColumnOrdinal", typeof(System.Int32)); 308DataColumn size = new DataColumn("ColumnSize", typeof(System.Int32)); 313DataColumn providerType = new DataColumn("ProviderType", typeof(System.Int32)); 774if (dataIndex > Int32.MaxValue) { 789override public Int64 GetBytes(int ordinal, Int64 dataIndex, byte[] buffer, Int32 bufferIndex, Int32 length) { 818override public Int64 GetChars(int ordinal, Int64 dataIndex, char[] buffer, Int32 bufferIndex, Int32 length) { 944override public Int32 GetInt32(int ordinal) { 962override public Int32 GetOrdinal(String name) { 1037override public Int32 GetValues(object[] values) { 1353if (maxRows is Int32) { 1729private Int32 IndexOf(Hashtable hash, string name) { // MDAC 67385 2013using (OleDbDataReader dataReader = new OleDbDataReader(_connection, _command, Int32.MinValue, 0)) { 2164if (hiddenColumns is Int32) {
fx\src\data\System\Data\OleDb\OleDbException.cs (1)
146if ((destinationType == typeof(string)) && (value != null) && (value is Int32)) {
fx\src\data\System\Data\OleDb\OleDbParameter.cs (3)
302size = Int32.MaxValue; // WebData 98940 305size = Int32.MaxValue/2; 308size = Int32.MaxValue;
fx\src\data\System\Data\OleDb\OleDbStruct.cs (20)
50internal Int32 dwFlags; 106internal Int32 dwPart; 107internal Int32 dwMemOwner; 108internal Int32 eParamIO; 112internal Int32 dwFlags; 161internal Int32 dwStatus; 192internal Int32 eKind; 203internal Int32 eKind; 233internal Int32 it; 235internal Int32 fSupported; 237internal Int32 cchMaxLen; 257internal Int32 cProperties; 284internal Int32 dwPropertyID; 285internal Int32 dwOptions; 317internal Int32 cParamSets; 352internal Int32 dwFlags = 0; 397internal Int32 cPropertyInfos; 422internal Int32 dwPropertyID; 423internal Int32 dwFlags; 447internal Int32 cPropertyIDs;
fx\src\data\System\Data\OleDb\PropertyInfoSet.cs (4)
26public Int32 _propertyID; 146case VarEnum.VT_I4: return typeof(System.Int32); 153case VarEnum.VT_ERROR: return typeof(System.Int32); 164case VarEnum.VT_INT: return typeof(System.Int32);
fx\src\data\System\Data\ProviderBase\DbBuffer.cs (3)
239internal Int32 ReadInt32(int offset) { 328Int32 value = ReadInt32(offset); 556WriteInt32(offset, *(Int32*)&value);
fx\src\data\System\Data\ProviderBase\SchemaMapping.cs (2)
509fieldType = typeof(Int32); 695fieldType = typeof(Int32);
fx\src\data\System\Data\RbTree.cs (15)
102private Int32[] _pageTableMap; 123_pageTableMap = new Int32[(_pageTable.Length + TreePage.slotLineSize - 1) / TreePage.slotLineSize]; // Ceiling(size) 165Int32[] newPageTableMap = new Int32[(newPageTable.Length + TreePage.slotLineSize - 1) / TreePage.slotLineSize]; 211Int32 value = 0; // 0 based slot position 255page.SlotMap[slotIndex / TreePage.slotLineSize] &= ~( ((Int32)1) << (int)(slotIndex % TreePage.slotLineSize)); 1862public const Int32 slotLineSize = 32; 1865internal readonly Int32[] SlotMap; // CEILING(slots.size/slotLineSize) 1866private Int32 _inUseCount; // 0 to _slots.size 1867private Int32 _pageId; // Page's Id 1868private Int32 _nextFreeSlotLine; // o based position of next free slot line 1879SlotMap = new Int32[(size + slotLineSize - 1) / slotLineSize]; 1889Int32 freeSlot = 0; // Uint, slot offset within the segment 1935internal Int32 InUseCount 1941internal Int32 PageId
fx\src\data\System\Data\Selection.cs (1)
92internal const Int32 MaskBits = unchecked((int)0x7FFFFFFF);
fx\src\data\System\Data\Sql\SqlDataSourceEnumerator.cs (2)
46Int32 bufferSize = 1024; 47Int32 readLength = 0;
fx\src\data\System\Data\Sql\SqlMetaData.cs (5)
712public Int32 Adjust(Int32 value) { 1057case TypeCode.Int32: value = this.Adjust((Int32)value); break; 1454private static readonly SqlMoney x_smSmallMax = new SqlMoney(((Decimal)Int32.MaxValue)/10000); 1455private static readonly SqlMoney x_smSmallMin = new SqlMoney(((Decimal)Int32.MinValue)/10000);
fx\src\data\System\Data\SqlClient\SqlBuffer.cs (12)
55internal Int32 daypart; 56internal Int32 timepart; 61internal Int32 data1; 62internal Int32 data2; 63internal Int32 data3; 64internal Int32 data4; 76internal Int32 date; 93[FieldOffset(0)] internal Int32 _int32; 259internal Int32 Int32 { 266return (Int32)this.Value; // anything else we haven't thought of goes through boxing. 768case SqlBuffer.StorageType.Int32: return typeof(Int32); 949private static Int32 GetDateFromByteArray(byte[] buf, int offset) {
fx\src\data\System\Data\SqlClient\SqlCommand.cs (5)
2643if (Int32.TryParse(part, out number)) { // No checking, just fail if this doesn't work. 6272if (size != Int32.MaxValue) { 6278if (size != Int32.MaxValue/2) { 6286if (size > 0 && size != Int32.MaxValue && requestMetaData[index].MaxLength == SmiMetaData.UnlimitedMaxLengthIndicator) { 6293if (size > 0 && size != Int32.MaxValue/2 && requestMetaData[index].MaxLength == SmiMetaData.UnlimitedMaxLengthIndicator) {
fx\src\data\System\Data\SqlClient\SqlConnectionFactory.cs (5)
156if ((0 < connectionTimeout) && (connectionTimeout < Int32.MaxValue/1000)) 158else if (connectionTimeout >= Int32.MaxValue/1000) 159connectionTimeout = Int32.MaxValue; 163if (connectionTimeout >= Int32.MaxValue / 10) { 164connectionTimeout = Int32.MaxValue;
fx\src\data\System\Data\SqlClient\SqlConnectionString.cs (1)
323if ((obj is Int32) && (1 == (int)obj)) { // If the registry key exists
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (7)
431DataColumn Ordinal = new DataColumn(SchemaTableColumn.ColumnOrdinal, typeof(System.Int32)); 432DataColumn Size = new DataColumn(SchemaTableColumn.ColumnSize, typeof(System.Int32)); 438DataColumn NonVersionedProviderType = new DataColumn(SchemaTableColumn.NonVersionedProviderType, typeof(System.Int32)); 439DataColumn ProviderType = new DataColumn(SchemaTableColumn.ProviderType, typeof(System.Int32)); 1656if (dataIndex > Int32.MaxValue) { 2030if (dataIndex > Int32.MaxValue) { 2274override public Int32 GetInt32(int i) {
fx\src\data\System\Data\SqlClient\SqlDataReaderSmi.cs (5)
250public override Int32 GetInt32(int ordinal) { 471DataColumn Ordinal = new DataColumn(SchemaTableColumn.ColumnOrdinal, typeof(System.Int32)); 472DataColumn Size = new DataColumn(SchemaTableColumn.ColumnSize, typeof(System.Int32)); 478DataColumn ProviderType = new DataColumn(SchemaTableColumn.ProviderType, typeof(System.Int32)); 479DataColumn NonVersionedProviderType = new DataColumn(SchemaTableColumn.NonVersionedProviderType, typeof(System.Int32));
fx\src\data\System\Data\SqlClient\SqlEnums.cs (3)
514else if (comVal is Int32) 515sqlVal = new SqlInt32((Int32)comVal); 749(10, 255, 4, true, false, false, TdsEnums.SQLINT4, TdsEnums.SQLINTN, MetaTypeName.INT, typeof(System.Int32), typeof(SqlInt32), SqlDbType.Int, DbType.Int32, 0);
fx\src\data\System\Data\SqlClient\SqlInternalConnectionTds.cs (3)
35internal Int32 _dataLength; 1279if ((long)Int32.MaxValue > t) 2121_currentPacketSize = Int32.Parse(rec.newValue, CultureInfo.InvariantCulture);
fx\src\data\System\Data\SqlClient\sqlinternaltransaction.cs (4)
304internal Int32 DecrementAndObtainOpenResultCount() { 305Int32 openResultCount = Interlocked.Decrement(ref _openResultCount); 350internal Int32 IncrementAndObtainOpenResultCount() { 351Int32 openResultCount = Interlocked.Increment(ref _openResultCount);
fx\src\data\System\Data\SqlClient\SqlSequentialStream.cs (1)
30_readTimeout = (int)Math.Min((long)reader.Command.CommandTimeout * 1000L, (long)Int32.MaxValue);
fx\src\data\System\Data\SqlClient\TdsParser.cs (23)
808Int32 threadID = TdsParserStaticMethods.GetCurrentThreadIdForTdsLoginOnly(); 2410_defaultCodePage = Int32.Parse(stringCodePage, NumberStyles.Integer, CultureInfo.InvariantCulture); 2425Int32 packetSize = Int32.Parse(env.newValue, NumberStyles.Integer, CultureInfo.InvariantCulture); 2447_defaultLCID = Int32.Parse(env.newValue, NumberStyles.Integer, CultureInfo.InvariantCulture); 3545Debug.Assert(valLen < (ulong)(Int32.MaxValue), "ProcessReturnValue received data size > 2Gb"); 3547int intlen = valLen > (ulong)(Int32.MaxValue) ? Int32.MaxValue : (int)valLen; 3550intlen = Int32.MaxValue; // If plp data, read it all 4183col.length = Int32.MaxValue; 4738if (!TryReadSqlValue(data, md, md.metaType.IsPlp ? (Int32.MaxValue) : (int)len, stateObj, 5082value.Int32 = (Int32)longValue; 5305length = Int32.MaxValue; 5866WriteInt((Int32)value, stateObj); 6014WriteInt((Int32)value, stateObj); 7208if (outSSPILength > Int32.MaxValue) { 7214length += (Int32)outSSPILength; 7602if (s_maxSSPILength > Int32.MaxValue) { 7663if (dtcLength <= Int32.MaxValue) { 10574WriteInt((Int32)value, stateObj); 10798return SerializeLong((Int32)value, stateObj); 11336if (stateObj._longlenleft > Int32.MaxValue) 11337bytesSkipped = Int32.MaxValue;
fx\src\data\System\Data\SqlClient\TdsParserHelperClasses.cs (1)
532return type == SqlDbType.Udt && length == Int32.MaxValue;
fx\src\data\System\Data\SqlClient\TdsParserStateObject.cs (7)
435remaining = (int)Math.Min((long)Int32.MaxValue, _timeoutMilliseconds); 754timeout = Int32.MaxValue; 758if (timeout > Int32.MaxValue) { 759timeout = Int32.MaxValue; 899internal Int32 IncrementAndObtainOpenResultCount(SqlInternalTransaction transaction) { 1629if (!TryReadPlpBytes(ref buf, 0, Int32.MaxValue, out length)) { 1844cbSkip = (int)Math.Min((long)Int32.MaxValue, num);
fx\src\data\System\Data\SqlClient\TdsParserStaticMethods.cs (5)
121static internal Int32 GetCurrentThreadIdForTdsLoginOnly() { 167static internal Int32 GetTimeoutMilliseconds(long timeoutTime) { 183if (msecRemaining > (long)Int32.MaxValue) { 184return Int32.MaxValue; 186return (Int32)msecRemaining;
fx\src\data\System\Data\SqlClient\TdsRecordBufferSetter.cs (1)
137public override void SetInt32(SmiEventSink sink, int ordinal, Int32 value) {
fx\src\data\System\Data\SqlClient\TdsValueSetter.cs (1)
390internal void SetInt32(Int32 value) {
fx\src\data\System\Data\SQLTypes\SQLBoolean.cs (1)
259return new SqlBoolean(Int32.Parse(s, (IFormatProvider)null));
fx\src\data\System\Data\SQLTypes\SQLBytes.cs (1)
96 private const long x_lMaxLen = (long)System.Int32.MaxValue;
fx\src\data\System\Data\SQLTypes\SQLChars.cs (1)
87 private const long x_lMaxLen = (long)System.Int32.MaxValue;
fx\src\data\System\Data\SQLTypes\SQLDecimal.cs (1)
547if (value != Int32.MinValue)
fx\src\data\System\Data\SQLTypes\SQLFileStream.cs (1)
1082System.Diagnostics.Debug.Assert(Marshal.OffsetOf(typeof(UnsafeNativeMethods.FILE_FULL_EA_INFORMATION), "EaName").ToInt64() <= (Int64) Int32.MaxValue);
fx\src\data\System\Data\SQLTypes\SQLInt32.cs (14)
50private const long x_iIntMin = Int32.MinValue; // minimum (signed) int value 51private const long x_lBitNotIntMax = ~(long)(Int32.MaxValue); 120return new SqlInt32(Int32.Parse(s, (IFormatProvider)null)); 281if (value > (long)Int32.MaxValue || value < (long)Int32.MinValue) 296if (value > (float)Int32.MaxValue || value < (float)Int32.MinValue) 311if (value > (double)Int32.MaxValue || value < (double)Int32.MinValue) 339if (x.m_bLen > 1 || ret > (long)Int32.MaxValue || ret < (long)Int32.MinValue) 351return x.IsNull ? SqlInt32.Null : new SqlInt32(Int32.Parse(x.Value, (IFormatProvider)null)); 632public static readonly SqlInt32 MinValue = new SqlInt32(Int32.MinValue); 636public static readonly SqlInt32 MaxValue = new SqlInt32(Int32.MaxValue);
fx\src\data\System\Data\SQLTypes\UnsafeNativeMethods.cs (1)
32Int32 desiredAccess,
fx\src\data\System\Data\UniqueConstraint.cs (1)
372public override Int32 GetHashCode() {
fx\src\data\System\Data\XDRSchema.cs (4)
231new NameType("i4" , typeof(Int32) ), /* XDR */ 236new NameType("int" , typeof(Int32) ), /* XDR */ 463minOccurs = Int32.Parse(occurs, CultureInfo.InvariantCulture); 482maxOccurs = Int32.Parse(occurs, CultureInfo.InvariantCulture);
fx\src\data\System\Data\XmlDataLoader.cs (2)
894rowOrder = (Int32)Convert.ChangeType(dataReader.Value, typeof(Int32), CultureInfo.InvariantCulture);
fx\src\data\System\Data\XMLDiffLoader.cs (2)
295pos = (Int32) Convert.ChangeType(value, typeof(Int32), null);
fx\src\data\System\Data\xmlsaver.cs (2)
140type != typeof(Int32) ) { 228if (type == typeof(Int32) || type == typeof(SqlInt32))
fx\src\data\System\Data\XMLSchema.cs (1)
1584new NameType("int" , typeof(Int32) ), /* XSD Apr */
fx\src\data\System\Data\XmlToDatasetMap.cs (1)
45public XmlNodeIdHashtable(Int32 capacity)
System.Data.DataSetExtensions (3)
System\Data\DataRowComparer.cs (3)
77return DataRowComparer.CompareEquatableArray<Int32>((Int32[])a, (Int32[])b);
System.Data.Entity (252)
System\Data\Common\DataRecord.cs (4)
137if (fieldOffset > Int32.MaxValue) 212if (fieldOffset > Int32.MaxValue) 348public override Int32 GetInt32(int ordinal) 350return ((Int32)_values[ordinal]);
System\Data\Common\DbCommandDefinition.cs (1)
264parameter.Size = Int32.MaxValue;
System\Data\Common\EntitySql\AST\Literal.cs (11)
358Int32 int32Value; 359if (Int32.TryParse(numericString, NumberStyles.Integer, CultureInfo.InvariantCulture, out int32Value)) 552int offsetHours = Int32.Parse(datetimeParts[datetimeParts.Length - 2], NumberStyles.Integer, CultureInfo.InvariantCulture); 553int offsetMinutes = Int32.Parse(datetimeParts[datetimeParts.Length - 1], NumberStyles.Integer, CultureInfo.InvariantCulture); 600hour = Int32.Parse(datetimeParts[timePartStartIndex], NumberStyles.Integer, CultureInfo.InvariantCulture); 605minute = Int32.Parse(datetimeParts[++timePartStartIndex], NumberStyles.Integer, CultureInfo.InvariantCulture); 615second = Int32.Parse(datetimeParts[timePartStartIndex], NumberStyles.Integer, CultureInfo.InvariantCulture); 625ticks = Int32.Parse(ticksString, NumberStyles.Integer, CultureInfo.InvariantCulture); 633year = Int32.Parse(datetimeParts[0], NumberStyles.Integer, CultureInfo.InvariantCulture); 638month = Int32.Parse(datetimeParts[1], NumberStyles.Integer, CultureInfo.InvariantCulture); 643day = Int32.Parse(datetimeParts[2], NumberStyles.Integer, CultureInfo.InvariantCulture);
System\Data\Common\Internal\Materialization\CoordinatorScratchpad.cs (1)
344for (var i = 0; i < arguments.Count; ++i)
System\Data\EntityClient\EntityAdapter.cs (3)
24private Int32? _commandTimeout; 82Int32? IEntityAdapter.CommandTimeout 99public Int32 Update(IEntityStateManager entityCache)
System\Data\EntityModel\SchemaObjectModel\ScalarType.cs (2)
166Int32 temp; 167if (!Int32.TryParse(text, System.Globalization.NumberStyles.Integer, System.Globalization.CultureInfo.InvariantCulture, out temp))
System\Data\IEntityAdapter.cs (2)
32Int32? CommandTimeout { get; set; } 37Int32 Update(IEntityStateManager cache);
System\Data\Mapping\Update\Internal\Propagator.ExtentPlaceholderCreator.cs (1)
66typeDefaultMap[PrimitiveTypeKind.Int32] = default(Int32);
System\Data\Mapping\Update\Internal\UpdateTranslator.cs (1)
373internal static Int32 Update(IEntityStateManager stateManager, IEntityAdapter adapter)
System\Data\Metadata\Edm\EnumMember.cs (1)
51Debug.Assert(value is SByte || value is Byte || value is Int16 || value is Int32 || value is Int64, "Unsupported type of enum member value.");
System\Data\Metadata\Edm\FacetValues.cs (2)
19private FacetValueContainer<Int32?> _maxLength; 30internal FacetValueContainer<Int32?> MaxLength
System\Data\Metadata\Edm\Provider\ClrProviderManifest.cs (1)
218primitiveTypes[(int)PrimitiveTypeKind.Int32] = CreatePrimitiveType(typeof(Int32), PrimitiveTypeKind.Int32);
System\Data\Metadata\Edm\Provider\EdmProviderManifest.cs (5)
166InitializePrimitiveType(primitiveTypes[(int)PrimitiveTypeKind.Int32], PrimitiveTypeKind.Int32, EdmConstants.Int32, typeof(Int32)); 358Int32.MaxValue, 381Int32.MaxValue, 450Int32.MaxValue, 473Int32.MaxValue,
System\Data\Metadata\Helper.cs (2)
520{ PrimitiveTypeKind.Int32, new long[] { Int32.MinValue, Int32.MaxValue } },
System\Data\Objects\DataClasses\StructuralObject.cs (8)
1092protected internal static Int32 SetValidValue(Int32 value, string propertyName) 1108protected internal static Int32 SetValidValue(Int32 value) 1125protected internal static Nullable<Int32> SetValidValue(Nullable<Int32> value, string propertyName) 1140protected internal static Nullable<Int32> SetValidValue(Nullable<Int32> value)
System\Data\Objects\ELinq\MethodCallTranslator.cs (1)
2969var innerPropertyIndex = innerRowType.Properties.IndexOf(rename.Item1);
System\Data\Objects\EntityFunctions.cs (88)
91public static System.Double? StandardDeviation(IEnumerable<System.Int32> collection) 93ObjectQuery<System.Int32> objectQuerySource = collection as ObjectQuery<System.Int32>; 105public static System.Double? StandardDeviation(IEnumerable<System.Int32?> collection) 107ObjectQuery<System.Int32?> objectQuerySource = collection as ObjectQuery<System.Int32?>; 203public static System.Double? StandardDeviationP(IEnumerable<System.Int32> collection) 205ObjectQuery<System.Int32> objectQuerySource = collection as ObjectQuery<System.Int32>; 217public static System.Double? StandardDeviationP(IEnumerable<System.Int32?> collection) 219ObjectQuery<System.Int32?> objectQuerySource = collection as ObjectQuery<System.Int32?>; 315public static System.Double? Var(IEnumerable<System.Int32> collection) 317ObjectQuery<System.Int32> objectQuerySource = collection as ObjectQuery<System.Int32>; 329public static System.Double? Var(IEnumerable<System.Int32?> collection) 331ObjectQuery<System.Int32?> objectQuerySource = collection as ObjectQuery<System.Int32?>; 427public static System.Double? VarP(IEnumerable<System.Int32> collection) 429ObjectQuery<System.Int32> objectQuerySource = collection as ObjectQuery<System.Int32>; 441public static System.Double? VarP(IEnumerable<System.Int32?> collection) 443ObjectQuery<System.Int32?> objectQuerySource = collection as ObjectQuery<System.Int32?>; 513public static System.Int32? GetTotalOffsetMinutes(System.DateTimeOffset? dateTimeOffsetArgument) 540public static System.DateTime? CreateDateTime(System.Int32? year, System.Int32? month, System.Int32? day, System.Int32? hour, System.Int32? minute, System.Double? second) 549public static System.DateTimeOffset? CreateDateTimeOffset(System.Int32? year, System.Int32? month, System.Int32? day, System.Int32? hour, System.Int32? minute, System.Double? second, System.Int32? timeZoneOffset) 558public static System.TimeSpan? CreateTime(System.Int32? hour, System.Int32? minute, System.Double? second) 567public static System.DateTimeOffset? AddYears(System.DateTimeOffset? dateValue, System.Int32? addValue) 576public static System.DateTime? AddYears(System.DateTime? dateValue, System.Int32? addValue) 585public static System.DateTimeOffset? AddMonths(System.DateTimeOffset? dateValue, System.Int32? addValue) 594public static System.DateTime? AddMonths(System.DateTime? dateValue, System.Int32? addValue) 603public static System.DateTimeOffset? AddDays(System.DateTimeOffset? dateValue, System.Int32? addValue) 612public static System.DateTime? AddDays(System.DateTime? dateValue, System.Int32? addValue) 621public static System.DateTimeOffset? AddHours(System.DateTimeOffset? timeValue, System.Int32? addValue) 630public static System.DateTime? AddHours(System.DateTime? timeValue, System.Int32? addValue) 639public static System.TimeSpan? AddHours(System.TimeSpan? timeValue, System.Int32? addValue) 648public static System.DateTimeOffset? AddMinutes(System.DateTimeOffset? timeValue, System.Int32? addValue) 657public static System.DateTime? AddMinutes(System.DateTime? timeValue, System.Int32? addValue) 666public static System.TimeSpan? AddMinutes(System.TimeSpan? timeValue, System.Int32? addValue) 675public static System.DateTimeOffset? AddSeconds(System.DateTimeOffset? timeValue, System.Int32? addValue) 684public static System.DateTime? AddSeconds(System.DateTime? timeValue, System.Int32? addValue) 693public static System.TimeSpan? AddSeconds(System.TimeSpan? timeValue, System.Int32? addValue) 702public static System.DateTimeOffset? AddMilliseconds(System.DateTimeOffset? timeValue, System.Int32? addValue) 711public static System.DateTime? AddMilliseconds(System.DateTime? timeValue, System.Int32? addValue) 720public static System.TimeSpan? AddMilliseconds(System.TimeSpan? timeValue, System.Int32? addValue) 729public static System.DateTimeOffset? AddMicroseconds(System.DateTimeOffset? timeValue, System.Int32? addValue) 738public static System.DateTime? AddMicroseconds(System.DateTime? timeValue, System.Int32? addValue) 747public static System.TimeSpan? AddMicroseconds(System.TimeSpan? timeValue, System.Int32? addValue) 756public static System.DateTimeOffset? AddNanoseconds(System.DateTimeOffset? timeValue, System.Int32? addValue) 765public static System.DateTime? AddNanoseconds(System.DateTime? timeValue, System.Int32? addValue) 774public static System.TimeSpan? AddNanoseconds(System.TimeSpan? timeValue, System.Int32? addValue) 783public static System.Int32? DiffYears(System.DateTimeOffset? dateValue1, System.DateTimeOffset? dateValue2) 792public static System.Int32? DiffYears(System.DateTime? dateValue1, System.DateTime? dateValue2) 801public static System.Int32? DiffMonths(System.DateTimeOffset? dateValue1, System.DateTimeOffset? dateValue2) 810public static System.Int32? DiffMonths(System.DateTime? dateValue1, System.DateTime? dateValue2) 819public static System.Int32? DiffDays(System.DateTimeOffset? dateValue1, System.DateTimeOffset? dateValue2) 828public static System.Int32? DiffDays(System.DateTime? dateValue1, System.DateTime? dateValue2) 837public static System.Int32? DiffHours(System.DateTimeOffset? timeValue1, System.DateTimeOffset? timeValue2) 846public static System.Int32? DiffHours(System.DateTime? timeValue1, System.DateTime? timeValue2) 855public static System.Int32? DiffHours(System.TimeSpan? timeValue1, System.TimeSpan? timeValue2) 864public static System.Int32? DiffMinutes(System.DateTimeOffset? timeValue1, System.DateTimeOffset? timeValue2) 873public static System.Int32? DiffMinutes(System.DateTime? timeValue1, System.DateTime? timeValue2) 882public static System.Int32? DiffMinutes(System.TimeSpan? timeValue1, System.TimeSpan? timeValue2) 891public static System.Int32? DiffSeconds(System.DateTimeOffset? timeValue1, System.DateTimeOffset? timeValue2) 900public static System.Int32? DiffSeconds(System.DateTime? timeValue1, System.DateTime? timeValue2) 909public static System.Int32? DiffSeconds(System.TimeSpan? timeValue1, System.TimeSpan? timeValue2) 918public static System.Int32? DiffMilliseconds(System.DateTimeOffset? timeValue1, System.DateTimeOffset? timeValue2) 927public static System.Int32? DiffMilliseconds(System.DateTime? timeValue1, System.DateTime? timeValue2) 936public static System.Int32? DiffMilliseconds(System.TimeSpan? timeValue1, System.TimeSpan? timeValue2) 945public static System.Int32? DiffMicroseconds(System.DateTimeOffset? timeValue1, System.DateTimeOffset? timeValue2) 954public static System.Int32? DiffMicroseconds(System.DateTime? timeValue1, System.DateTime? timeValue2) 963public static System.Int32? DiffMicroseconds(System.TimeSpan? timeValue1, System.TimeSpan? timeValue2) 972public static System.Int32? DiffNanoseconds(System.DateTimeOffset? timeValue1, System.DateTimeOffset? timeValue2) 981public static System.Int32? DiffNanoseconds(System.DateTime? timeValue1, System.DateTime? timeValue2) 990public static System.Int32? DiffNanoseconds(System.TimeSpan? timeValue1, System.TimeSpan? timeValue2) 999public static System.Double? Truncate(System.Double? value, System.Int32? digits) 1008public static System.Decimal? Truncate(System.Decimal? value, System.Int32? digits)
System\Data\Objects\ObjectContext.cs (4)
2293public Int32 SaveChanges() 2314public Int32 SaveChanges(bool acceptChangesDuringSave) 2328public virtual Int32 SaveChanges(SaveOptions options) 2345Int32 entriesAffected = ObjectStateManager.GetObjectStateEntriesCount(EntityState.Added | EntityState.Deleted | EntityState.Modified);
System\Data\Objects\ObjectStateEntryBaseUpdatableDataRecord.cs (3)
290override public Int32 GetInt32(int ordinal) 292return (Int32)GetValue(ordinal); 475public void SetInt32(int ordinal, Int32 value)
System\Data\Objects\ObjectStateEntryDbDataRecord.cs (2)
202override public Int32 GetInt32(int ordinal) 204return (Int32)GetValue(ordinal);
System\Data\Objects\SqlClient\SqlFunctions.cs (98)
35public static System.Int32? ChecksumAggregate(IEnumerable<System.Int32> arg) 37ObjectQuery<System.Int32> objectQuerySource = arg as ObjectQuery<System.Int32>; 40return ((IQueryable)objectQuerySource).Provider.Execute<System.Int32?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(arg))); 49public static System.Int32? ChecksumAggregate(IEnumerable<System.Int32?> arg) 51ObjectQuery<System.Int32?> objectQuerySource = arg as ObjectQuery<System.Int32?>; 54return ((IQueryable)objectQuerySource).Provider.Execute<System.Int32?>(Expression.Call((MethodInfo)MethodInfo.GetCurrentMethod(),Expression.Constant(arg))); 63public static System.Int32? Ascii(System.String arg) 72public static System.String Char(System.Int32? arg) 81public static System.Int32? CharIndex(System.String toSearch, System.String target) 90public static System.Int32? CharIndex(System.Byte[] toSearch, System.Byte[] target) 99public static System.Int32? CharIndex(System.String toSearch, System.String target, System.Int32? startLocation) 108public static System.Int32? CharIndex(System.Byte[] toSearch, System.Byte[] target, System.Int32? startLocation) 136public static System.Int32? Difference(System.String string1, System.String string2) 145public static System.String NChar(System.Int32? arg) 155public static System.Int32? PatIndex(System.String stringPattern, System.String target) 184public static System.String Replicate(System.String target, System.Int32? count) 202public static System.String Space(System.Int32? arg1) 229public static System.String StringConvert(System.Double? number, System.Int32? length) 238public static System.String StringConvert(System.Decimal? number, System.Int32? length) 247public static System.String StringConvert(System.Double? number, System.Int32? length, System.Int32? decimalArg) 256public static System.String StringConvert(System.Decimal? number, System.Int32? length, System.Int32? decimalArg) 266public static System.String Stuff(System.String stringInput, System.Int32? start, System.Int32? length, System.String stringReplacement) 275public static System.Int32? Unicode(System.String arg) 392public static System.Int32? Degrees(System.Int32? arg1) 491public static System.Int32? Radians(System.Int32? arg) 536public static System.Double? Rand(System.Int32? seed) 545public static System.Int32? Sign(System.Int32? arg) 689public static System.Int32? DateDiff(System.String datePartArg, System.DateTime? startDate, System.DateTime? endDate) 698public static System.Int32? DateDiff(System.String datePartArg, System.DateTimeOffset? startDate, System.DateTimeOffset? endDate) 707public static System.Int32? DateDiff(System.String datePartArg, System.TimeSpan? startDate, System.TimeSpan? endDate) 716public static System.Int32? DateDiff(System.String datePartArg, System.String startDate, System.DateTime? endDate) 725public static System.Int32? DateDiff(System.String datePartArg, System.String startDate, System.DateTimeOffset? endDate) 734public static System.Int32? DateDiff(System.String datePartArg, System.String startDate, System.TimeSpan? endDate) 743public static System.Int32? DateDiff(System.String datePartArg, System.TimeSpan? startDate, System.String endDate) 752public static System.Int32? DateDiff(System.String datePartArg, System.DateTime? startDate, System.String endDate) 761public static System.Int32? DateDiff(System.String datePartArg, System.DateTimeOffset? startDate, System.String endDate) 770public static System.Int32? DateDiff(System.String datePartArg, System.String startDate, System.String endDate) 779public static System.Int32? DateDiff(System.String datePartArg, System.TimeSpan? startDate, System.DateTime? endDate) 788public static System.Int32? DateDiff(System.String datePartArg, System.TimeSpan? startDate, System.DateTimeOffset? endDate) 797public static System.Int32? DateDiff(System.String datePartArg, System.DateTime? startDate, System.TimeSpan? endDate) 806public static System.Int32? DateDiff(System.String datePartArg, System.DateTimeOffset? startDate, System.TimeSpan? endDate) 815public static System.Int32? DateDiff(System.String datePartArg, System.DateTime? startDate, System.DateTimeOffset? endDate) 824public static System.Int32? DateDiff(System.String datePartArg, System.DateTimeOffset? startDate, System.DateTime? endDate) 869public static System.Int32? DatePart(System.String datePartArg, System.DateTime? date) 878public static System.Int32? DatePart(System.String datePartArg, System.DateTimeOffset? date) 887public static System.Int32? DatePart(System.String datePartArg, System.String date) 896public static System.Int32? DatePart(System.String datePartArg, System.TimeSpan? date) 923public static System.Int32? DataLength(System.Boolean? arg) 932public static System.Int32? DataLength(System.Double? arg) 941public static System.Int32? DataLength(System.Decimal? arg) 950public static System.Int32? DataLength(System.DateTime? arg) 959public static System.Int32? DataLength(System.TimeSpan? arg) 968public static System.Int32? DataLength(System.DateTimeOffset? arg) 977public static System.Int32? DataLength(System.String arg) 986public static System.Int32? DataLength(System.Byte[] arg) 995public static System.Int32? DataLength(System.Guid? arg) 1004public static System.Int32? Checksum(System.Boolean? arg1) 1013public static System.Int32? Checksum(System.Double? arg1) 1022public static System.Int32? Checksum(System.Decimal? arg1) 1031public static System.Int32? Checksum(System.String arg1) 1040public static System.Int32? Checksum(System.DateTime? arg1) 1049public static System.Int32? Checksum(System.TimeSpan? arg1) 1058public static System.Int32? Checksum(System.DateTimeOffset? arg1) 1067public static System.Int32? Checksum(System.Byte[] arg1) 1076public static System.Int32? Checksum(System.Guid? arg1) 1085public static System.Int32? Checksum(System.Boolean? arg1, System.Boolean? arg2) 1094public static System.Int32? Checksum(System.Double? arg1, System.Double? arg2) 1103public static System.Int32? Checksum(System.Decimal? arg1, System.Decimal? arg2) 1112public static System.Int32? Checksum(System.String arg1, System.String arg2) 1121public static System.Int32? Checksum(System.DateTime? arg1, System.DateTime? arg2) 1130public static System.Int32? Checksum(System.TimeSpan? arg1, System.TimeSpan? arg2) 1139public static System.Int32? Checksum(System.DateTimeOffset? arg1, System.DateTimeOffset? arg2) 1148public static System.Int32? Checksum(System.Byte[] arg1, System.Byte[] arg2) 1157public static System.Int32? Checksum(System.Guid? arg1, System.Guid? arg2) 1166public static System.Int32? Checksum(System.Boolean? arg1, System.Boolean? arg2, System.Boolean? arg3) 1175public static System.Int32? Checksum(System.Double? arg1, System.Double? arg2, System.Double? arg3) 1184public static System.Int32? Checksum(System.Decimal? arg1, System.Decimal? arg2, System.Decimal? arg3) 1193public static System.Int32? Checksum(System.String arg1, System.String arg2, System.String arg3) 1202public static System.Int32? Checksum(System.DateTime? arg1, System.DateTime? arg2, System.DateTime? arg3) 1211public static System.Int32? Checksum(System.DateTimeOffset? arg1, System.DateTimeOffset? arg2, System.DateTimeOffset? arg3) 1220public static System.Int32? Checksum(System.TimeSpan? arg1, System.TimeSpan? arg2, System.TimeSpan? arg3) 1229public static System.Int32? Checksum(System.Byte[] arg1, System.Byte[] arg2, System.Byte[] arg3) 1238public static System.Int32? Checksum(System.Guid? arg1, System.Guid? arg2, System.Guid? arg3) 1274public static System.String UserName(System.Int32? arg) 1292public static System.Int32? IsNumeric(System.String arg) 1301public static System.Int32? IsDate(System.String arg)
System\Data\Objects\SqlClient\SqlSpatialFunctions.cs (4)
35public static System.Data.Spatial.DbGeography PointGeography(System.Double? latitude, System.Double? longitude, System.Int32? spatialReferenceId) 99public static System.Int32? NumRings(System.Data.Spatial.DbGeography geographyValue) 117public static System.Data.Spatial.DbGeography RingN(System.Data.Spatial.DbGeography geographyValue, System.Int32? index) 128public static System.Data.Spatial.DbGeometry PointGeometry(System.Double? xCoordinate, System.Double? yCoordinate, System.Int32? spatialReferenceId)
System\Data\Query\ResultAssembly\BridgeDataReader.cs (1)
726override public Int32 GetInt32(int ordinal) {
System\Data\Query\ResultAssembly\BridgeDataRecord.cs (2)
589override public Int32 GetInt32(int ordinal) { 590return (Int32)GetValue(ordinal);
System\Data\SqlClient\SqlGen\SqlGenerator.cs (1)
2100return ((DbParameterReferenceExpression)obj).ParameterName.GetHashCode() ^ Int32.MaxValue;
System\Data\SqlClient\SqlProviderManifest.cs (2)
594int maxLength = !isMaxLength ? (int)f.Value : Int32.MinValue; 633int maxLength = !isMaxLength ? (int)f.Value : Int32.MinValue;
System\Data\SqlClient\SqlVersion.cs (1)
54int majorVersion = Int32.Parse(connection.ServerVersion.Substring(0, 2), CultureInfo.InvariantCulture);
System.Data.Linq (7)
SqlClient\Query\SqlMethodCallConverter.cs (2)
1238targetType = typeof(Int32); 2412targetType = typeof(Int32);
SqlClient\Reader\ObjectReaderCompiler.cs (1)
2353this.GenerateConstInt((Int32)value);
SqlClient\SqlTypeSystemProvider.cs (4)
325int p0 = IsTypeKnownByProvider ? GetTypeCoercionPrecedence(this.SqlDbType) : Int32.MinValue; 326int p1 = sqlProviderType.IsTypeKnownByProvider ? GetTypeCoercionPrecedence(sqlProviderType.SqlDbType) : Int32.MinValue; 890p1 = Int32.Parse(param1, Globalization.CultureInfo.InvariantCulture); 901p2 = Int32.Parse(param2, Globalization.CultureInfo.InvariantCulture);
System.Data.Services (36)
parent\Client\System\Data\Services\Client\BatchStream.cs (5)
234if (Int32.MaxValue == offset) 422this.batchLength = Int32.MaxValue; 634length = Int32.Parse(text, CultureInfo.InvariantCulture); 660this.batchLength = Int32.MaxValue; 1451: base(stream, Int32.MaxValue)
System\Data\Services\DataService.cs (1)
2629if (!Int32.TryParse(contentIdValue, System.Globalization.NumberStyles.Integer, System.Globalization.NumberFormatInfo.InvariantInfo, out contentId))
System\Data\Services\DataServiceConfiguration.cs (8)
143this.maxBatchCount = Int32.MaxValue; 144this.maxChangeSetCount = Int32.MaxValue; 145this.maxExpandCount = Int32.MaxValue; 146this.maxExpandDepth = Int32.MaxValue; 147this.maxResultsPerCollection = Int32.MaxValue; 148this.maxObjectCountOnInsert = Int32.MaxValue; 382if (size == Int32.MaxValue) 387if (this.MaxResultsPerCollection != Int32.MaxValue)
System\Data\Services\ExpandSegment.cs (1)
71: this(name, filter, Int32.MaxValue, null, null, null)
System\Data\Services\HttpProcessUtility.cs (1)
93int selectedPreferenceIndex = Int32.MaxValue;
System\Data\Services\Parsing\RequestQueryParser.cs (1)
1787return this.ParseTypedLiteral(typeof(Int32), XmlConstants.EdmInt32TypeName, l);
System\Data\Services\Parsing\WebConvert.cs (4)
417else if (typeof(Int32) == targetType) 550else if (typeof(Int32) == targetType) 655else if (typeof(Int32) == valueType) 657result = XmlConvert.ToString((Int32)value);
System\Data\Services\Providers\ReflectionServiceProvider.cs (1)
616ResourceKeyKind keyKind = (ResourceKeyKind)Int32.MaxValue;
System\Data\Services\RequestQueryProcessor.cs (2)
538segment.MaxResultsExpected != Int32.MaxValue ? (int?)segment.MaxResultsExpected : null); 1367if (!Int32.TryParse(itemText, NumberStyles.Integer, CultureInfo.InvariantCulture, out count))
System\Data\Services\Serializers\JsonDeserializer.cs (2)
111else if (value is Int32) 139else if (propertyType != typeof(Int32) && !provider.IsV1Provider)
System\Data\Services\Serializers\JsonReader.cs (2)
349if (Int32.TryParse(s, NumberStyles.Integer, NumberFormatInfo.InvariantInfo, out intValue)) 457ch = (char)Int32.Parse(unicodeSequence, NumberStyles.HexNumber, CultureInfo.InvariantCulture);
System\Data\Services\Serializers\JsonSerializer.cs (2)
357else if (typeof(Int32) == value.GetType()) 359this.writer.WriteValue((Int32)value);
System\Data\Services\Serializers\Serializer.cs (4)
485Debug.Assert(max == Int32.MaxValue, "Either page size or max result count can be set, but not both"); 490if (max != Int32.MaxValue) 1061if (this.service.Configuration.MaxResultsPerCollection != Int32.MaxValue || 1103return Int32.Parse(topQueryItem, System.Globalization.CultureInfo.InvariantCulture);
System\Data\Services\WebUtil.cs (2)
84new KeyValuePair<Type, string>(typeof(Int32), XmlConstants.EdmInt32TypeName), 85new KeyValuePair<Type, string>(typeof(Int32?), XmlConstants.EdmInt32TypeName),
System.Data.Services.Client (15)
parent\Server\System\Data\Services\Parsing\WebConvert.cs (2)
655else if (typeof(Int32) == valueType) 657result = XmlConvert.ToString((Int32)value);
System\Data\Services\Client\ArraySet.cs (1)
72Array.Resize<T>(ref this.items, Math.Min(Math.Max(index, 16), Int32.MaxValue / 2) * 2);
System\Data\Services\Client\BatchStream.cs (6)
234if (Int32.MaxValue == offset) 365return (HttpStatusCode)(null != this.statusCode ? Int32.Parse(this.statusCode, CultureInfo.InvariantCulture) : 500); 422this.batchLength = Int32.MaxValue; 634length = Int32.Parse(text, CultureInfo.InvariantCulture); 660this.batchLength = Int32.MaxValue; 1451: base(stream, Int32.MaxValue)
System\Data\Services\Client\ClientConvert.cs (3)
329return XmlConvert.ToString((Int32)propertyValue); 474types[(int)StorageType.Int32] = typeof(Int32); 507named.Add(XmlConstants.EdmInt32TypeName, typeof(Int32));
System\Data\Services\Client\DataServiceContext.cs (2)
1962request.Timeout = (int)Math.Min(Int32.MaxValue, new TimeSpan(0, 0, this.timeout).TotalMilliseconds); 5682!Int32.TryParse(contentValueID, NumberStyles.Integer, NumberFormatInfo.InvariantInfo, out contentID))
System\Data\Services\Client\QueryResult.cs (1)
400if ((0 < length) && (length <= Int32.MaxValue))
System.Data.SqlXml (8)
System\Xml\Xsl\QIL\QilPatternVisitor.cs (1)
24private int threshold = Int32.MaxValue;
System\Xml\Xsl\QIL\QilXmlReader.cs (5)
118nd = f.LiteralInt32(Int32.Parse(ReadText(), CultureInfo.InvariantCulture)); 410Int32.Parse(m.Groups[1].Value, CultureInfo.InvariantCulture), 411Int32.Parse(m.Groups[2].Value, CultureInfo.InvariantCulture), 412Int32.Parse(m.Groups[3].Value, CultureInfo.InvariantCulture), 413Int32.Parse(m.Groups[4].Value, CultureInfo.InvariantCulture)
System\Xml\Xsl\Xslt\XslAstAnalyzer.cs (1)
1204var costForChild = CheckNodeCost(child); // recurse
System\Xml\Xsl\XsltOld\Processor.cs (1)
215parameter is Int32 || parameter is UInt32 ||
System.Drawing (18)
commonui\System\Drawing\Advanced\EncoderParameter.cs (8)
163parameterValue = Marshal.AllocHGlobal(Marshal.SizeOf(typeof(Int32))); 183int size = Marshal.SizeOf(typeof(Int32)); 205int size = Marshal.SizeOf(typeof(Int32)); 229int size = Marshal.SizeOf(typeof(Int32)); 333int size = Marshal.SizeOf(typeof(Int32)); 363int size = Marshal.SizeOf(typeof(Int32)); 392int size = Marshal.SizeOf(typeof(Int32)); 425int size = Marshal.SizeOf(typeof(Int32));
commonui\System\Drawing\Printing\PrinterSettings.cs (4)
1531public Int32 Add(PaperSize paperSize) 1659public Int32 Add(PaperSource paperSource) 1788public Int32 Add(PrinterResolution printerResolution) 1920public Int32 Add(String value)
misc\ClientUtils.cs (1)
279private int refCheckThreshold = Int32.MaxValue; // this means this is disabled by default.
misc\DpiHelper.cs (1)
601var scaledValue = (int)Math.Round(value * pixelFactor);
misc\GDI\WindowsRegion.cs (4)
191return new Rectangle( -Int32.MaxValue, -Int32.MaxValue, Int32.MaxValue, Int32.MaxValue );
System.IdentityModel (10)
System\IdentityModel\CryptoHelper.cs (2)
1156var result = 0; 1157var length = a.Length;
System\IdentityModel\IdentityModelWrappedXmlDictionaryReader.cs (1)
390public override Int32 ReadContentAsInt()
System\IdentityModel\Metadata\MetadataSerializer.cs (1)
912if (!Int32.TryParse(indexStr, out index))
System\IdentityModel\RsaSignatureCookieTransform.cs (4)
160if (encoded.Length < sizeof(Int32)) 164Int32 signatureLength = BitConverter.ToInt32(encoded, currentIndex); 171if (signatureLength >= encoded.Length - sizeof(Int32)) 175currentIndex += sizeof(Int32);
System\IdentityModel\Tokens\SamlAssertion.cs (2)
503int majorVersion = Int32.Parse(attributeValue, CultureInfo.InvariantCulture); 509int minorVersion = Int32.Parse(attributeValue, CultureInfo.InvariantCulture);
System.IdentityModel.Selectors (10)
infocard\client\System\IdentityModel\Selectors\CardSpaceSelector.cs (3)
149Int32 result = 0; 288Int32 result = CardSpaceSelector.GetShim().m_csShimManageCardSpace(); 317Int32 result = CardSpaceSelector.GetShim().m_csShimImportInformationCard(fileName);
infocard\client\System\IdentityModel\Selectors\CardSpaceShim.cs (4)
320internal delegate System.Int32 CsV2ManageCardSpace(); 323internal delegate System.Int32 CsV2GetToken( 330internal delegate System.Int32 CsV2ImportInformationCard( 440internal delegate System.Int32 CsV2FreeToken([In] IntPtr token);
infocard\client\System\IdentityModel\Selectors\SafeTokenHandle.cs (1)
31public static extern System.Int32 FreeToken([In] IntPtr token);
infocard\common\managed\GlobalAllocSafeHandle.cs (1)
28public static extern void ZeroMemory(IntPtr dest, Int32 size);
infocard\common\managed\HGlobalSafeHandle.cs (1)
47public static extern void ZeroMemory(IntPtr dest, Int32 size);
System.IO.Log (2)
System\IO\Log\FileRecordSequence.cs (1)
60return Int32.MaxValue;
System\IO\Log\LogLogRecordHeader.cs (1)
140if (padSize > Int32.MaxValue)
System.Management (336)
Instrumentation\EventSource.cs (27)
417[In] Int32 lFlags, 444[In] Int32 lFlags) 485[In] Int32 lSidLength, 493[In] Int32 lFlags, 506int IWbemServices_Old.QueryObjectSink_([In] Int32 lFlags, 514[In] Int32 lFlags, 523[In] Int32 lFlags, 551int id = ((IConvertible)instanceId).ToInt32((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32))); 557theObject = InstrumentedAssembly.mapIDToPublishedObject[id.ToString((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32)))]; 630[In] Int32 lFlags, 638[In] Int32 lFlags, 646[In] Int32 lFlags, 654[In] Int32 lFlags, 662[In] Int32 lFlags, 671[In] Int32 lFlags, 679[In] Int32 lFlags, 687[In] Int32 lFlags, 695[In] Int32 lFlags, 703[In] Int32 lFlags, 711[In] Int32 lFlags, 720[In] Int32 lFlags, 921[In] Int32 lFlags, 931[In] Int32 lFlags, 940[In] Int32 lFlags, 950[In] Int32 lFlags, 959[In] Int32 lFlags, 970[In] Int32 lFlags,
Instrumentation\Instrumentation.cs (2)
392mapIDToPublishedObject.Add(upcountId.ToString((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32))), o); 413mapIDToPublishedObject.Remove(id.ToString((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32))));
Instrumentation\SchemaMapping.cs (2)
409 else if(t2 == typeof(UInt32) || t2 == typeof(Int32) || t2 == typeof(Single)) 524 else if(t2 == typeof(Int32))
InteropClasses\WMIInterop.cs (176)
150public int Get_(string wszName, Int32 lFlags, ref object pVal, ref Int32 pType, ref Int32 plFlavor) 164pType = (Int32)tag_CIMTYPE_ENUMERATION.CIM_STRING; 165plFlavor = (Int32)tag_WBEM_FLAVOR_TYPE.WBEM_FLAVOR_ORIGIN_SYSTEM; 172public int Put_(string wszName, Int32 lFlags, ref object pVal, Int32 Type) 188public int GetNames_(string wszQualifierName, Int32 lFlags, ref object pQualifierVal, out string[] pNames) 197public int BeginEnumeration_(Int32 lEnumFlags) 205public int Next_(Int32 lFlags, ref string strName, ref object pVal, ref Int32 pType, ref Int32 plFlavor) 251public int GetObjectText_(Int32 lFlags, out string pstrObjectText) 259public int SpawnDerivedClass_(Int32 lFlags, out IWbemClassObjectFreeThreaded ppNewClass) 273public int SpawnInstance_(Int32 lFlags, out IWbemClassObjectFreeThreaded ppNewInstance) 287public int CompareTo_(Int32 lFlags, IWbemClassObjectFreeThreaded pCompareTo) 311public int GetMethod_(string wszName, Int32 lFlags, out IWbemClassObjectFreeThreaded ppInSignature, out IWbemClassObjectFreeThreaded ppOutSignature) 332public int PutMethod_(string wszName, Int32 lFlags, IWbemClassObjectFreeThreaded pInSignature, IWbemClassObjectFreeThreaded pOutSignature) 348public int BeginMethodEnumeration_(Int32 lEnumFlags) 356public int NextMethod_(Int32 lFlags, out string pstrName, out IWbemClassObjectFreeThreaded ppInSignature, out IWbemClassObjectFreeThreaded ppOutSignature) 508public int Get_(string wszName, Int32 lFlags, ref object pVal, ref Int32 plFlavor) 517public int Put_(string wszName, ref object pVal, Int32 lFlavor) 533public int GetNames_(Int32 lFlags, out string[] pNames) 541public int BeginEnumeration_(Int32 lFlags) 549public int Next_(Int32 lFlags, out string pstrName, out object pVal, out Int32 plFlavor) 614[PreserveSig] int Get_([In][MarshalAs(UnmanagedType.LPWStr)] string wszName, [In] Int32 lFlags, [In][Out] ref object pVal, [In][Out] ref Int32 pType, [In][Out] ref Int32 plFlavor); 615[PreserveSig] int Put_([In][MarshalAs(UnmanagedType.LPWStr)] string wszName, [In] Int32 lFlags, [In] ref object pVal, [In] Int32 Type); 617[PreserveSig] int GetNames_([In][MarshalAs(UnmanagedType.LPWStr)] string wszQualifierName, [In] Int32 lFlags, [In] ref object pQualifierVal, [Out][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType=VarEnum.VT_BSTR)] out string[] pNames); 618[PreserveSig] int BeginEnumeration_([In] Int32 lEnumFlags); 619[PreserveSig] int Next_([In] Int32 lFlags, [In][Out][MarshalAs(UnmanagedType.BStr)] ref string strName, [In][Out] ref object pVal, [In][Out] ref Int32 pType, [In][Out] ref Int32 plFlavor); 623[PreserveSig] int GetObjectText_([In] Int32 lFlags, [Out][MarshalAs(UnmanagedType.BStr)] out string pstrObjectText); 624[PreserveSig] int SpawnDerivedClass_([In] Int32 lFlags, [Out][MarshalAs(UnmanagedType.Interface)] out IWbemClassObject_DoNotMarshal ppNewClass); 625[PreserveSig] int SpawnInstance_([In] Int32 lFlags, [Out][MarshalAs(UnmanagedType.Interface)] out IWbemClassObject_DoNotMarshal ppNewInstance); 626[PreserveSig] int CompareTo_([In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemClassObject_DoNotMarshal pCompareTo); 629[PreserveSig] int GetMethod_([In][MarshalAs(UnmanagedType.LPWStr)] string wszName, [In] Int32 lFlags, [Out][MarshalAs(UnmanagedType.Interface)] out IWbemClassObject_DoNotMarshal ppInSignature, [Out][MarshalAs(UnmanagedType.Interface)] out IWbemClassObject_DoNotMarshal ppOutSignature); 630[PreserveSig] int PutMethod_([In][MarshalAs(UnmanagedType.LPWStr)] string wszName, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemClassObject_DoNotMarshal pInSignature, [In][MarshalAs(UnmanagedType.Interface)] IWbemClassObject_DoNotMarshal pOutSignature); 632[PreserveSig] int BeginMethodEnumeration_([In] Int32 lEnumFlags); 633[PreserveSig] int NextMethod_([In] Int32 lFlags, [In][Out][MarshalAs(UnmanagedType.BStr)] ref string pstrName, [In][Out][MarshalAs(UnmanagedType.Interface)] ref IWbemClassObject_DoNotMarshal ppInSignature, [In][Out][MarshalAs(UnmanagedType.Interface)] ref IWbemClassObject_DoNotMarshal ppOutSignature); 645[PreserveSig] int Get_([In][MarshalAs(UnmanagedType.LPWStr)] string wszName, [In] Int32 lFlags, [In][Out] ref object pVal, [In][Out] ref Int32 plFlavor); 646[PreserveSig] int Put_([In][MarshalAs(UnmanagedType.LPWStr)] string wszName, [In] ref object pVal, [In] Int32 lFlavor); 648[PreserveSig] int GetNames_([In] Int32 lFlags, [Out][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType=VarEnum.VT_BSTR)] out string[] pNames); 649[PreserveSig] int BeginEnumeration_([In] Int32 lFlags); 650[PreserveSig] int Next_([In] Int32 lFlags, [In][Out][MarshalAs(UnmanagedType.BStr)] ref string pstrName, [In][Out] ref object pVal, [In][Out] ref Int32 plFlavor); 660[PreserveSig] int ConnectServer_([In][MarshalAs(UnmanagedType.BStr)] string strNetworkResource, [In][MarshalAs(UnmanagedType.BStr)] string strUser, [In]IntPtr strPassword, [In][MarshalAs(UnmanagedType.BStr)] string strLocale, [In] Int32 lSecurityFlags, [In][MarshalAs(UnmanagedType.BStr)] string strAuthority, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [Out][MarshalAs(UnmanagedType.Interface)] out IWbemServices ppNamespace); 670[PreserveSig] int GetNames_([In] Int32 lFlags, [Out][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType=VarEnum.VT_BSTR)] out string[] pNames); 671[PreserveSig] int BeginEnumeration_([In] Int32 lFlags); 672[PreserveSig] int Next_([In] Int32 lFlags, [Out][MarshalAs(UnmanagedType.BStr)] out string pstrName, [Out] out object pValue); 674[PreserveSig] int SetValue_([In][MarshalAs(UnmanagedType.LPWStr)] string wszName, [In] Int32 lFlags, [In] ref object pValue); 675[PreserveSig] int GetValue_([In][MarshalAs(UnmanagedType.LPWStr)] string wszName, [In] Int32 lFlags, [Out] out object pValue); 676[PreserveSig] int DeleteValue_([In][MarshalAs(UnmanagedType.LPWStr)] string wszName, [In] Int32 lFlags); 686[PreserveSig] int OpenNamespace_([In][MarshalAs(UnmanagedType.BStr)] string strNamespace, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [In][Out][MarshalAs(UnmanagedType.Interface)] ref IWbemServices ppWorkingNamespace, [In] IntPtr ppCallResult); 688[PreserveSig] int QueryObjectSink_([In] Int32 lFlags, [Out][MarshalAs(UnmanagedType.Interface)] out IWbemObjectSink ppResponseHandler); 689[PreserveSig] int GetObject_([In][MarshalAs(UnmanagedType.BStr)] string strObjectPath, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [Out][MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(MarshalWbemObject))] out IWbemClassObjectFreeThreaded ppObject, [In] IntPtr ppCallResult); 690[PreserveSig] int GetObjectAsync_([In][MarshalAs(UnmanagedType.BStr)] string strObjectPath, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [In][MarshalAs(UnmanagedType.Interface)] IWbemObjectSink pResponseHandler); 691[PreserveSig] int PutClass_([In] IntPtr pObject, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [In] IntPtr ppCallResult); 692[PreserveSig] int PutClassAsync_([In] IntPtr pObject, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [In][MarshalAs(UnmanagedType.Interface)] IWbemObjectSink pResponseHandler); 693[PreserveSig] int DeleteClass_([In][MarshalAs(UnmanagedType.BStr)] string strClass, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [In] IntPtr ppCallResult); 694[PreserveSig] int DeleteClassAsync_([In][MarshalAs(UnmanagedType.BStr)] string strClass, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [In][MarshalAs(UnmanagedType.Interface)] IWbemObjectSink pResponseHandler); 695[PreserveSig] int CreateClassEnum_([In][MarshalAs(UnmanagedType.BStr)] string strSuperclass, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [Out][MarshalAs(UnmanagedType.Interface)] out IEnumWbemClassObject ppEnum); 696[PreserveSig] int CreateClassEnumAsync_([In][MarshalAs(UnmanagedType.BStr)] string strSuperclass, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [In][MarshalAs(UnmanagedType.Interface)] IWbemObjectSink pResponseHandler); 697[PreserveSig] int PutInstance_([In] IntPtr pInst, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [In] IntPtr ppCallResult); 698[PreserveSig] int PutInstanceAsync_([In] IntPtr pInst, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [In][MarshalAs(UnmanagedType.Interface)] IWbemObjectSink pResponseHandler); 699[PreserveSig] int DeleteInstance_([In][MarshalAs(UnmanagedType.BStr)] string strObjectPath, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [In] IntPtr ppCallResult); 700[PreserveSig] int DeleteInstanceAsync_([In][MarshalAs(UnmanagedType.BStr)] string strObjectPath, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [In][MarshalAs(UnmanagedType.Interface)] IWbemObjectSink pResponseHandler); 701[PreserveSig] int CreateInstanceEnum_([In][MarshalAs(UnmanagedType.BStr)] string strFilter, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [Out][MarshalAs(UnmanagedType.Interface)] out IEnumWbemClassObject ppEnum); 702[PreserveSig] int CreateInstanceEnumAsync_([In][MarshalAs(UnmanagedType.BStr)] string strFilter, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [In][MarshalAs(UnmanagedType.Interface)] IWbemObjectSink pResponseHandler); 703[PreserveSig] int ExecQuery_([In][MarshalAs(UnmanagedType.BStr)] string strQueryLanguage, [In][MarshalAs(UnmanagedType.BStr)] string strQuery, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [Out][MarshalAs(UnmanagedType.Interface)] out IEnumWbemClassObject ppEnum); 704[PreserveSig] int ExecQueryAsync_([In][MarshalAs(UnmanagedType.BStr)] string strQueryLanguage, [In][MarshalAs(UnmanagedType.BStr)] string strQuery, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [In][MarshalAs(UnmanagedType.Interface)] IWbemObjectSink pResponseHandler); 705[PreserveSig] int ExecNotificationQuery_([In][MarshalAs(UnmanagedType.BStr)] string strQueryLanguage, [In][MarshalAs(UnmanagedType.BStr)] string strQuery, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [Out][MarshalAs(UnmanagedType.Interface)] out IEnumWbemClassObject ppEnum); 706[PreserveSig] int ExecNotificationQueryAsync_([In][MarshalAs(UnmanagedType.BStr)] string strQueryLanguage, [In][MarshalAs(UnmanagedType.BStr)] string strQuery, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [In][MarshalAs(UnmanagedType.Interface)] IWbemObjectSink pResponseHandler); 707[PreserveSig] int ExecMethod_([In][MarshalAs(UnmanagedType.BStr)] string strObjectPath, [In][MarshalAs(UnmanagedType.BStr)] string strMethodName, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [In] IntPtr pInParams, [Out][MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(MarshalWbemObject))] out IWbemClassObjectFreeThreaded ppOutParams, [In] IntPtr ppCallResult); 708[PreserveSig] int ExecMethodAsync_([In][MarshalAs(UnmanagedType.BStr)] string strObjectPath, [In][MarshalAs(UnmanagedType.BStr)] string strMethodName, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [In] IntPtr pInParams, [In][MarshalAs(UnmanagedType.Interface)] IWbemObjectSink pResponseHandler); 717[PreserveSig] int OpenNamespace_([In][MarshalAs(UnmanagedType.BStr)] string strNamespace, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [In][Out][MarshalAs(UnmanagedType.Interface)] ref IWbemServices ppWorkingNamespace, [In] IntPtr ppCallResult); 719[PreserveSig] int QueryObjectSink_([In] Int32 lFlags, [Out][MarshalAs(UnmanagedType.Interface)] out IWbemObjectSink ppResponseHandler); 720[PreserveSig] int GetObject_([In][MarshalAs(UnmanagedType.BStr)] string strObjectPath, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [In][Out][MarshalAs(UnmanagedType.Interface)] ref IWbemClassObject_DoNotMarshal ppObject, [In] IntPtr ppCallResult); 721[PreserveSig] int GetObjectAsync_([In][MarshalAs(UnmanagedType.BStr)] string strObjectPath, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [In][MarshalAs(UnmanagedType.Interface)] IWbemObjectSink pResponseHandler); 722[PreserveSig] int PutClass_([In][MarshalAs(UnmanagedType.Interface)] IWbemClassObject_DoNotMarshal pObject, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [In] IntPtr ppCallResult); 723[PreserveSig] int PutClassAsync_([In][MarshalAs(UnmanagedType.Interface)] IWbemClassObject_DoNotMarshal pObject, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [In][MarshalAs(UnmanagedType.Interface)] IWbemObjectSink pResponseHandler); 724[PreserveSig] int DeleteClass_([In][MarshalAs(UnmanagedType.BStr)] string strClass, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [In] IntPtr ppCallResult); 725[PreserveSig] int DeleteClassAsync_([In][MarshalAs(UnmanagedType.BStr)] string strClass, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [In][MarshalAs(UnmanagedType.Interface)] IWbemObjectSink pResponseHandler); 726[PreserveSig] int CreateClassEnum_([In][MarshalAs(UnmanagedType.BStr)] string strSuperclass, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [Out][MarshalAs(UnmanagedType.Interface)] out IEnumWbemClassObject ppEnum); 727[PreserveSig] int CreateClassEnumAsync_([In][MarshalAs(UnmanagedType.BStr)] string strSuperclass, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [In][MarshalAs(UnmanagedType.Interface)] IWbemObjectSink pResponseHandler); 728[PreserveSig] int PutInstance_([In][MarshalAs(UnmanagedType.Interface)] IWbemClassObject_DoNotMarshal pInst, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [In] IntPtr ppCallResult); 729[PreserveSig] int PutInstanceAsync_([In][MarshalAs(UnmanagedType.Interface)] IWbemClassObject_DoNotMarshal pInst, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [In][MarshalAs(UnmanagedType.Interface)] IWbemObjectSink pResponseHandler); 730[PreserveSig] int DeleteInstance_([In][MarshalAs(UnmanagedType.BStr)] string strObjectPath, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [In] IntPtr ppCallResult); 731[PreserveSig] int DeleteInstanceAsync_([In][MarshalAs(UnmanagedType.BStr)] string strObjectPath, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [In][MarshalAs(UnmanagedType.Interface)] IWbemObjectSink pResponseHandler); 732[PreserveSig] int CreateInstanceEnum_([In][MarshalAs(UnmanagedType.BStr)] string strFilter, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [Out][MarshalAs(UnmanagedType.Interface)] out IEnumWbemClassObject ppEnum); 733[PreserveSig] int CreateInstanceEnumAsync_([In][MarshalAs(UnmanagedType.BStr)] string strFilter, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [In][MarshalAs(UnmanagedType.Interface)] IWbemObjectSink pResponseHandler); 734[PreserveSig] int ExecQuery_([In][MarshalAs(UnmanagedType.BStr)] string strQueryLanguage, [In][MarshalAs(UnmanagedType.BStr)] string strQuery, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [Out][MarshalAs(UnmanagedType.Interface)] out IEnumWbemClassObject ppEnum); 735[PreserveSig] int ExecQueryAsync_([In][MarshalAs(UnmanagedType.BStr)] string strQueryLanguage, [In][MarshalAs(UnmanagedType.BStr)] string strQuery, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [In][MarshalAs(UnmanagedType.Interface)] IWbemObjectSink pResponseHandler); 736[PreserveSig] int ExecNotificationQuery_([In][MarshalAs(UnmanagedType.BStr)] string strQueryLanguage, [In][MarshalAs(UnmanagedType.BStr)] string strQuery, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [Out][MarshalAs(UnmanagedType.Interface)] out IEnumWbemClassObject ppEnum); 737[PreserveSig] int ExecNotificationQueryAsync_([In][MarshalAs(UnmanagedType.BStr)] string strQueryLanguage, [In][MarshalAs(UnmanagedType.BStr)] string strQuery, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [In][MarshalAs(UnmanagedType.Interface)] IWbemObjectSink pResponseHandler); 738[PreserveSig] int ExecMethod_([In][MarshalAs(UnmanagedType.BStr)] string strObjectPath, [In][MarshalAs(UnmanagedType.BStr)] string strMethodName, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [In][MarshalAs(UnmanagedType.Interface)] IWbemClassObject_DoNotMarshal pInParams, [In][Out][MarshalAs(UnmanagedType.Interface)] ref IWbemClassObject_DoNotMarshal ppOutParams, [In] IntPtr ppCallResult); 739[PreserveSig] int ExecMethodAsync_([In][MarshalAs(UnmanagedType.BStr)] string strObjectPath, [In][MarshalAs(UnmanagedType.BStr)] string strMethodName, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [In][MarshalAs(UnmanagedType.Interface)] IWbemClassObject_DoNotMarshal pInParams, [In][MarshalAs(UnmanagedType.Interface)] IWbemObjectSink pResponseHandler); 748[PreserveSig] int GetResultObject_([In] Int32 lTimeout, [Out][MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef=typeof(MarshalWbemObject))] out IWbemClassObjectFreeThreaded ppResultObject); 749[PreserveSig] int GetResultString_([In] Int32 lTimeout, [Out][MarshalAs(UnmanagedType.BStr)] out string pstrResultString); 750[PreserveSig] int GetResultServices_([In] Int32 lTimeout, [Out][MarshalAs(UnmanagedType.Interface)] out IWbemServices ppServices); 751[PreserveSig] int GetCallStatus_([In] Int32 lTimeout, [Out] out Int32 plStatus); 763[SuppressUnmanagedCodeSecurity, PreserveSig] int Indicate_([In] Int32 lObjectCount, [In][MarshalAs(UnmanagedType.LPArray)] IntPtr[] apObjArray); 764[PreserveSig] int SetStatus_([In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Error)] Int32 hResult, [In][MarshalAs(UnmanagedType.BStr)] string strParam, [In] IntPtr pObjParam); 775[PreserveSig] int Next_([In] Int32 lTimeout, [In] UInt32 uCount, [In][Out][MarshalAs(UnmanagedType.LPArray)] IWbemClassObject_DoNotMarshal[] apObjects, [Out] out UInt32 puReturned); 778[PreserveSig] int Skip_([In] Int32 lTimeout, [In] UInt32 nCount); 786[PreserveSig] int Shutdown_([In] Int32 uReason, [In] UInt32 uMaxMilliseconds, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx); 795[PreserveSig] int GetText_([In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemClassObject_DoNotMarshal pObj, [In] UInt32 uObjTextFormat, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [Out][MarshalAs(UnmanagedType.BStr)] out string strText); 796[PreserveSig] int CreateFromText_([In] Int32 lFlags, [In][MarshalAs(UnmanagedType.BStr)] string strText, [In] UInt32 uObjTextFormat, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [Out][MarshalAs(UnmanagedType.Interface)] out IWbemClassObject_DoNotMarshal pNewObj); 806[PreserveSig] int Get_([In][MarshalAs(UnmanagedType.LPWStr)] string wszName, [In] Int32 lFlags, [In][Out] ref object pVal, [In][Out] ref Int32 pType, [In][Out] ref Int32 plFlavor); 807[PreserveSig] int Put_([In][MarshalAs(UnmanagedType.LPWStr)] string wszName, [In] Int32 lFlags, [In] ref object pVal, [In] Int32 Type); 809[PreserveSig] int GetNames_([In][MarshalAs(UnmanagedType.LPWStr)] string wszQualifierName, [In] Int32 lFlags, [In] ref object pQualifierVal, [Out][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType=VarEnum.VT_BSTR)] out string[] pNames); 810[PreserveSig] int BeginEnumeration_([In] Int32 lEnumFlags); 811[PreserveSig] int Next_([In] Int32 lFlags, [In][Out][MarshalAs(UnmanagedType.BStr)] ref string strName, [In][Out] ref object pVal, [In][Out] ref Int32 pType, [In][Out] ref Int32 plFlavor); 815[PreserveSig] int GetObjectText_([In] Int32 lFlags, [Out][MarshalAs(UnmanagedType.BStr)] out string pstrObjectText); 816[PreserveSig] int SpawnDerivedClass_([In] Int32 lFlags, [Out][MarshalAs(UnmanagedType.Interface)] out IWbemClassObject_DoNotMarshal ppNewClass); 817[PreserveSig] int SpawnInstance_([In] Int32 lFlags, [Out][MarshalAs(UnmanagedType.Interface)] out IWbemClassObject_DoNotMarshal ppNewInstance); 818[PreserveSig] int CompareTo_([In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemClassObject_DoNotMarshal pCompareTo); 821[PreserveSig] int GetMethod_([In][MarshalAs(UnmanagedType.LPWStr)] string wszName, [In] Int32 lFlags, [Out][MarshalAs(UnmanagedType.Interface)] out IWbemClassObject_DoNotMarshal ppInSignature, [Out][MarshalAs(UnmanagedType.Interface)] out IWbemClassObject_DoNotMarshal ppOutSignature); 822[PreserveSig] int PutMethod_([In][MarshalAs(UnmanagedType.LPWStr)] string wszName, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemClassObject_DoNotMarshal pInSignature, [In][MarshalAs(UnmanagedType.Interface)] IWbemClassObject_DoNotMarshal pOutSignature); 824[PreserveSig] int BeginMethodEnumeration_([In] Int32 lEnumFlags); 825[PreserveSig] int NextMethod_([In] Int32 lFlags, [In][Out][MarshalAs(UnmanagedType.BStr)] ref string pstrName, [In][Out][MarshalAs(UnmanagedType.Interface)] ref IWbemClassObject_DoNotMarshal ppInSignature, [In][Out][MarshalAs(UnmanagedType.Interface)] ref IWbemClassObject_DoNotMarshal ppOutSignature); 829[PreserveSig] int GetPropertyHandle_([In][MarshalAs(UnmanagedType.LPWStr)] string wszPropertyName, [Out] out Int32 pType, [Out] out Int32 plHandle); 830[PreserveSig] int WritePropertyValue_([In] Int32 lHandle, [In] Int32 lNumBytes, [In] ref Byte aData); 831[PreserveSig] int ReadPropertyValue_([In] Int32 lHandle, [In] Int32 lBufferSize, [Out] out Int32 plNumBytes, [Out] out Byte aData); 832[PreserveSig] int ReadDWORD_([In] Int32 lHandle, [Out] out UInt32 pdw); 833[PreserveSig] int WriteDWORD_([In] Int32 lHandle, [In] UInt32 dw); 834[PreserveSig] int ReadQWORD_([In] Int32 lHandle, [Out] out UInt64 pqw); 835[PreserveSig] int WriteQWORD_([In] Int32 lHandle, [In] UInt64 pw); 836[PreserveSig] int GetPropertyInfoByHandle_([In] Int32 lHandle, [Out][MarshalAs(UnmanagedType.BStr)] out string pstrName, [Out] out Int32 pType); 837[PreserveSig] int Lock_([In] Int32 lFlags); 838[PreserveSig] int Unlock_([In] Int32 lFlags); 865[PreserveSig] int GetErrorCodeText_([In][MarshalAs(UnmanagedType.Error)] Int32 hRes, [In] UInt32 LocaleId, [In] Int32 lFlags, [Out][MarshalAs(UnmanagedType.BStr)] out string MessageText); 866[PreserveSig] int GetFacilityCodeText_([In][MarshalAs(UnmanagedType.Error)] Int32 hRes, [In] UInt32 LocaleId, [In] Int32 lFlags, [Out][MarshalAs(UnmanagedType.BStr)] out string MessageText); 931[PreserveSig] int IndicateToConsumer_([In][MarshalAs(UnmanagedType.Interface)] IWbemClassObject_DoNotMarshal pLogicalConsumer, [In] Int32 lNumObjects, [In][MarshalAs(UnmanagedType.Interface)] ref IWbemClassObject_DoNotMarshal apObjects); 940[PreserveSig] int GetProperty_([In] Int32 lFlags, [In][MarshalAs(UnmanagedType.BStr)] string strLocale, [In][MarshalAs(UnmanagedType.BStr)] string strClassMapping, [In][MarshalAs(UnmanagedType.BStr)] string strInstMapping, [In][MarshalAs(UnmanagedType.BStr)] string strPropMapping, [Out] out object pvValue); 941[PreserveSig] int PutProperty_([In] Int32 lFlags, [In][MarshalAs(UnmanagedType.BStr)] string strLocale, [In][MarshalAs(UnmanagedType.BStr)] string strClassMapping, [In][MarshalAs(UnmanagedType.BStr)] string strInstMapping, [In][MarshalAs(UnmanagedType.BStr)] string strPropMapping, [In] ref object pvValue); 950[PreserveSig] int ProvideEvents_([In][MarshalAs(UnmanagedType.Interface)] IWbemObjectSink pSink, [In] Int32 lFlags); 969[PreserveSig] int AccessCheck_([In][MarshalAs(UnmanagedType.LPWStr)] string wszQueryLanguage, [In][MarshalAs(UnmanagedType.LPWStr)] string wszQuery, [In] Int32 lSidLength, [In] ref Byte pSid); 978[PreserveSig] int SetRegistrationObject_([In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Interface)] IWbemClassObject_DoNotMarshal pProvReg); 1006[PreserveSig] int SetStatus_([In] Int32 lStatus, [In] Int32 lFlags); 1014[PreserveSig] int Initialize_([In][MarshalAs(UnmanagedType.LPWStr)] string wszUser, [In] Int32 lFlags, [In][MarshalAs(UnmanagedType.LPWStr)] string wszNamespace, [In][MarshalAs(UnmanagedType.LPWStr)] string wszLocale, [In][MarshalAs(UnmanagedType.Interface)] IWbemServices pNamespace, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext pCtx, [In][MarshalAs(UnmanagedType.Interface)] IWbemProviderInitSink pInitSink); 1036[PreserveSig] int Register_([In] Int32 flags, [In][MarshalAs(UnmanagedType.Interface)] IWbemContext context, [In][MarshalAs(UnmanagedType.LPWStr)] string user, [In][MarshalAs(UnmanagedType.LPWStr)] string locale, [In][MarshalAs(UnmanagedType.LPWStr)] string scope, [In][MarshalAs(UnmanagedType.LPWStr)] string registration, [In][MarshalAs(UnmanagedType.IUnknown)] object unknown); 1057[PreserveSig] int Indicate_([In] Int32 lObjectCount, [In][MarshalAs(UnmanagedType.Interface)] ref IWbemClassObject_DoNotMarshal apObjArray); 1058[PreserveSig] int SetStatus_([In] Int32 lFlags, [In][MarshalAs(UnmanagedType.Error)] Int32 hResult, [In][MarshalAs(UnmanagedType.BStr)] string strParam, [In][MarshalAs(UnmanagedType.Interface)] IWbemClassObject_DoNotMarshal pObjParam); 1059[PreserveSig] int IndicateWithSD_([In] Int32 lNumObjects, [In][MarshalAs(UnmanagedType.IUnknown)] ref object apObjects, [In] Int32 lSDLength, [In] ref Byte pSD); 1060[PreserveSig] int SetSinkSecurity_([In] Int32 lSDLength, [In] ref Byte pSD); 1062[PreserveSig] int GetRestrictedSink_([In] Int32 lNumQueries, [In][MarshalAs(UnmanagedType.LPWStr)] ref string awszQueries, [In][MarshalAs(UnmanagedType.IUnknown)] object pCallback, [Out][MarshalAs(UnmanagedType.Interface)] out IWbemEventSink ppSink); 1063[PreserveSig] int SetBatchingParameters_([In] Int32 lFlags, [In] UInt32 dwMaxBufferSize, [In] UInt32 dwMaxSendLatency); 1081[PreserveSig] int GetText_([In] Int32 lFlags, [In][Out] ref UInt32 puBuffLength, [In][Out][MarshalAs(UnmanagedType.LPWStr)] string pszText); 1090[PreserveSig] int GetText_([In] Int32 lFlags, [In][Out] ref UInt32 puBuffLength, [In][Out][MarshalAs(UnmanagedType.LPWStr)] string pszText); 1109[PreserveSig] int CreateClassPart_([In] Int32 lFlags, [In][MarshalAs(UnmanagedType.LPWStr)] string Name); 1110[PreserveSig] int DeleteClassPart_([In] Int32 lFlags); 1112[PreserveSig] int IsRelativeOrChild_([In][MarshalAs(UnmanagedType.LPWStr)] string wszMachine, [In][MarshalAs(UnmanagedType.LPWStr)] string wszNamespace, [In] Int32 lFlags);
ManagementDatetime.cs (16)
140 IFormatProvider frmInt32 = (IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32)); 149 year = System.Int32.Parse(tempString,frmInt32); 154 month = System.Int32.Parse(tempString,frmInt32); 159 day = System.Int32.Parse(tempString,frmInt32); 164 hour = System.Int32.Parse(tempString,frmInt32); 169 minute = System.Int32.Parse(tempString,frmInt32); 174 second = System.Int32.Parse(tempString,frmInt32); 212 UTCOffset = System.Int32.Parse(tempString1,frmInt32); 263 IFormatProvider frmInt32 = (IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32)); 338 IFormatProvider frmInt32 = (IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32)); 366 days = System.Int32.Parse(tempString,frmInt32); 369 hours = System.Int32.Parse(tempString,frmInt32); 372 minutes = System.Int32.Parse(tempString,frmInt32); 375 seconds = System.Int32.Parse(tempString,frmInt32); 431 string dmtftimespan = timespan.Days.ToString((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32))).PadLeft(8,'0'); 432 IFormatProvider frmInt32 = (IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32));
managementobjectcollection.cs (2)
210public void CopyTo (Array array, Int32 index) 255public void CopyTo (ManagementBaseObject[] objectCollection, Int32 index)
managementscope.cs (72)
106internal delegate int GetPropertyHandle(int vFunc, IntPtr pWbemClassObject, [In][MarshalAs(UnmanagedType.LPWStr)] string wszPropertyName, [Out] out Int32 pType, [Out] out Int32 plHandle); 107internal delegate int WritePropertyValue(int vFunc, IntPtr pWbemClassObject, [In] Int32 lHandle, [In] Int32 lNumBytes, [In][MarshalAs(UnmanagedType.LPWStr)] string str); 109internal delegate int Get(int vFunc, IntPtr pWbemClassObject, [In][MarshalAs(UnmanagedType.LPWStr)] string wszName, [In] Int32 lFlags, [In][Out] ref object pVal, [In][Out] ref Int32 pType, [In][Out] ref Int32 plFlavor); 110internal delegate int Put(int vFunc, IntPtr pWbemClassObject, [In][MarshalAs(UnmanagedType.LPWStr)] string wszName, [In] Int32 lFlags, [In] ref object pVal, [In] Int32 Type); 112internal delegate int GetNames(int vFunc, IntPtr pWbemClassObject, [In][MarshalAs(UnmanagedType.LPWStr)] string wszQualifierName, [In] Int32 lFlags, [In] ref object pQualifierVal, [Out][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType=VarEnum.VT_BSTR)] out string[] pNames); 113internal delegate int BeginEnumeration(int vFunc, IntPtr pWbemClassObject, [In] Int32 lEnumFlags); 114internal delegate int Next(int vFunc, IntPtr pWbemClassObject, [In] Int32 lFlags, [In][Out][MarshalAs(UnmanagedType.BStr)] ref string strName, [In][Out] ref object pVal, [In][Out] ref Int32 pType, [In][Out] ref Int32 plFlavor); 118internal delegate int GetObjectText(int vFunc, IntPtr pWbemClassObject, [In] Int32 lFlags, [Out][MarshalAs(UnmanagedType.BStr)] out string pstrObjectText); 119internal delegate int SpawnDerivedClass(int vFunc, IntPtr pWbemClassObject, [In] Int32 lFlags, [Out] out IntPtr ppNewClass); 120internal delegate int SpawnInstance(int vFunc, IntPtr pWbemClassObject, [In] Int32 lFlags, [Out] out IntPtr ppNewInstance); 121internal delegate int CompareTo(int vFunc, IntPtr pWbemClassObject, [In] Int32 lFlags, [In] IntPtr pCompareTo); 124internal delegate int GetMethod(int vFunc, IntPtr pWbemClassObject, [In][MarshalAs(UnmanagedType.LPWStr)] string wszName, [In] Int32 lFlags, [Out]out IntPtr ppInSignature, [Out] out IntPtr ppOutSignature); 125internal delegate int PutMethod(int vFunc, IntPtr pWbemClassObject, [In][MarshalAs(UnmanagedType.LPWStr)] string wszName, [In] Int32 lFlags, [In] IntPtr pInSignature, [In] IntPtr pOutSignature); 127internal delegate int BeginMethodEnumeration(int vFunc, IntPtr pWbemClassObject, [In] Int32 lEnumFlags); 128internal delegate int NextMethod(int vFunc, IntPtr pWbemClassObject, [In] Int32 lFlags, [Out][MarshalAs(UnmanagedType.BStr)] out string pstrName, [Out] out IntPtr ppInSignature, [Out] out IntPtr ppOutSignature); 132internal delegate int QualifierSet_Get(int vFunc, IntPtr pWbemClassObject, [In][MarshalAs(UnmanagedType.LPWStr)] string wszName, [In] Int32 lFlags, [In][Out] ref object pVal, [In][Out] ref Int32 plFlavor); 133internal delegate int QualifierSet_Put(int vFunc, IntPtr pWbemClassObject, [In][MarshalAs(UnmanagedType.LPWStr)] string wszName, [In] ref object pVal, [In] Int32 lFlavor); 135internal delegate int QualifierSet_GetNames(int vFunc, IntPtr pWbemClassObject, [In] Int32 lFlags, [Out][MarshalAs(UnmanagedType.SafeArray, SafeArraySubType=VarEnum.VT_BSTR)] out string[] pNames); 136internal delegate int QualifierSet_BeginEnumeration(int vFunc, IntPtr pWbemClassObject, [In] Int32 lFlags); 137internal delegate int QualifierSet_Next(int vFunc, IntPtr pWbemClassObject, [In] Int32 lFlags, [Out][MarshalAs(UnmanagedType.BStr)] out string pstrName, [Out] out object pVal, [Out] out Int32 plFlavor); 143[In] Int32 lFlags, 146[In] Int32 impLevel, 147[In] Int32 authnLevel, 154[In] Int32 lFlags, 157[In] Int32 impLevel, 158[In] Int32 authnLevel, 166[In] Int32 lFlags, 169[In] Int32 impLevel, 170[In] Int32 authnLevel, 178[In] Int32 lFlags, 181[In] Int32 impLevel, 182[In] Int32 authnLevel, 189[In] Int32 lFlags, 192[In] Int32 impLevel, 193[In] Int32 authnLevel, 200[In] Int32 lFlags, 203[In] Int32 impLevel, 204[In] Int32 authnLevel, 212[In] Int32 impLevel, 213[In] Int32 authnLevel, 224[In] Int32 lSecurityFlags, 1305internal int OpenNamespace_(string strNamespace, Int32 lFlags, ref IWbemServices ppWorkingNamespace, IntPtr ppCallResult) 1318internal int QueryObjectSink_( Int32 lFlags, ref IWbemObjectSink ppResponseHandler) 1324internal int GetObject_(string strObjectPath, Int32 lFlags, IWbemContext pCtx, ref IWbemClassObjectFreeThreaded ppObject, IntPtr ppCallResult) 1334internal int GetObjectAsync_(string strObjectPath, Int32 lFlags, IWbemContext pCtx, IWbemObjectSink pResponseHandler) 1340internal int PutClass_(IWbemClassObjectFreeThreaded pObject, Int32 lFlags, IWbemContext pCtx, IntPtr ppCallResult) 1360internal int PutClassAsync_(IWbemClassObjectFreeThreaded pObject, Int32 lFlags, IWbemContext pCtx, IWbemObjectSink pResponseHandler) 1366internal int DeleteClass_( string strClass, Int32 lFlags, IWbemContext pCtx, IntPtr ppCallResult) 1375internal int DeleteClassAsync_(string strClass, Int32 lFlags, IWbemContext pCtx, IWbemObjectSink pResponseHandler) 1381internal int CreateClassEnum_(string strSuperClass, Int32 lFlags, IWbemContext pCtx, ref IEnumWbemClassObject ppEnum) 1401internal int CreateClassEnumAsync_(string strSuperClass, Int32 lFlags, IWbemContext pCtx, IWbemObjectSink pResponseHandler) 1407internal int PutInstance_( IWbemClassObjectFreeThreaded pInst, Int32 lFlags, IWbemContext pCtx, IntPtr ppCallResult) 1427internal int PutInstanceAsync_(IWbemClassObjectFreeThreaded pInst, Int32 lFlags, IWbemContext pCtx, IWbemObjectSink pResponseHandler) 1433internal int DeleteInstance_(string strObjectPath, Int32 lFlags, IWbemContext pCtx, IntPtr ppCallResult) 1442internal int DeleteInstanceAsync_(string strObjectPath, Int32 lFlags, IWbemContext pCtx, IWbemObjectSink pResponseHandler) 1449internal int CreateInstanceEnum_(string strFilter, Int32 lFlags, IWbemContext pCtx, ref IEnumWbemClassObject ppEnum) 1469internal int CreateInstanceEnumAsync_(string strFilter, Int32 lFlags, IWbemContext pCtx, IWbemObjectSink pResponseHandler) 1475internal int ExecQuery_(string strQueryLanguage, string strQuery, Int32 lFlags, IWbemContext pCtx, ref IEnumWbemClassObject ppEnum) 1496internal int ExecQueryAsync_(string strQueryLanguage, string strQuery, Int32 lFlags, IWbemContext pCtx, IWbemObjectSink pResponseHandler) 1502internal int ExecNotificationQuery_(string strQueryLanguage, string strQuery, Int32 lFlags, IWbemContext pCtx, ref IEnumWbemClassObject ppEnum) 1523internal int ExecNotificationQueryAsync_(string strQueryLanguage, string strQuery, Int32 lFlags, IWbemContext pCtx, IWbemObjectSink pResponseHandler) 1529internal int ExecMethod_( string strObjectPath, string strMethodName, Int32 lFlags, IWbemContext pCtx, IWbemClassObjectFreeThreaded pInParams, ref IWbemClassObjectFreeThreaded ppOutParams, IntPtr ppCallResult) 1538internal int ExecMethodAsync_(string strObjectPath, string strMethodName, Int32 lFlags, IWbemContext pCtx, IWbemClassObjectFreeThreaded pInParams, IWbemObjectSink pResponseHandler)
property.cs (20)
289 ((UInt16[])val) [i] = (UInt16)((Int32)(wmiValueArray.GetValue(i))); 296 ((UInt32[])val)[i] = (UInt32)((Int32)(wmiValueArray.GetValue(i))); 348 val = (UInt16)((Int32)wmiValue); 352 val = (UInt32)((Int32)wmiValue); 429 wmiValue = new Int32 [length]; 431 ((Int32[])(wmiValue))[i] = (Int32)(Convert.ToUInt16(valArray.GetValue(i),(IFormatProvider)culInfo.GetFormat(typeof(System.UInt16)))); 435 if (val is Int32[]) 439 wmiValue = new Int32 [length]; 441 ((Int32[])(wmiValue))[i] = Convert.ToInt32(valArray.GetValue(i),(IFormatProvider)culInfo.GetFormat(typeof(System.Int32))); 446 wmiValue = new Int32 [length]; 448 ((Int32[])(wmiValue))[i] = (Int32)(Convert.ToUInt32(valArray.GetValue(i),(IFormatProvider)culInfo.GetFormat(typeof(System.UInt32)))); 551 wmiValue = (Int32)(Convert.ToUInt16(val,(IFormatProvider)culInfo.GetFormat(typeof(System.UInt16)))); 555 wmiValue = Convert.ToInt32(val,(IFormatProvider)culInfo.GetFormat(typeof(System.Int32))); 559 wmiValue = (Int32)Convert.ToUInt32(val,(IFormatProvider)culInfo.GetFormat(typeof(System.UInt32))); 678 else if (elementType == typeof(System.Int32)) 778 wmiValue = Convert.ToInt32(val,(IFormatProvider)culInfo.GetFormat(typeof(System.Int32))); 800 else if (valueType == typeof(System.Int32))
propertyset.cs (2)
124 public void CopyTo(Array array, Int32 index) 172 public void CopyTo(PropertyData[] propertyArray, Int32 index)
qualifier.cs (5)
107 if ((qualVal is Int32[]) || (qualVal is Double[]) || (qualVal is String[]) || (qualVal is Boolean[])) 118 if (elementType == typeof(Int32)) 120 wmiValue = new Int32 [length]; 122 ((Int32[])(wmiValue))[i] = Convert.ToInt32(valArray.GetValue(i),(IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32)));
WmiGenerator.cs (12)
828strTemp = strTemp + strToAdd +k.ToString((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32))); 857strTemp = inString + strToAdd +k.ToString((IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32))); 1983Int32 bitValue = 1; 4889IFormatProvider formatProv = (IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32)); 5116static Int32 ConvertBitMapValueToInt32(String bitMap) 5119Int32 ret = 0; 5130ret = System.Convert.ToInt32(strTemp,(IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32))); 5134ret = System.Convert.ToInt32(bitMap,(IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32))); 5305arrayToAdd.Add(System.Convert.ToInt32(numericValue,(IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32)))); 5311arrayToAdd.Add(System.Convert.ToInt32(numericValue,(IFormatProvider)CultureInfo.InvariantCulture.GetFormat(typeof(System.Int32)))); 6854Int32 SubStringParam1, 6855Int32 SubStringParam2)
System.Messaging (1)
System\Messaging\ActiveXMessageFormatter.cs (1)
351else if (obj is Int32)
System.Net (25)
net\Logging.cs (1)
163m_maxDataSize = Int32.Parse(Attributes[AttributeNameMaxDataSize], NumberFormatInfo.InvariantInfo);
net\PeerToPeer\Cloud.cs (1)
197Int32 result = 0;
net\PeerToPeer\PeerName.cs (4)
152Int32 result; 217Int32 result; 287Int32 result; 393Int32 result;
net\PeerToPeer\PeerNameResolver.cs (4)
217Int32 result = UnsafeP2PNativeMethods.PeerPnrpStartResolve(m_PeerName.ToString(), 272Int32 result = 0; 731ResolveAsync(peerName, Cloud.Available, Int32.MaxValue, userState); 736ResolveAsync(peerName, cloud, Int32.MaxValue, userState);
net\PeerToPeer\PeerToPeerException.cs (1)
93internal static PeerToPeerException CreateFromHr(string message, Int32 hr)
net\PeerToPeer\UnsafePeerToPeerMethods.cs (14)
72internal extern static Int32 PeerPnrpGetCloudInfo(out UInt32 pNumClouds, out SafePeerData pArrayOfClouds); 75internal extern static Int32 PeerPnrpStartup(ushort versionRequired); 79internal extern static Int32 87internal extern static Int32 PeerIdentityGetDefault(out SafePeerData defaultIdentity); 95internal extern static Int32 PeerNameToPeerHostName(string peerName, out SafePeerData peerHostName); 99internal extern static Int32 PeerHostNameToPeerName(string peerHostName, out SafePeerData peerName); 103public extern static Int32 PeerPnrpRegister(string pcwzPeerName, 108public extern static Int32 PeerPnrpUnregister(IntPtr handle); 112public extern static Int32 PeerPnrpUpdateRegistration(SafePeerNameUnregister hRegistration, 118public extern static Int32 PeerPnrpResolve(string pcwzPeerNAme, 125public extern static Int32 PeerPnrpStartResolve(string pcwzPeerNAme, 133public extern static Int32 PeerPnrpGetEndpoint(IntPtr Handle, 137public extern static Int32 PeerPnrpEndResolve(IntPtr Handle); 161Int32 result = PeerPnrpStartup(PNRP_VERSION);
System.Numerics (29)
System\Numerics\BigInteger.cs (19)
394if (value == Int32.MinValue) 406if (value <= Int32.MaxValue) 422if (Int32.MinValue <= value && value <= Int32.MaxValue) 424if (value == Int32.MinValue) 457if (value <= Int32.MaxValue) 581if (_sign == Int32.MinValue) 694if (_sign == Int32.MinValue) 738else if (Int32.MinValue == (int)value[0]) { 834public static Int32 Compare(BigInteger left, BigInteger right) 1047public static BigInteger Pow(BigInteger value, Int32 exponent) 1213public static explicit operator Int32(BigInteger value) 1326if (length > 2) hi = (Int32)value._bits[2]; 1327if (length > 1) mi = (Int32)value._bits[1]; 1328if (length > 0) lo = (Int32)value._bits[0]; 1392else if (shift == Int32.MinValue) return ((value >> Int32.MaxValue) >> 1); 1424else if (shift == Int32.MinValue) return ((value << Int32.MaxValue) << 1);
System\Numerics\BigNumber.cs (4)
416Int32 i = number.scale; 417Int32 cur = 0; 423value += (Int32)(number.digits[cur++] - '0'); 437internal static char ParseFormatSpecifier(String format, out Int32 digits) {
System\Numerics\Complex.cs (6)
217public static implicit operator Complex(Int32 value) { 275public override Int32 GetHashCode() { 276Int32 n1 = 99999997; 277Int32 hash_real = this.m_real.GetHashCode() % n1; 278Int32 hash_imaginary = this.m_imaginary.GetHashCode(); 279Int32 final_hashcode = hash_real ^ hash_imaginary;
System.Runtime.Caching (11)
System\Caching\Configuration\ConfigUtil.cs (4)
26if (!Int32.TryParse(sValue, out iValue) 54return Int32.MaxValue; 63int iValue = (milliseconds < (double)Int32.MaxValue) ? (int) milliseconds : Int32.MaxValue;
System\Caching\Configuration\MemoryCacheElement.cs (1)
51new IntegerValidator(0, Int32.MaxValue),
System\Caching\MemoryCache.cs (1)
151hashCode = (hashCode == Int32.MinValue) ? 0 : -hashCode;
System\Caching\MemoryCacheStatistics.cs (4)
116_configPollingInterval = (milliseconds < (double)Int32.MaxValue) ? (int) milliseconds : Int32.MaxValue; 126_configCacheMemoryLimitMegabytes = ConfigUtil.GetIntValue(config, ConfigUtil.CacheMemoryLimitMegabytes, _configCacheMemoryLimitMegabytes, true, Int32.MaxValue); 275int cacheMemoryLimitMegabytes = ConfigUtil.GetIntValue(config, ConfigUtil.CacheMemoryLimitMegabytes, _configCacheMemoryLimitMegabytes, true, Int32.MaxValue);
System\Caching\MemoryCacheStore.cs (1)
16const int MAX_COUNT = Int32.MaxValue / 2;
System.Runtime.Remoting (2)
channels\http\httpsocketmanager.cs (1)
91contentLength = Int32.Parse(headerValue, CultureInfo.InvariantCulture);
metadata\sudscommon.cs (1)
83internal static Type typeofInt32 = typeof(Int32);
System.Runtime.Serialization (68)
System\Runtime\Serialization\CodeExporter.cs (2)
440if (i == Int32.MaxValue) 1578if (i == Int32.MaxValue)
System\Runtime\Serialization\Configuration\Properties.cs (2)
87properties.Add(new ConfigurationProperty("index", typeof(System.Int32), 0, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 139properties.Add(new ConfigurationProperty("index", typeof(System.Int32), 0, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
System\Runtime\Serialization\DataContract.cs (6)
548int newSize = (value < Int32.MaxValue / 2) ? value * 2 : Int32.MaxValue; 748type = typeof(Int32); 1733nestedParamCounts.Add(Int32.Parse(typeName.Substring(endIndex + 1), CultureInfo.InvariantCulture)); 1737nestedParamCounts.Add(Int32.Parse(typeName.Substring(endIndex + 1, startIndex - endIndex - 1), CultureInfo.InvariantCulture)); 2006if (!Int32.TryParse(format.Substring(start, i - start), out paramIndex) || paramIndex < 0 || paramIndex >= genericNameProvider.GetParameterCount())
System\Runtime\Serialization\Json\JsonDataContract.cs (2)
208int newSize = (value < Int32.MaxValue / 2) ? value * 2 : Int32.MaxValue;
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (2)
719object forLoop = ilg.For(i, 0, Int32.MaxValue); 907object forLoop = ilg.For(i, 0, Int32.MaxValue);
System\Runtime\Serialization\Json\JsonObjectDataContract.cs (1)
74if (Int32.TryParse(value, NumberStyles.Float, NumberFormatInfo.InvariantInfo, out intValue))
System\Runtime\Serialization\Json\XmlJsonWriter.cs (1)
339public override void WriteArray(string prefix, string localName, string namespaceUri, Int32[] array, int offset, int count)
System\Runtime\Serialization\NetDataContractSerializer.cs (3)
38: this(context, Int32.MaxValue, false, FormatterAssemblyStyle.Full, null) 52: this(rootName, rootNamespace, new StreamingContext(StreamingContextStates.All), Int32.MaxValue, false, FormatterAssemblyStyle.Full, null) 68: this(rootName, rootNamespace, new StreamingContext(StreamingContextStates.All), Int32.MaxValue, false, FormatterAssemblyStyle.Full, null)
System\Runtime\Serialization\ObjectToIdCache.cs (1)
186for (int i = (min | 1); i < Int32.MaxValue; i += 2)
System\Runtime\Serialization\SchemaExporter.cs (1)
353SurrogateDataAnnotationName.Name, SurrogateDataAnnotationName.Namespace, knownTypes, Int32.MaxValue,
System\Runtime\Serialization\SchemaImporter.cs (4)
380if (i == Int32.MaxValue) 1323if (!Int32.TryParse(nestedLevelAttribute.Value, out argumentLevel)) 1337if (!Int32.TryParse(typeNestedLevelsAttribute.Value, out nestedLevels)) 1352Int32.MaxValue, false /*ignoreExtensionDataObject*/, true /*preserveObjectReferences*/, null /*dataContractSurrogate*/);
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (2)
671object forLoop = ilg.For(i, 0, Int32.MaxValue); 767object forLoop = ilg.For(i, 0, Int32.MaxValue);
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (4)
481if (index == Int32.MaxValue) 485SR.GetString(SR.MaxArrayLengthExceeded, Int32.MaxValue, 488int newSize = (index < Int32.MaxValue / 2) ? index * 2 : Int32.MaxValue;
System\Xml\ArrayHelper.cs (6)
161class Int32ArrayHelperWithString : ArrayHelper<string, Int32> 165protected override int ReadArray(XmlDictionaryReader reader, string localName, string namespaceUri, Int32[] array, int offset, int count) 170protected override void WriteArray(XmlDictionaryWriter writer, string prefix, string localName, string namespaceUri, Int32[] array, int offset, int count) 176class Int32ArrayHelperWithDictionaryString : ArrayHelper<XmlDictionaryString, Int32> 180protected override int ReadArray(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString namespaceUri, Int32[] array, int offset, int count) 185protected override void WriteArray(XmlDictionaryWriter writer, string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, Int32[] array, int offset, int count)
System\Xml\UniqueID.cs (4)
391Int32 idLow = UnsafeGetInt32(pb); 392Int32 idHigh = UnsafeGetInt32(&pb[4]); 398unsafe Int32 UnsafeGetInt32(byte* pb) 420unsafe void UnsafeSetInt32(Int32 value, byte* pb)
System\Xml\XmlBaseReader.cs (4)
1682public override Int32 ReadContentAsInt() 1687Int32 value = node.Value.ToInt(); 1927public override Int32[] ReadInt32Array(string localName, string namespaceUri) 1932public override Int32[] ReadInt32Array(XmlDictionaryString localName, XmlDictionaryString namespaceUri)
System\Xml\XmlBinaryReader.cs (5)
1182type = typeof(Int32); 1313unsafe int ReadArray(Int32[] array, int offset, int count) 1317fixed (Int32* items = &array[offset]) 1325public override int ReadArray(string localName, string namespaceUri, Int32[] array, int offset, int count) 1332public override int ReadArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri, Int32[] array, int offset, int count)
System\Xml\XmlBinaryWriter.cs (4)
1366unsafe public override void WriteArray(string prefix, string localName, string namespaceUri, Int32[] array, int offset, int count) 1375fixed (Int32* items = &array[offset]) 1386unsafe public override void WriteArray(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, Int32[] array, int offset, int count) 1395fixed (Int32* items = &array[offset])
System\Xml\XmlConverter.cs (2)
954return (*(Int32*)&value == *(Int32*)&negativeZero);
System\Xml\XmlDictionaryReader.cs (5)
1123public virtual Int32[] ReadInt32Array(string localName, string namespaceUri) 1128public virtual Int32[] ReadInt32Array(XmlDictionaryString localName, XmlDictionaryString namespaceUri) 1133public virtual int ReadArray(string localName, string namespaceUri, Int32[] array, int offset, int count) 1145public virtual int ReadArray(XmlDictionaryString localName, XmlDictionaryString namespaceUri, Int32[] array, int offset, int count) 1710public override Int32 ReadContentAsInt()
System\Xml\XmlDictionaryWriter.cs (4)
800else if (type == typeof(Int32)) 829else if (type == typeof(Int32)) 990public virtual void WriteArray(string prefix, string localName, string namespaceUri, Int32[] array, int offset, int count) 1001public virtual void WriteArray(string prefix, XmlDictionaryString localName, XmlDictionaryString namespaceUri, Int32[] array, int offset, int count)
System\Xml\XmlMtomWriter.cs (3)
1168if (newSize == Int32.MaxValue) 1170newSize = (newSize < Int32.MaxValue / 2) ? newSize * 2 : Int32.MaxValue;
System.Security (3)
system\security\cryptography\xml\keyinfo.cs (1)
114public Int32 Count {
system\security\cryptography\xml\signedinfo.cs (1)
51public Int32 Count {
system\security\cryptography\xml\signedxml.cs (1)
608if (!Int32.TryParse(SignedInfo.SignatureLength, out actualSignatureSize)) {
System.ServiceModel (213)
System\ServiceModel\Administration\WbemNative.cs (62)
272[In] Int32 lFlags, 288[In] Int32 flags, 309[In] Int32 lFlags, 322[In] Int32 lFlags, 329[In] Int32 lFlags, 338[In] Int32 lFlags, 346[In] Int32 lFlags, 354[In] Int32 lFlags, 362[In] Int32 lFlags, 370[In] Int32 lFlags, 378[In] Int32 lFlags, 386[In] Int32 lFlags, 394[In] Int32 lFlags, 402[In] Int32 lFlags, 410[In] Int32 lFlags, 418[In] Int32 lFlags, 426[In] Int32 lFlags, 434[In] Int32 lFlags, 443[In] Int32 lFlags, 452[In] Int32 lFlags, 461[In] Int32 lFlags, 470[In] Int32 lFlags, 479[In] Int32 lFlags, 490[In] Int32 lFlags, 510[In] Int32 lFlags, 512[In][Out] ref Int32 pType, 513[In][Out] ref Int32 plFlavor 519[In] Int32 lFlags, 521[In] Int32 Type 532[In] Int32 lFlags, 539[In] Int32 lEnumFlags 544[In] Int32 lFlags, 547[In][Out] ref Int32 pType, 548[In][Out] ref Int32 plFlavor 567[In] Int32 lFlags, 573[In] Int32 lFlags, 579[In] Int32 lFlags, 584int CompareTo([In] Int32 lFlags, 602[In] Int32 lFlags, 610[In] Int32 lFlags, 622[In] Int32 lEnumFlags 627[In] Int32 lFlags, 661[In] Int32 lFlags, 667[In] Int32 lFlags 672[In] Int32 lFlags, 683[In] Int32 lFlags, 690[In] Int32 lFlags, 697[In] Int32 lFlags 711[In] Int32 lStatus, 712[In] Int32 lFlags 723[In] Int32 lObjectCount, 730[In] Int32 lFlags, 731[In][MarshalAs(UnmanagedType.Error)] Int32 hResult, 747[In] Int32 lTimeout, 766[In] Int32 lTimeout, 779[In] Int32 lFlags, 781[In][Out] ref Int32 plFlavor 788[In] Int32 lFlavor 798[In] Int32 lFlags, 804[In] Int32 lFlags 809[In] Int32 lFlags, 811[In][Out] ref object pVal, [In][Out] ref Int32 plFlavor
System\ServiceModel\Administration\WbemProvider.cs (24)
124Int32 lFlags, 172Int32 flags, 189Int32 flags, 199Int32 flags, 210Int32 flags, 264Int32 flags, 273Int32 flags, 282Int32 flags, 291Int32 lFlags, 300Int32 flags, 310Int32 flags, 319Int32 lFlags, 328Int32 lFlags, 385Int32 flags, 394Int32 lFlags, 446Int32 flags, 457Int32 flags, 509Int32 flags, 520Int32 flags, 570Int32 flags, 581Int32 flags, 590Int32 flags, 602Int32 flags, 803this.keys.Add(match.Groups["key"].Value, Int32.Parse(match.Groups["ival"].Value, CultureInfo.CurrentCulture));
System\ServiceModel\Channels\InternalDuplexBindingElement.cs (2)
250this.priority = Int32.MaxValue - 1; 254this.priority = Int32.MaxValue;
System\ServiceModel\Channels\Msmq3PoisonHandler.cs (1)
32if (seen > (receiver.MsmqReceiveParameters.ReceiveRetryCount + 1) && receiver.MsmqReceiveParameters.ReceiveRetryCount != Int32.MaxValue)
System\ServiceModel\Channels\PeerMessageDispatcher.cs (1)
50PeerQuotaHelper quotaHelper = new PeerQuotaHelper(Int32.MaxValue);
System\ServiceModel\Channels\PrivacyNoticeBindingElementImporter.cs (1)
46if (!Int32.TryParse(versionString, out version))
System\ServiceModel\Channels\ReliableDuplexSessionChannel.cs (1)
24Guard guard = new Guard(Int32.MaxValue);
System\ServiceModel\Channels\ReliableInputSessionChannel.cs (1)
418Guard guard = new Guard(Int32.MaxValue);
System\ServiceModel\Channels\ReliableOutputConnection.cs (1)
30Guard sendGuard = new Guard(Int32.MaxValue);
System\ServiceModel\Channels\ReliableRequestSessionChannel.cs (1)
48this.replyAckConsistencyGuard = new Guard(Int32.MaxValue);
System\ServiceModel\Channels\TransmissionStrategy.cs (2)
66Int32 quotaRemaining; 108this.quotaRemaining = Int32.MaxValue;
System\ServiceModel\Channels\TransportDefaults.cs (4)
39internal const int BufferedReadDefaultMaxStringContentLength = Int32.MaxValue; 40internal const int BufferedReadDefaultMaxArrayLength = Int32.MaxValue; 41internal const int BufferedReadDefaultMaxBytesPerRead = Int32.MaxValue; 42internal const int BufferedReadDefaultMaxNameTableCharCount = Int32.MaxValue;
System\ServiceModel\Channels\UnsafeNativeMethods.cs (4)
1123private static extern Int32 _AppPolicyGetClrCompat(IntPtr processToken, out AppPolicyClrCompat appPolicyClrCompat); 1129private static extern Int32 _GetCurrentPackageId(ref Int32 pBufferLength, Byte[] pBuffer); 1179Int32 bufLen = 0;
System\ServiceModel\ComIntegration\DispatchProxy.cs (11)
371if (type == typeof(Int32)) 374ret = (Int32)((Int16)ret); 375else if (ret.GetType() != typeof(Int32)) 382else if (ret.GetType() == typeof(Int32)) 383ret = (Int64)((Int32)ret); 437if (type.GetElementType() != typeof(Int32) && type.GetElementType() != typeof(Int64)) 453if (type.GetElementType() == typeof(Int32)) 458arr.SetValue((Int32)((Int16)objects[i]), i); 459else if (objects[i].GetType() == typeof(Int32)) 471else if (objects[i].GetType() == typeof(Int32)) 472arr.SetValue((Int64)((Int32)objects[i]), i);
System\ServiceModel\ComIntegration\PersistStreamTypeWrapper.cs (1)
48Int32 sizeOfByteArray = (SafeNativeMethods.GlobalSize(hGlobal)).ToInt32();
System\ServiceModel\ComIntegration\ProxyManager.cs (1)
134Int32 dispID = -1;
System\ServiceModel\Configuration\Properties.cs (68)
63properties.Add(new ConfigurationProperty("maxPendingConnections", typeof(System.Int32), 100, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 64properties.Add(new ConfigurationProperty("maxPendingAccepts", typeof(System.Int32), 0, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 90properties.Add(new ConfigurationProperty("listenBacklog", typeof(System.Int32), 0, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 91properties.Add(new ConfigurationProperty("maxPendingConnections", typeof(System.Int32), 100, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 92properties.Add(new ConfigurationProperty("maxPendingAccepts", typeof(System.Int32), 0, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 246properties.Add(new ConfigurationProperty("sessionId", typeof(System.Int32), "CurrentSession", new System.ServiceModel.Configuration.SessionIdTypeConvertor(), new System.ServiceModel.Configuration.ApplicationContainerSettingsElement.SessionIdTypeValidator(), System.Configuration.ConfigurationPropertyOptions.None)); 567properties.Add(new ConfigurationProperty("maxReadPoolSize", typeof(System.Int32), 64, null, new System.Configuration.IntegerValidator(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 568properties.Add(new ConfigurationProperty("maxWritePoolSize", typeof(System.Int32), 16, null, new System.Configuration.IntegerValidator(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 569properties.Add(new ConfigurationProperty("maxSessionSize", typeof(System.Int32), 2048, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 682properties.Add(new ConfigurationProperty("maxOutboundChannelsPerEndpoint", typeof(System.Int32), 10, null, new System.Configuration.IntegerValidator(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 909properties.Add(new ConfigurationProperty("connectionBufferSize", typeof(System.Int32), 8192, null, new System.Configuration.IntegerValidator(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 912properties.Add(new ConfigurationProperty("maxBufferSize", typeof(System.Int32), 65536, null, new System.Configuration.IntegerValidator(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 913properties.Add(new ConfigurationProperty("maxPendingConnections", typeof(System.Int32), 0, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 915properties.Add(new ConfigurationProperty("maxPendingAccepts", typeof(System.Int32), 0, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 992properties.Add(new ConfigurationProperty("maxAcceptedChannels", typeof(System.Int32), 10, null, new System.Configuration.IntegerValidator(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 1018properties.Add(new ConfigurationProperty("port", typeof(System.Int32), 0, null, new System.Configuration.IntegerValidator(0, 65535, false), System.Configuration.ConfigurationPropertyOptions.IsRequired)); 1256properties.Add(new ConfigurationProperty("maxBufferSize", typeof(System.Int32), 65536, null, new System.Configuration.IntegerValidator(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 1366properties.Add(new ConfigurationProperty("maxBufferSize", typeof(System.Int32), 65536, null, new System.Configuration.IntegerValidator(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 1367properties.Add(new ConfigurationProperty("maxPendingAccepts", typeof(System.Int32), 0, null, new System.Configuration.IntegerValidator(0, 100000, false), System.Configuration.ConfigurationPropertyOptions.None)); 1462properties.Add(new ConfigurationProperty("issuedTokenRenewalThresholdPercentage", typeof(System.Int32), 60, null, new System.Configuration.IntegerValidator(0, 100, false), System.Configuration.ConfigurationPropertyOptions.None)); 1548properties.Add(new ConfigurationProperty("keySize", typeof(System.Int32), 0, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 1602properties.Add(new ConfigurationProperty("replayCacheSize", typeof(System.Int32), 900000, null, new System.Configuration.IntegerValidator(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 1610properties.Add(new ConfigurationProperty("cookieRenewalThresholdPercentage", typeof(System.Int32), 60, null, new System.Configuration.IntegerValidator(0, 100, false), System.Configuration.ConfigurationPropertyOptions.None)); 1636properties.Add(new ConfigurationProperty("maxStatefulNegotiations", typeof(System.Int32), 128, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 1637properties.Add(new ConfigurationProperty("replayCacheSize", typeof(System.Int32), 900000, null, new System.Configuration.IntegerValidator(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 1645properties.Add(new ConfigurationProperty("maxPendingSessions", typeof(System.Int32), 128, null, new System.Configuration.IntegerValidator(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 1646properties.Add(new ConfigurationProperty("maxCachedCookies", typeof(System.Int32), 1000, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 1701properties.Add(new ConfigurationProperty("maxMessagesToLog", typeof(System.Int32), 10000, null, new System.Configuration.IntegerValidator(-1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 1702properties.Add(new ConfigurationProperty("maxSizeOfMessageToLog", typeof(System.Int32), 262144, null, new System.Configuration.IntegerValidator(-1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 1808properties.Add(new ConfigurationProperty("maxRetryCycles", typeof(System.Int32), 2, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 1811properties.Add(new ConfigurationProperty("receiveRetryCount", typeof(System.Int32), 5, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 1918properties.Add(new ConfigurationProperty("maxRetryCycles", typeof(System.Int32), 2, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 1921properties.Add(new ConfigurationProperty("receiveRetryCount", typeof(System.Int32), 5, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 1951properties.Add(new ConfigurationProperty("maxPoolSize", typeof(System.Int32), 8, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 2004properties.Add(new ConfigurationProperty("maxReadPoolSize", typeof(System.Int32), 64, null, new System.Configuration.IntegerValidator(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 2005properties.Add(new ConfigurationProperty("maxWritePoolSize", typeof(System.Int32), 16, null, new System.Configuration.IntegerValidator(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 2008properties.Add(new ConfigurationProperty("maxBufferSize", typeof(System.Int32), 65536, null, new System.Configuration.IntegerValidator(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 2035properties.Add(new ConfigurationProperty("maxOutboundConnectionsPerEndpoint", typeof(System.Int32), 10, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 2242properties.Add(new ConfigurationProperty("maxPendingConnections", typeof(System.Int32), 0, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 2269properties.Add(new ConfigurationProperty("port", typeof(System.Int32), 0, null, new System.Configuration.IntegerValidator(0, 65535, false), System.Configuration.ConfigurationPropertyOptions.None)); 2301properties.Add(new ConfigurationProperty("maxBufferSize", typeof(System.Int32), 65536, null, new System.Configuration.IntegerValidator(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 2302properties.Add(new ConfigurationProperty("maxConnections", typeof(System.Int32), 0, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 2412properties.Add(new ConfigurationProperty("listenBacklog", typeof(System.Int32), 0, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 2414properties.Add(new ConfigurationProperty("maxBufferSize", typeof(System.Int32), 65536, null, new System.Configuration.IntegerValidator(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 2415properties.Add(new ConfigurationProperty("maxConnections", typeof(System.Int32), 0, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 2603properties.Add(new ConfigurationProperty("port", typeof(System.Int32), 0, null, new System.Configuration.IntegerValidator(0, 65535, false), System.Configuration.ConfigurationPropertyOptions.None)); 2677properties.Add(new ConfigurationProperty("version", typeof(System.Int32), 0, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 2938properties.Add(new ConfigurationProperty("maxPendingChannels", typeof(System.Int32), 4, null, new System.Configuration.IntegerValidator(1, 16384, false), System.Configuration.ConfigurationPropertyOptions.None)); 2939properties.Add(new ConfigurationProperty("maxRetryCount", typeof(System.Int32), 8, null, new System.Configuration.IntegerValidator(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 2940properties.Add(new ConfigurationProperty("maxTransferWindowSize", typeof(System.Int32), 8, null, new System.Configuration.IntegerValidator(1, 4096, false), System.Configuration.ConfigurationPropertyOptions.None)); 3238properties.Add(new ConfigurationProperty("minFreeMemoryPercentageToActivateService", typeof(System.Int32), 5, null, new System.Configuration.IntegerValidator(0, 99, false), System.Configuration.ConfigurationPropertyOptions.None)); 3424properties.Add(new ConfigurationProperty("maxConcurrentCalls", typeof(System.Int32), 16, null, new System.Configuration.IntegerValidator(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 3425properties.Add(new ConfigurationProperty("maxConcurrentSessions", typeof(System.Int32), 100, null, new System.Configuration.IntegerValidator(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 3426properties.Add(new ConfigurationProperty("maxConcurrentInstances", typeof(System.Int32), 116, null, new System.Configuration.IntegerValidator(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 3499properties.Add(new ConfigurationProperty("listenBacklog", typeof(System.Int32), 0, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 3554properties.Add(new ConfigurationProperty("maxReadPoolSize", typeof(System.Int32), 64, null, new System.Configuration.IntegerValidator(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 3555properties.Add(new ConfigurationProperty("maxWritePoolSize", typeof(System.Int32), 16, null, new System.Configuration.IntegerValidator(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 3582properties.Add(new ConfigurationProperty("maxBatchSize", typeof(System.Int32), 0, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 3660properties.Add(new ConfigurationProperty("maxCachedLogonTokens", typeof(System.Int32), 128, null, new System.Configuration.IntegerValidator(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 3870properties.Add(new ConfigurationProperty("maxDepth", typeof(System.Int32), 0, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 3871properties.Add(new ConfigurationProperty("maxStringContentLength", typeof(System.Int32), 0, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 3872properties.Add(new ConfigurationProperty("maxArrayLength", typeof(System.Int32), 0, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 3873properties.Add(new ConfigurationProperty("maxBytesPerRead", typeof(System.Int32), 0, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 3874properties.Add(new ConfigurationProperty("maxNameTableCharCount", typeof(System.Int32), 0, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 3923properties.Add(new ConfigurationProperty("maxItemsInObjectGraph", typeof(System.Int32), 2147483647, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 4398properties.Add(new ConfigurationProperty("privacyNoticeVersion", typeof(System.Int32), 0, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 4595properties.Add(new ConfigurationProperty("maxOutboundConnectionsPerEndpoint", typeof(System.Int32), 10, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 4647properties.Add(new ConfigurationProperty("maxPendingReceives", typeof(System.Int32), 1, null, new System.Configuration.IntegerValidator(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Description\MessageContractExporter.cs (1)
288if (i == Int32.MaxValue)
System\ServiceModel\Description\ServiceReflector.cs (1)
131for (int i = 0; i < Int32.MaxValue; i++)
System\ServiceModel\Description\ServiceThrottlingBehavior.cs (2)
23int instances = Int32.MaxValue; 67this.instances = Int32.MaxValue;
System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (3)
767value = new Int32[0]; 879Int32[] arrayValue = (Int32[])value;
System\ServiceModel\Dispatcher\QuotaThrottle.cs (2)
27this.limit = Int32.MaxValue; 35get { return this.limit != Int32.MaxValue; }
System\ServiceModel\Dispatcher\ServiceThrottle.cs (4)
187FlowThrottle instanceContextsFt = new FlowThrottle(this.GotInstanceContext, Int32.MaxValue, 420((this.calls != null) && (this.calls.Capacity != Int32.MaxValue)) || 421((this.sessions != null) && (this.sessions.Capacity != Int32.MaxValue)) || 422((this.instanceContexts != null) && (this.instanceContexts.Capacity != Int32.MaxValue)));
System\ServiceModel\MsmqIntegration\ActiveXSerializer.cs (1)
345else if (obj is Int32)
System\ServiceModel\Security\NegotiationTokenAuthenticator.cs (1)
453this.maxMessageSize = Int32.MaxValue;
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (2)
26internal const int defaultMaxCachedSessionTokens = Int32.MaxValue; 1163int filterPriority = Int32.MaxValue - 10;
System\ServiceModel\Security\SecuritySessionServerSettings.cs (1)
741int sctPriority = Int32.MaxValue;
System\ServiceModel\Security\ServiceCredentialsSecurityTokenManager.cs (1)
74sctResolver = new SecurityContextSecurityTokenResolver(Int32.MaxValue, false);
System\ServiceModel\Security\TlsSspiNegotiation.cs (2)
722internal Int32 dwCertEncodingType; 724internal Int32 cbCertEncoded;
System\ServiceModel\Security\WSTrust.cs (5)
270keySize = Int32.Parse(XmlHelper.ReadTextElementAsTrimmedString(child), NumberFormatInfo.InvariantInfo); 292issuedTokenBuffer = new System.IdentityModel.XmlBuffer(Int32.MaxValue); 323System.IdentityModel.XmlBuffer rstrBuffer = new System.IdentityModel.XmlBuffer(Int32.MaxValue); 364keySize = Int32.Parse(XmlHelper.ReadTextElementAsTrimmedString(child), NumberFormatInfo.InvariantInfo); 1281keySize = Int32.Parse(XmlHelper.ReadTextElementAsTrimmedString(element), NumberFormatInfo.InvariantInfo);
System\ServiceModel\Transactions\WsatConfiguration.cs (1)
428if (regValue == null || !(regValue is Int32))
System.ServiceModel.Activities (6)
System\ServiceModel\Activities\ChannelCacheDefaults.cs (1)
18internal static int DefaultMaxItemsPerCache = Int32.Parse(DefaultMaxItemsPerCacheString, CultureInfo.CurrentCulture);
System\ServiceModel\Activities\Configuration\BufferedReceiveElement.cs (3)
23[IntegerValidator(MinValue = 1, MaxValue = Int32.MaxValue)] 48properties.Add(new ConfigurationProperty(MaxPendingMessagesPerChannelString, typeof(Int32), BufferedReceiveServiceBehavior.DefaultMaxPendingMessagesPerChannel, new Int32Converter(), new IntegerValidator(1, Int32.MaxValue), ConfigurationPropertyOptions.None));
System\ServiceModel\Activities\Configuration\ChannelSettingsElement.cs (1)
55properties.Add(new ConfigurationProperty(ConfigurationStrings.MaxItemsInCache, typeof(System.Int32), ChannelCacheDefaults.DefaultMaxItemsPerCache, null, new System.Configuration.IntegerValidator(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Activities\Configuration\FactorySettingsElement.cs (1)
55properties.Add(new ConfigurationProperty(ConfigurationStrings.MaxItemsInCache, typeof(System.Int32), ChannelCacheDefaults.DefaultMaxItemsPerCache, null, new System.Configuration.IntegerValidator(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
System.ServiceModel.Channels (8)
System\ServiceModel\Configuration\Properties.cs (8)
38properties.Add(new ConfigurationProperty("duplicateMessageHistoryLength", typeof(System.Int32), 0, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 40properties.Add(new ConfigurationProperty("maxRetransmitCount", typeof(System.Int32), 0, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 46properties.Add(new ConfigurationProperty("timeToLive", typeof(System.Int32), 1, null, new System.Configuration.IntegerValidator(0, 255, false), System.Configuration.ConfigurationPropertyOptions.None)); 94properties.Add(new ConfigurationProperty("duplicateMessageHistoryLength", typeof(System.Int32), 0, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 97properties.Add(new ConfigurationProperty("socketReceiveBufferSize", typeof(System.Int32), 65536, null, new System.Configuration.IntegerValidator(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 98properties.Add(new ConfigurationProperty("timeToLive", typeof(System.Int32), 1, null, new System.Configuration.IntegerValidator(0, 255, false), System.Configuration.ConfigurationPropertyOptions.None)); 126properties.Add(new ConfigurationProperty("maxMulticastRetransmitCount", typeof(System.Int32), 0, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None)); 127properties.Add(new ConfigurationProperty("maxUnicastRetransmitCount", typeof(System.Int32), 0, null, new System.Configuration.IntegerValidator(0, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
System.ServiceModel.Internals (8)
System\Runtime\TimeoutHelper.cs (1)
15public static readonly TimeSpan MaxWait = TimeSpan.FromMilliseconds(Int32.MaxValue);
System\Runtime\TypeHelper.cs (7)
327result = (T)(object)(Int32)sbyteSource; 356result = (T)(object)(Int32)byteSource; 385result = (T)(object)(Int32)int16Source; 408result = (T)(object)(Int32)uint16Source; 433Int32 int32Source = (Int32)source; 520result = (T)(object)(Int32)charSource;
System.ServiceModel.Web (5)
System\ServiceModel\Configuration\WebHttpBindingElement.cs (1)
164properties.Add(new ConfigurationProperty("maxBufferSize", typeof(System.Int32), 65536, null, new System.Configuration.IntegerValidator(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Configuration\WebHttpEndpointElement.cs (1)
155properties.Add(new ConfigurationProperty(ConfigurationStrings.MaxBufferSize, typeof(System.Int32), 65536, null, new System.Configuration.IntegerValidator(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Configuration\WebScriptEndpointElement.cs (1)
126properties.Add(new ConfigurationProperty(ConfigurationStrings.MaxBufferSize, typeof(System.Int32), 65536, null, new System.Configuration.IntegerValidator(1, 2147483647, false), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Dispatcher\QueryStringConverter.cs (2)
33this.defaultSupportedQueryStringTypes.Add(typeof(Int32), null); 91return parameter == null ? default(Int32) : XmlConvert.ToInt32(parameter);
System.Transactions (6)
System\Transactions\Oletx\DtcInterfaces.cs (2)
14internal static extern Int32 GetNotificationFactory( 226[MarshalAs(UnmanagedType.I4)] out Int32 cookieIndex,
System\Transactions\Oletx\OletxTransactionManager.cs (1)
527Int32 error = NativeMethods.GetNotificationFactory(
System\Transactions\Transaction.cs (1)
1453internal static extern void CoGetDefaultContext(Int32 aptType, ref Guid contextInterface, out SafeIUnknown safeUnknown);
System\Transactions\TransactionManager.cs (2)
44private const Int32 recoveryInformationVersion1 = 1; 45private const Int32 currentRecoveryVersion = recoveryInformationVersion1;
System.Web (163)
Compilation\BuildResult.cs (1)
269Flags = Int32.Parse(s, NumberStyles.AllowHexSpecifier, CultureInfo.InvariantCulture);
Compilation\ObjectFactoryCodeDomTreeGenerator.cs (2)
150for(var i = 0; i < ccu.Namespaces.Count; i++) { 152for(var n = 0; n < ns.Types.Count; n++) {
Compilation\PreservationFileReader.cs (1)
79BuildResultTypeCode resultTypeCode = (BuildResultTypeCode)Int32.Parse(
Configuration\CustomErrorCollection.cs (6)
45stringKeys[x] = ((Int32)objAllKeys[x]).ToString(CultureInfo.InvariantCulture); 53return (CustomError)BaseGet((object)Int32.Parse(statusCode, CultureInfo.InvariantCulture)); 104return (CustomError)BaseGet((object)Int32.Parse(statusCode, CultureInfo.InvariantCulture)); 108Int32 key = (Int32) BaseGetKey(index); 113BaseRemove((object)Int32.Parse(statusCode, CultureInfo.InvariantCulture));
Configuration\GlobalizationSection.cs (1)
267int errorLine = Int32.MaxValue;
Configuration\HealthMonitoringSection.cs (1)
253const int MAX_HEARTBEAT_VALUE = Int32.MaxValue / 1000; // in sec; this value will be converted to ms and passed to Timer ctor, which takes a ms param
Configuration\HttpRuntimeSection.cs (2)
759return ((maxLength < Int32.MaxValue) ? (int)maxLength : Int32.MaxValue);
Configuration\RegexMatchTimeoutValidator.cs (1)
9private static readonly TimeSpan _maxValue = TimeSpan.FromMilliseconds(Int32.MaxValue - 1); // from Regex.cs
Configuration\StrongNameUtility.cs (2)
40Debug.Assert(generatedSize > 0 && generatedSize <= Int32.MaxValue); 41if (generatedSize <= 0 || generatedSize > Int32.MaxValue) {
Handlers\TraceHandler.cs (1)
140int index = Int32.Parse(strid, CultureInfo.InvariantCulture);
Hosting\ApplicationManager.cs (1)
592siteId = Int32.Parse(appHost.GetSiteID(), CultureInfo.InvariantCulture);
Hosting\ISAPIWorkerRequest.cs (5)
1150return Int32.Parse(GetServerVariable("SERVER_PORT")); 1376Debug.Assert(offset64 < Int32.MaxValue); 1377Debug.Assert(length64 < Int32.MaxValue); 2919Debug.Assert(offset64 < Int32.MaxValue); 2920Debug.Assert(length64 < Int32.MaxValue);
HttpBufferlessInputStream.cs (1)
55_remainingBytes = (contentLength > 0) ? contentLength : Int32.MaxValue;
HttpClientCertificate.cs (3)
132_Flags = Int32.Parse(flags, CultureInfo.InvariantCulture); 158_KeySize = Int32.Parse(keySize, CultureInfo.InvariantCulture); 160_SecretKeySize = Int32.Parse(skeySize, CultureInfo.InvariantCulture);
HttpRequest.cs (2)
1000int remainingBytes = (ContentLength > 0) ? ContentLength - rawContent.Length : Int32.MaxValue; 1288_contentLength = Int32.Parse(s, CultureInfo.InvariantCulture);
HttpResponse.cs (3)
815int secondsToLive = seconds < Int32.MaxValue ? (int) seconds : Int32.MaxValue; 3044code = Int32.Parse(value.Substring(0, i), CultureInfo.InvariantCulture);
HttpRuntime.cs (5)
1200System.Net.ServicePointManager.DefaultConnectionLimit = Int32.MaxValue; 1913if (milli > Int32.MaxValue) 1914milli = Int32.MaxValue; 2402if (milli > Int32.MaxValue) 2403milli = Int32.MaxValue;
HttpWriter.cs (2)
430if ((!supportsLongTransmitFile && size > Int32.MaxValue) || (size < 0)) { 433if ((!supportsLongTransmitFile && offset > Int32.MaxValue) || (offset < 0)) {
Management\AppDomainResourcePerfCounters.cs (1)
112_MemUsageLastReported = (int) Math.Min(Int32.MaxValue, Math.Max(0, memInKB)); // Make sure its within 0 and Int32.MaxValue
Management\BufferedWebEventProvider.cs (1)
80_webEventBuffer.Flush(Int32.MaxValue, FlushCallReason.StaticFlush);
Profile\ProfileManager.cs (4)
123return Provider.GetAllProfiles(authenticationOption, 0, Int32.MaxValue, out totalRecords); 146return Provider.GetAllInactiveProfiles(authenticationOption, userInactiveSinceDate, 0, Int32.MaxValue, out totalRecords); 176return Provider.FindProfilesByUserName(authenticationOption, usernameToMatch, 0, Int32.MaxValue, out totalRecords); 224return Provider.FindInactiveProfilesByUserName(authenticationOption, usernameToMatch, userInactiveSinceDate, 0, Int32.MaxValue, out totalRecords);
Profile\ProfileModule.cs (2)
166int startPos = Int32.Parse(names[iter * 4 + 2], CultureInfo.InvariantCulture); 167int length = Int32.Parse(names[iter * 4 + 3], CultureInfo.InvariantCulture);
Profile\SqlProfileProvider.cs (1)
495if ( upperBound > Int32.MaxValue )
Security\ADMembershipProvider.cs (5)
2196if ( upperBound > Int32.MaxValue ) 2244if ( upperBound > Int32.MaxValue ) 2621dcLevel = Int32.Parse(dcLevelString, NumberFormatInfo.InvariantInfo); 3543port = Int32.Parse(tempStr.Substring(index + 1), NumberFormatInfo.InvariantInfo); 4171int startsAt = Int32.MaxValue;
Security\FormsAuthentication.cs (1)
788private static Int32 _Timeout;
Security\FormsAuthenticationTicket.cs (1)
214public FormsAuthenticationTicket(String name, bool isPersistent, Int32 timeout) {
Security\Membership.cs (3)
276return GetAllUsers( 0, Int32.MaxValue, out totalRecords); 543Int32.MaxValue, 585return FindUsersByEmail(emailToMatch, 0, Int32.MaxValue, out totalRecords);
Security\PassportIdentity.cs (2)
178_Name = Int32.Parse(this["MemberIDHigh"], CultureInfo.InvariantCulture).ToString("X8", CultureInfo.InvariantCulture) + 179Int32.Parse(this["MemberIDLow"], CultureInfo.InvariantCulture).ToString("X8", CultureInfo.InvariantCulture);
Security\SQLMembershipProvider.cs (3)
1223if ( upperBound > Int32.MaxValue ) 1358if ( upperBound > Int32.MaxValue ) 1457if ( upperBound > Int32.MaxValue )
State\SessionStateItemCollection.cs (1)
159t=typeof(Int32);
State\StateRuntime.cs (2)
348value = Int32.Parse(valueAsString, CultureInfo.InvariantCulture); 390value = Int32.Parse(valueAsString, CultureInfo.InvariantCulture);
UI\DataBinder.cs (1)
240intIndex = Int32.TryParse(index, NumberStyles.Integer, CultureInfo.InvariantCulture, out parsedIndex);
UI\DataSourceCache.cs (1)
209utcAbsoluteExpiryTime = DateTime.UtcNow.AddSeconds(Duration == 0 ? Int32.MaxValue : Duration);
UI\HtmlControls\HtmlImage.cs (3)
119return((s != null) ? Int32.Parse(s, CultureInfo.InvariantCulture) : -1); 146return((s != null) ? Int32.Parse(s, CultureInfo.InvariantCulture) : -1); 199return((s != null) ? Int32.Parse(s, CultureInfo.InvariantCulture) : -1);
UI\HtmlControls\HtmlInputFile.cs (2)
104return((s != null) ? Int32.Parse(s, CultureInfo.InvariantCulture) : -1); 144return((s != null) ? Int32.Parse(s, CultureInfo.InvariantCulture) : -1);
UI\HtmlControls\HtmlInputImage.cs (3)
122return((s != null) ? Int32.Parse(s, CultureInfo.InvariantCulture) : -1); 295_x = Int32.Parse(postX, CultureInfo.InvariantCulture); 296_y = Int32.Parse(postY, CultureInfo.InvariantCulture);
UI\HtmlControls\HtmlInputText.cs (2)
77return((s != null) ? Int32.Parse(s, CultureInfo.InvariantCulture) : -1); 104return((s != null) ? Int32.Parse(s, CultureInfo.InvariantCulture) : -1);
UI\HtmlControls\HtmlSelect.cs (1)
431return((s != null) ? Int32.Parse(s, CultureInfo.InvariantCulture) : -1);
UI\HtmlControls\HtmlTable.cs (3)
93return((s != null) ? Int32.Parse(s, CultureInfo.InvariantCulture) : -1); 135return((s != null) ? Int32.Parse(s, CultureInfo.InvariantCulture) : -1); 156return((s != null) ? Int32.Parse(s, CultureInfo.InvariantCulture) : -1);
UI\HtmlControls\HtmlTableCell.cs (2)
133return((s != null) ? Int32.Parse(s, CultureInfo.InvariantCulture) : -1); 212return((s != null) ? Int32.Parse(s, CultureInfo.InvariantCulture) : -1);
UI\HtmlControls\HtmlTextArea.cs (2)
65return((s != null) ? Int32.Parse(s, CultureInfo.InvariantCulture) : -1); 125return((s != null) ? Int32.Parse(s, CultureInfo.InvariantCulture) : -1);
UI\LegacyPageAsyncTaskManager.cs (1)
357if (timerPeriod >= (double)Int32.MaxValue) {
UI\Page.cs (2)
246private static readonly TimeSpan _maxAsyncTimeout = TimeSpan.FromMilliseconds(Int32.MaxValue); 2063int viewhash = Int32.Parse(hashCode, NumberFormatInfo.InvariantInfo);
UI\WebControls\basecomparevalidator.cs (11)
207value = Int32.Parse(text, CultureInfo.InvariantCulture); 342day = Int32.Parse(m.Groups[6].Value, CultureInfo.InvariantCulture); 343month = Int32.Parse(m.Groups[5].Value, CultureInfo.InvariantCulture); 345year = Int32.Parse(m.Groups[2].Value, CultureInfo.InvariantCulture); 348year = GetFullYear(Int32.Parse(m.Groups[3].Value, CultureInfo.InvariantCulture)); 363day = Int32.Parse(m.Groups[3].Value, CultureInfo.InvariantCulture); 364month = Int32.Parse(m.Groups[1].Value, CultureInfo.InvariantCulture); 367day = Int32.Parse(m.Groups[1].Value, CultureInfo.InvariantCulture); 368month = Int32.Parse(m.Groups[3].Value, CultureInfo.InvariantCulture); 371year = Int32.Parse(m.Groups[5].Value, CultureInfo.InvariantCulture); 373year = GetFullYear(Int32.Parse(m.Groups[6].Value, CultureInfo.InvariantCulture));
UI\WebControls\BulletedList.cs (1)
495OnClick(new BulletedListEventArgs(Int32.Parse(eventArgument, CultureInfo.InvariantCulture)));
UI\WebControls\Calendar.cs (3)
1170int newDateDiff = Int32.Parse(eventArgument.Substring(NAVIGATE_MONTH_COMMAND.Length), CultureInfo.InvariantCulture); 1185int rangeValue = Int32.Parse(eventArgument.Substring(SELECT_RANGE_COMMAND.Length), CultureInfo.InvariantCulture); 1197int dayDiff = Int32.Parse(eventArgument, CultureInfo.InvariantCulture);
UI\WebControls\CheckBoxList.cs (1)
362int index = Int32.Parse(strIndex, CultureInfo.InvariantCulture);
UI\WebControls\DataGrid.cs (1)
1511newPage = Int32.Parse(pageNumberArg, CultureInfo.InvariantCulture) - 1;
UI\WebControls\DetailsView.cs (2)
2864int oldPageIndex = Int32.Parse(pageIndex, CultureInfo.InvariantCulture); 3352int pageNumber = Int32.Parse(arguments[0], CultureInfo.InvariantCulture);
UI\WebControls\FileUpload.cs (1)
71if (fileStreamLength > Int32.MaxValue) {
UI\WebControls\GridView.cs (5)
2819return Int32.TryParse(commandArgument, NumberStyles.Integer, CultureInfo.InvariantCulture, out rowIndex); 3509int oldPageIndex = Int32.Parse(pageIndex, CultureInfo.InvariantCulture); 3510SortDirection oldSortDirection = ((SortDirection)Int32.Parse(sortDirection, CultureInfo.InvariantCulture)); 4133int pageNumber = Int32.Parse(arguments[0], CultureInfo.InvariantCulture); 4135int sortDirection = Int32.Parse(arguments[1], CultureInfo.InvariantCulture);
UI\WebControls\ImageMap.cs (1)
314int hotSpotIndex = Int32.Parse(eventArgument, CultureInfo.InvariantCulture);
UI\WebControls\MenuItemCollection.cs (2)
235LogItemType type = (LogItemType)Int32.Parse(parts[0], CultureInfo.InvariantCulture); 236int index = Int32.Parse(parts[1], CultureInfo.InvariantCulture);
UI\WebControls\ModelDataSourceView.cs (1)
837var affectedRecords = -1;
UI\WebControls\MultiView.cs (1)
293index = Int32.Parse((string)ce.CommandArgument, CultureInfo.InvariantCulture);
UI\WebControls\TreeNodeCollection.cs (2)
279LogItemType type = (LogItemType)Int32.Parse(parts[0], CultureInfo.InvariantCulture); 280int index = Int32.Parse(parts[1], CultureInfo.InvariantCulture);
UI\WebControls\TreeView.cs (6)
2328return Int32.Parse(s.Substring(i + 1), CultureInfo.InvariantCulture); 3234int nodeIndex = Int32.Parse(nodeIndexString, CultureInfo.InvariantCulture); 3239int lastIndex = Int32.Parse(_callbackEventArgument.Substring(startIndex, endIndex - startIndex), CultureInfo.InvariantCulture); 3253int nodeTextLength = Int32.Parse(_callbackEventArgument.Substring(startIndex, endIndex - startIndex), CultureInfo.InvariantCulture); 3261int dataPathLength = Int32.Parse(_callbackEventArgument.Substring(startIndex, endIndex - startIndex), CultureInfo.InvariantCulture); 3370int populateIndex = Int32.Parse(logParts[i], NumberStyles.Integer, CultureInfo.InvariantCulture);
UI\WebControls\Wizard.cs (3)
1461int newIndex = Int32.Parse((String)e.CommandArgument, CultureInfo.InvariantCulture); 1812newIndex = Int32.Parse((String)ce.CommandArgument, CultureInfo.InvariantCulture); 2578var placeholderIndex = targetContainer.Controls.IndexOf(placeholder);
UI\WebParts\AppearanceEditorPart.cs (1)
312(UnitType)Int32.Parse(_type.SelectedValue, CultureInfo.InvariantCulture) : (UnitType)0;
UI\WebParts\LayoutEditorPart.cs (1)
112if (Int32.TryParse(_zoneIndex.Text, NumberStyles.Integer, CultureInfo.CurrentCulture, out zoneIndex)) {
UI\WebParts\PersonalizationAdministration.cs (1)
27private const int _defaultPageSize = Int32.MaxValue;
UI\WebParts\PersonalizationProviderHelper.cs (1)
116if (upperBound > Int32.MaxValue) {
UI\WebParts\SqlPersonalizationProvider.cs (14)
336if (parameter != null && parameter.Value != null && parameter.Value is Int32) { 337count = (Int32) parameter.Value; 419if (parameter != null && parameter.Value != null && parameter.Value is Int32) { 420count = (Int32) parameter.Value; 658if (parameter != null && parameter.Value != null && parameter.Value is Int32) { 659count = (Int32) parameter.Value; 715if (countParam != null && countParam.Value != null && countParam.Value is Int32) { 716resultCount += (Int32) countParam.Value; 834if (countParam != null && countParam.Value != null && countParam.Value is Int32) { 835count = (Int32) countParam.Value; 850if (countParam != null && countParam.Value != null && countParam.Value is Int32) { 851count += (Int32) countParam.Value; 871if (countParam != null && countParam.Value != null && countParam.Value is Int32) { 872count += (Int32) countParam.Value;
UI\WebParts\WebPartZoneBase.cs (1)
1113int dropPartIndex = Int32.Parse(eventArguments[2], CultureInfo.InvariantCulture);
Util\altserialization.cs (3)
57else if (value is Int32) { 59writer.Write((Int32) value); 130writer.Write((Int32)v.ToInt32());
Util\AppSettings.cs (3)
322private const int DefaultMaxHttpCollectionKeys = Int32.MaxValue; 332private const int DefaultMaxJsonDeserializerMembers = Int32.MaxValue; 517internal const int UnlimitedRequestsPerSession = Int32.MaxValue;
Util\ProviderUtil.cs (1)
21internal const int Infinite = Int32.MaxValue;
Util\SecUtil.cs (2)
195if (!Int32.TryParse(sValue, out iValue)) { 233if (sValue == null || !Int32.TryParse(sValue, out iValue)) {
WorkerRequest.cs (4)
728l = Int32.Parse(contentLength, CultureInfo.InvariantCulture); 1322return(Int32)intObj; 1351return(Int32)intObj; 1389Int32 i32 = new Int32();
System.Web.DataVisualization (27)
Common\ChartTypes\PieChart.cs (2)
1965 int [] positionIndex = new Int32[numberOfLeft]; 2018 int [] positionIndex = new Int32[numberOfRight];
Common\DataManager\DataPoint.cs (5)
190 _sortingValueIndex = Int32.Parse(sortBy.Substring(1), System.Globalization.CultureInfo.InvariantCulture) - 1; 1520else if (columnDataType == typeof(Int32)) 2050 else if(value is Int32) 2052 return (double)((Int32)value); 2412 yIndex = Int32.Parse(valueName.Substring(1), System.Globalization.CultureInfo.InvariantCulture) - 1;
Common\DataManager\DataSeries.cs (2)
927 type == typeof(Int32) || 1426if (Int32.TryParse(dp["OriginalPointIndex"], NumberStyles.Integer, CultureInfo.InvariantCulture, out index))
Common\General\BaseCollections.cs (1)
376for (int i = 1; i < System.Int32.MaxValue; i++)
Common\General\DataManipulator.cs (4)
1565 result[index] = Int32.Parse(rangeIndex[0], System.Globalization.CultureInfo.InvariantCulture); 1566 result[index + 1] = Int32.Parse(rangeIndex[1], System.Globalization.CultureInfo.InvariantCulture); 1590 result[index] = Int32.Parse(str, System.Globalization.CultureInfo.InvariantCulture); 3158 valueIndex = Int32.Parse(formulaParts[0], System.Globalization.CultureInfo.InvariantCulture);
Common\General\FormulaData.cs (2)
634valueIndex = Int32.Parse(parts[1], System.Globalization.CultureInfo.InvariantCulture); 1086for (Int32 i = 0; i < parameterList.Length; i++)
Common\General\Selection.cs (2)
2560private static Int32 GetDataPointIndex(DataPoint dataPoint) 2568if (!Int32.TryParse(dataPoint.GetCustomProperty("OriginalPointIndex"), out pointIndex))
Common\Utilities\XmlSerializer.cs (2)
561 gdiCharSet = (byte)Int32.Parse(val, System.Globalization.CultureInfo.InvariantCulture); 2174 objValue = new Unit(Int32.Parse(attrValue, System.Globalization.CultureInfo.InvariantCulture));
WebForm\ChartWebControl.cs (3)
829 maxSeqNumber = Int32.Parse(values[0], System.Globalization.CultureInfo.InvariantCulture); 830 imageTimeToLive = Int32.Parse(values[1], System.Globalization.CultureInfo.InvariantCulture); 1701if (Int32.TryParse(value.ToString(), out result))
WebForm\General\ChartHttpHandler.cs (4)
206for (Int32 i = 0; i < 2048; i++) 468Int32 tryCounts = 10; 1112int seconds = Int32.Parse(value, CultureInfo.InvariantCulture); 1744internal Int32 Index;
System.Web.DynamicData (8)
DynamicData\DataSourceUtil.cs (1)
27typeNameToTypeCode[typeof(Int32)] = TypeCode.Int32;
DynamicData\MetaColumn.cs (1)
23private static readonly int s_longStringLengthCutoff = ((Int32.MaxValue >> 1) - 4);
DynamicData\ModelProviders\DLinqColumnProvider.cs (5)
69return Int32.MaxValue >> 1; // see sql server 2005 spec for ntext 73return Int32.MaxValue; // see sql server 2005 spec for text 77return (Int32.MaxValue >> 1) - 2; // see sql server 2005 spec for nvarchar 81return Int32.MaxValue - 2; // see sql server 2005 spec for varchar 86return Int32.Parse(m.Groups[1].Value, CultureInfo.InvariantCulture);
DynamicData\ModelProviders\EFColumnProvider.cs (1)
67MaxLength = Int32.MaxValue;
System.Web.Entity (2)
System\Data\WebControls\EntityDataSourceUtil.cs (2)
346return typeof(Int32); 411return typeof(Int32);
System.Web.Extensions (15)
Compilation\XmlSerializer\DataSvcMapFileSerializer.cs (4)
149WriteAttribute(@"SourceId", @"", System.Xml.XmlConvert.ToString((global::System.Int32)((global::System.Int32)o.@SourceId))); 193WriteAttribute(@"SourceId", @"", System.Xml.XmlConvert.ToString((global::System.Int32)((global::System.Int32)o.@SourceId)));
Compilation\XmlSerializer\SvcMapFileSerializer.cs (4)
120WriteAttribute(@"SourceId", @"", System.Xml.XmlConvert.ToString((global::System.Int32)((global::System.Int32)o.@SourceId))); 164WriteAttribute(@"SourceId", @"", System.Xml.XmlConvert.ToString((global::System.Int32)((global::System.Int32)o.@SourceId)));
Script\Serialization\JavaScriptObjectDeserializer.cs (1)
237if (Int32.TryParse(input, NumberStyles.Integer, CultureInfo.InvariantCulture, out n)) {
UI\WebControls\DataPager.cs (1)
472if (Int32.TryParse(QueryStringValue, out pageIndex)) {
UI\WebControls\Dynamic.cs (4)
607typeof(Int32), 964if (value <= (ulong)Int32.MaxValue) return CreateLiteral((int)value, text); 974if (value >= Int32.MinValue && value <= Int32.MaxValue)
UI\WebControls\ListView.cs (1)
2101return Int32.TryParse(commandArgument, NumberStyles.Integer, CultureInfo.InvariantCulture, out itemIndex);
System.Web.Mobile (25)
UI\MobileControls\Adapters\ChtmlCalendarAdapter.cs (1)
589SecondaryUIMode = Int32.Parse(eventArgument, CultureInfo.InvariantCulture);
UI\MobileControls\Adapters\HtmlObjectListAdapter.cs (2)
559itemIndex = Int32.Parse(eventArgument, CultureInfo.InvariantCulture); 588return Int32.Parse(arg.Substring(ShowMore.Length), CultureInfo.InvariantCulture);
UI\MobileControls\Adapters\HtmlSelectionListAdapter.cs (1)
278selectedItemIndices[i] = Int32.Parse(selectedItems[i], CultureInfo.InvariantCulture);
UI\MobileControls\Adapters\WmlCalendarAdapter.cs (1)
570SecondaryUIMode = Int32.Parse(eventArgument, CultureInfo.InvariantCulture);
UI\MobileControls\Adapters\WmlObjectListAdapter.cs (2)
327itemIndex = Int32.Parse(eventArgument, CultureInfo.InvariantCulture); 374return Int32.Parse(arg.Substring(_showMore.Length), CultureInfo.InvariantCulture);
UI\MobileControls\Adapters\WmlSelectionListAdapter.cs (1)
228selectedItemIndices[i] = Int32.Parse(selectedItems[i], CultureInfo.InvariantCulture) - 1;
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicCalendarAdapter.cs (1)
525SecondaryUIMode = Int32.Parse(eventArgument, CultureInfo.InvariantCulture);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicObjectListAdapter.cs (2)
108itemIndex = Int32.Parse(eventArgument, CultureInfo.InvariantCulture); 192return Int32.Parse(arg.Substring(ShowMore.Length), CultureInfo.InvariantCulture);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicSelectionListAdapter.cs (1)
132selectedItemIndices[i] = Int32.Parse(selectedItems[i], CultureInfo.InvariantCulture);
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlMobileTextWriter.cs (3)
744public override void WriteLine(Int32 v) { 764public override void WriteLine(Char[] buffer, Int32 index, Int32 count) {
UI\MobileControls\ControlsConfig.cs (1)
173size = Int32.Parse(sizeString, CultureInfo.InvariantCulture);
UI\MobileControls\Design\ListGeneralPage.cs (3)
329itemCount = Int32.Parse(_itemCountTextBox.Text, CultureInfo.InvariantCulture); 344itemsPerPage = Int32.Parse(_itemsPerPageTextBox.Text, CultureInfo.InvariantCulture); 385rows = Int32.Parse(_rowsTextBox.Text, CultureInfo.InvariantCulture);
UI\MobileControls\Design\MobileContainerDesigner.cs (1)
496for (Int32 i = 0; i < allChildren.GetLength(); i++)
UI\MobileControls\Design\ObjectListGeneralPage.cs (2)
203itemCount = Int32.Parse(_txtItemCount.Text, CultureInfo.InvariantCulture); 218itemsPerPage = Int32.Parse(_txtItemsPerPage.Text, CultureInfo.InvariantCulture);
UI\MobileControls\DeviceSpecificChoice.cs (1)
233o = Int32.Parse(value, CultureInfo.InvariantCulture);
UI\MobileControls\Form.cs (1)
161int page = Int32.Parse(eventArgument, CultureInfo.InvariantCulture);
UI\MobileControls\List.cs (1)
485int item = Int32.Parse(eventArgument, CultureInfo.InvariantCulture);
System.Web.Services (8)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (6)
805if (((global::System.Int32)o.@Group) != 1) { 806WriteAttribute(@"group", @"", System.Xml.XmlConvert.ToString((global::System.Int32)((global::System.Int32)o.@Group))); 808if (((global::System.Int32)o.@Capture) != 0) { 809WriteAttribute(@"capture", @"", System.Xml.XmlConvert.ToString((global::System.Int32)((global::System.Int32)o.@Capture)));
System\Web\Services\Protocols\RequestResponse.cs (2)
227ch = (char)Int32.Parse(entity.Substring(2), NumberStyles.AllowHexSpecifier, CultureInfo.InvariantCulture); 229ch = (char)Int32.Parse(entity.Substring(1), CultureInfo.InvariantCulture);
System.Windows.Forms (95)
misc\DpiHelper.cs (1)
601var scaledValue = (int)Math.Round(value * pixelFactor);
misc\GDI\WindowsGraphics2.cs (4)
40public static readonly Size MaxSize = new Size(Int32.MaxValue, Int32.MaxValue); 167Rectangle bounds = new Rectangle( pt.X, pt.Y, Int32.MaxValue, Int32.MaxValue );
misc\GDI\WindowsRegion.cs (4)
191return new Rectangle( -Int32.MaxValue, -Int32.MaxValue, Int32.MaxValue, Int32.MaxValue );
parent\parent\parent\public\Internal\NDP\Inc\IsolationInterop.cs (1)
2589[In] Int32 hr,
winforms\Managed\System\WinForms\AccessibleObject.cs (1)
2457else if (!(childID is Int32)) {
winforms\Managed\System\WinForms\AxHost.cs (2)
2636Int32 key = cat; 4040int dispid = Int32.Parse(name.Substring(8, endIndex - 8), CultureInfo.InvariantCulture);
winforms\Managed\System\WinForms\Button.cs (1)
46private const int InvalidDimensionValue = Int32.MinValue;
winforms\Managed\System\WinForms\CheckedListBox.cs (2)
1285if (index is Int32) { 1339if (index is Int32) {
winforms\Managed\System\WinForms\ComboBox.cs (4)
3268Select(0, Int32.MaxValue); 4654var itemsCount = comboBoxChildListUiaProvider.GetChildFragmentCount(); 4899var childFragmentCount = GetChildFragmentCount(); 5223var childFragmentCount = GetChildFragmentCount();
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2ColorConverter.cs (1)
46else if (nativeValue is Int32){
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (1)
957return typeof(Int32);
winforms\Managed\System\WinForms\Control.cs (1)
19850topic = Int32.Parse(args.HelpKeyword, CultureInfo.InvariantCulture);
winforms\Managed\System\WinForms\DataGridDefaultColumnWidthTypeConverter.cs (1)
71return Int32.Parse(text, CultureInfo.CurrentCulture);
winforms\Managed\System\WinForms\DataGridTable.cs (1)
1470dataType.Equals(typeof(Int32)) ||
winforms\Managed\System\WinForms\DataGridViewCell.cs (4)
2867Size requiredSize = TextRenderer.MeasureText(text, font, new Size(maxWidth, System.Int32.MaxValue), flags); 2915textSize = TextRenderer.MeasureText(text, font, new Size((int)maxWidth, System.Int32.MaxValue), flags); 2950return TextRenderer.MeasureText(text, font, new Size(System.Int32.MaxValue, System.Int32.MaxValue), flags);
winforms\Managed\System\WinForms\DataGridViewColumn.cs (3)
368if (value == Int32.MaxValue) 370throw new ArgumentOutOfRangeException("DisplayIndex", value, SR.GetString(SR.DataGridViewColumn_DisplayIndexTooLarge, Int32.MaxValue.ToString(CultureInfo.CurrentCulture))); 433Debug.Assert(value < Int32.MaxValue);
winforms\Managed\System\WinForms\DataGridViewColumnCollection.cs (4)
345smallestDisplayIndex = Int32.MaxValue; 841int indexMin = Int32.MaxValue, displayIndexMin = Int32.MaxValue; 1288public Int32 Compare(Object x, Object y)
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (1)
1057return DataGridViewCell.MeasureTextHeight(graphics, " ", cellStyle.Font, System.Int32.MaxValue, TextFormatFlags.Default) + adjustment;
winforms\Managed\System\WinForms\DataGridViewUtilities.cs (2)
323Size sizeRequired = TextRenderer.MeasureText(text, font, new Size(System.Int32.MaxValue, System.Int32.MaxValue), flags);
winforms\Managed\System\WinForms\FontDialog.cs (1)
604cf.nSizeMax = Int32.MaxValue;
winforms\Managed\System\WinForms\Help.cs (1)
263else if (param.GetType() == typeof(Int32)) {
winforms\Managed\System\WinForms\Layout\FlowLayout.cs (2)
112displayRect.Width = Int32.MaxValue - displayRect.X; 186Size elementConstraints = new Size(Int32.MaxValue, rowBounds.Height - elementProxy.Margin.Size.Height);
winforms\Managed\System\WinForms\Layout\LayoutUtils.cs (8)
23public static readonly Size MaxSize = new Size(Int32.MaxValue, Int32.MaxValue); 24public static readonly Size InvalidSize = new Size(Int32.MinValue, Int32.MinValue); 26public static readonly Rectangle MaxRectangle = new Rectangle(0, 0, Int32.MaxValue, Int32.MaxValue); 131if(size.Width == 0) size.Width = Int32.MaxValue; 132if(size.Height == 0) size.Height = Int32.MaxValue;
winforms\Managed\System\WinForms\Layout\TableLayout.cs (5)
361xAssignRowsAndColumns(containerInfo, childrenInfo, numCols, numRows == 0 ? Int32.MaxValue : numRows, growStyle); 379xAssignRowsAndColumns(containerInfo, childrenInfo, /* numCols = */ Math.Max(minColumn,1), /* numRows = */ Int32.MaxValue, growStyle); 505numRows = (numRows == Int32.MaxValue) ? rowStop : Math.Max(numRows, rowStop); 506numColumns = (numColumns == Int32.MaxValue) ? colStop : Math.Max(numColumns, colStop); 524numRows = (maxRows == Int32.MaxValue) ? numRows : maxRows;
winforms\Managed\System\WinForms\ListBox.cs (4)
3473if (item is Int32) { 3512if (item is Int32) { 3891if (selectedIndex is Int32) { 3922if (selectedIndex is Int32) {
winforms\Managed\System\WinForms\ListView.cs (4)
6554if (checkedIndex is Int32) { 6579if (checkedIndex is Int32) { 7117if (selectedIndex is Int32) { 7142if (selectedIndex is Int32) {
winforms\Managed\System\WinForms\NativeWindow.cs (1)
964for (int j = ((minSize - 2) | 1); j < Int32.MaxValue; j += 2) {
winforms\Managed\System\WinForms\NumericUpDownAcceleration.cs (3)
17private Int32 seconds; // Ideally we would use UInt32 but it is not CLS-compliant. 20public NumericUpDownAcceleration(Int32 seconds, Decimal increment) 40public Int32 Seconds
winforms\Managed\System\WinForms\Printing\PageSetupDialog.cs (1)
376if (result > 0 && Int32.Parse(sb.ToString(), CultureInfo.InvariantCulture) == 0) {
winforms\Managed\System\WinForms\PropertyGrid.cs (3)
2702int ratio = Int32.Parse((string)val, CultureInfo.InvariantCulture); 2711int ratio = Int32.Parse((string)val, CultureInfo.InvariantCulture); 5461var childFragmentCount = GetChildFragmentCount();
winforms\Managed\System\WinForms\PropertyGridInternal\DocComment.cs (1)
94var padding = DpiHelper.EnableDpiChangedHighDpiImprovements ? LogicalToDeviceUnits(2) : 2;
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (9)
1103var scaledIconWidth = width; 1104var scaledIconHeight = height; 4081var outlineRectIconSize = this.GetOutlineIconSize(); 6102var oldDpi = this.deviceDpi; 6124var scrollbarHeight = SystemInformation.GetHorizontalScrollBarHeightForDpi(newDpi); 6261var itemsCount = gridViewListBoxAccessibleObject.GetChildFragmentCount(); 6466var childFragmentCount = GetChildFragmentCount(); 7469var topLevelGridEntriesCount = topLevelGridEntries.Count; 7487var topLevelGridEntriesCount = topLevelGridEntries.Count;
winforms\Managed\System\WinForms\RichTextBox.cs (1)
3060SendMessage(RichTextBoxConstants.EM_EXLIMITTEXT, 0, Int32.MaxValue);
winforms\Managed\System\WinForms\SendKeys.cs (1)
456repeat = Int32.Parse(keys.Substring(digit, j - digit), CultureInfo.InvariantCulture);
winforms\Managed\System\WinForms\StatusStrip.cs (2)
309proposedSize.Width = Int32.MaxValue; 312proposedSize.Height = Int32.MaxValue;
winforms\Managed\System\WinForms\TableLayoutSettingsTypeConverter.cs (1)
149if (Int32.TryParse(attributeValue, out result)) {
winforms\Managed\System\WinForms\ToolStrip.cs (4)
52internal static Point InvalidMouseEnter = new Point(Int32.MaxValue, Int32.MaxValue); 2451proposedSize.Width = Int32.MaxValue; 2454proposedSize.Height = Int32.MaxValue;
winforms\Managed\System\WinForms\ToolStripItem.cs (3)
4315topic = Int32.Parse(args.HelpKeyword, CultureInfo.InvariantCulture); 4603private readonly static Size INVALID_SIZE = new Size(Int32.MinValue,Int32.MinValue);
winforms\Managed\System\WinForms\TreeView.cs (1)
2045SafeNativeMethods.SetWindowPos(new HandleRef(this, this.Handle), NativeMethods.NullHandleRef, this.Left, this.Top, Int32.MaxValue, this.Height, flags);
System.Windows.Forms.DataVisualization (20)
Common\ChartTypes\PieChart.cs (2)
1965 int [] positionIndex = new Int32[numberOfLeft]; 2018 int [] positionIndex = new Int32[numberOfRight];
Common\DataManager\DataPoint.cs (5)
190 _sortingValueIndex = Int32.Parse(sortBy.Substring(1), System.Globalization.CultureInfo.InvariantCulture) - 1; 1520else if (columnDataType == typeof(Int32)) 2050 else if(value is Int32) 2052 return (double)((Int32)value); 2412 yIndex = Int32.Parse(valueName.Substring(1), System.Globalization.CultureInfo.InvariantCulture) - 1;
Common\DataManager\DataSeries.cs (2)
927 type == typeof(Int32) || 1426if (Int32.TryParse(dp["OriginalPointIndex"], NumberStyles.Integer, CultureInfo.InvariantCulture, out index))
Common\General\BaseCollections.cs (1)
376for (int i = 1; i < System.Int32.MaxValue; i++)
Common\General\DataManipulator.cs (4)
1565 result[index] = Int32.Parse(rangeIndex[0], System.Globalization.CultureInfo.InvariantCulture); 1566 result[index + 1] = Int32.Parse(rangeIndex[1], System.Globalization.CultureInfo.InvariantCulture); 1590 result[index] = Int32.Parse(str, System.Globalization.CultureInfo.InvariantCulture); 3158 valueIndex = Int32.Parse(formulaParts[0], System.Globalization.CultureInfo.InvariantCulture);
Common\General\FormulaData.cs (2)
634valueIndex = Int32.Parse(parts[1], System.Globalization.CultureInfo.InvariantCulture); 1086for (Int32 i = 0; i < parameterList.Length; i++)
Common\General\Selection.cs (2)
2560private static Int32 GetDataPointIndex(DataPoint dataPoint) 2568if (!Int32.TryParse(dataPoint.GetCustomProperty("OriginalPointIndex"), out pointIndex))
Common\Utilities\XmlSerializer.cs (2)
561 gdiCharSet = (byte)Int32.Parse(val, System.Globalization.CultureInfo.InvariantCulture); 2174 objValue = new Unit(Int32.Parse(attrValue, System.Globalization.CultureInfo.InvariantCulture));
System.Workflow.Activities (1)
Rules\Parser\Symbol.cs (1)
187GenericArgCount = Int32.Parse(count, CultureInfo.InvariantCulture);
System.Workflow.ComponentModel (4)
AuthoringOM\Bind.cs (3)
1213if (paramType != typeof(String) && paramType != typeof(System.Int32)) 1221else if (paramType == typeof(System.Int32)) 1222arg = Convert.ChangeType(argName, typeof(System.Int32), CultureInfo.InvariantCulture);
AuthoringOM\Design\DesignerHelpers.cs (1)
1657while (duplicate && tryCount < Int32.MaxValue)
System.Workflow.Runtime (1)
Tracking\SqlTrackingService.cs (1)
2464if (stream.Length > Int32.MaxValue)
System.Xml (64)
parent\parent\parent\parent\InternalApis\NDP_Common\inc\Win8Helpers.cs (3)
34private static extern Int32 _GetCurrentPackageId( 35ref Int32 pBufferLength, 72Int32 bufLen = 0;
System\Xml\BinaryXml\XmlBinaryReader.cs (5)
2898Type TypeOfInt32 = typeof(System.Int32); 3603return (Int32)this.data[this.tokDataPos]; 3746(Int32)this.data[this.tokDataPos], 3918Int32 GetInt32(int pos) { 3920return (Int32)(data[pos] | data[pos + 1] << 8 | data[pos + 2] << 16 | data[pos + 3] << 24);
System\Xml\Dom\DocumentXPathNavigator.cs (1)
392int index = Int32.MaxValue;
System\Xml\Dom\XPathNodeList.cs (1)
28ReadUntil(Int32.MaxValue);
System\Xml\Schema\FacetChecker.cs (2)
656internal virtual Exception CheckValueFacets(Int32 value, XmlSchemaDatatype datatype) { 888internal override Exception CheckValueFacets(Int32 value, XmlSchemaDatatype datatype) {
System\Xml\Schema\XmlValueConverter.cs (4)
810if (value < (decimal) Int32.MinValue || value > (decimal) Int32.MaxValue) 859if (value < (long) Int32.MinValue || value > (long) Int32.MaxValue)
System\Xml\Schema\XsdDuration.cs (1)
633if (result > (Int32.MaxValue - digit) / 10) {
System\Xml\Serialization\CodeGenerator.cs (4)
199if (Int32.TryParse(name, out val)) { 1091new Type[] { typeof(Int32), typeof(Int32), typeof(Int32), typeof(Boolean), typeof(Byte) },
System\Xml\Serialization\CodeIdentifier.cs (1)
173int arguments = Int32.Parse(name.Substring(nameEnd+1), CultureInfo.InvariantCulture) + index;
System\Xml\Serialization\PrimitiveXmlSerializers.cs (2)
27WriteElementStringRaw(@"int", @"", System.Xml.XmlConvert.ToString((System.Int32)((System.Int32)o)));
System\Xml\Serialization\SourceInfo.cs (2)
31new Type[] { typeof(Int32) }, 96new Type[] { typeof(Int32) },
System\Xml\Serialization\XmlCodeExporter.cs (1)
223type == typeof(Int32) ||
System\Xml\Serialization\XmlCountingReader.cs (1)
26if (advanceCount == Int32.MaxValue)
System\Xml\Serialization\XmlSerializationReader.cs (2)
987soapArrayInfo.length = Int32.Parse(lengthString, CultureInfo.InvariantCulture); 1045soapArrayInfo.length = Int32.Parse(dimensions[i], CultureInfo.InvariantCulture);
System\Xml\Serialization\XmlSerializationReaderILGen.cs (11)
587ilg.Stloc(typeof(Int32), "state"); 1692ilg.Stloc(typeof(Int32), "state"); 2156LocalBuilder localI = ilg.DeclareOrGetLocal(typeof(Int32), "i"); 2674new Type[] { typeof(Array), typeof(Int32), typeof(Type), typeof(Boolean) }, 2746new Type[] { typeof(Array), typeof(Int32), typeof(Type) }, 3455ilg.Stloc(typeof(Int32), String.Format(CultureInfo.InvariantCulture, "whileIterations{0}", nextWhileLoopIndex)); 3458ilg.Stloc(typeof(Int32), String.Format(CultureInfo.InvariantCulture, "readerCount{0}", nextWhileLoopIndex)); 3557ilg.LoadArrayElement(idsLoc, Int32.Parse(source.Substring(14, source.Length - 16), CultureInfo.InvariantCulture)); 3571ilg.LoadArrayElement(idsLoc, Int32.Parse(id.Substring(4, id.Length - 5), CultureInfo.InvariantCulture)); 3657ilg.LoadArrayElement(ilg.GetLocal("paramsRead"), Int32.Parse(match.Groups["index"].Value, CultureInfo.InvariantCulture)); 3666ilg.StoreArrayElement(ilg.GetLocal("paramsRead"), Int32.Parse(match.Groups["index"].Value, CultureInfo.InvariantCulture), value);
System\Xml\Serialization\XmlSerializationWriter.cs (4)
494if (index <= Int32.MaxValue) { 495Int32 newIndex = (Int32)index; 3081Writer.Write(((Int32)value).ToString(null, NumberFormatInfo.InvariantInfo));
System\Xml\Serialization\XmlSerializationWriterILGen.cs (3)
1166LocalBuilder localI = ilg.DeclareOrGetLocal(typeof(Int32), iVar); 1170LocalBuilder localI = ilg.DeclareOrGetLocal(typeof(Int32), iVar); 1501LocalBuilder localI = ilg.DeclareOrGetLocal(typeof(Int32), iPlusArrayName);
System\Xml\XmlConvert.cs (10)
127Int32 u = 216Int32 u = XmlCharType.CombineSurrogateChar(y, x); 222bufBld.Append(((Int32)name[0]).ToString("X4", CultureInfo.InvariantCulture)); 258Int32 u = XmlCharType.CombineSurrogateChar(y, x); 264bufBld.Append(((Int32)name[position]).ToString("X4", CultureInfo.InvariantCulture)); 669public static string ToString(Int32 value) { 929public static Int32 ToInt32 (string s) { 930return Int32.Parse(s, NumberStyles.AllowLeadingSign|NumberStyles.AllowLeadingWhite|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo); 934internal static Exception TryToInt32(string s, out Int32 result) { 935if (!Int32.TryParse(s, NumberStyles.AllowLeadingSign|NumberStyles.AllowLeadingWhite|NumberStyles.AllowTrailingWhite, NumberFormatInfo.InvariantInfo, out result)) {
System\Xml\XmlQualifiedName.cs (1)
36Int32 hash;
System\Xml\XPath\Internal\ExtensionQuery.cs (2)
76if (value is Int32 ) return (double)(Int32)value;
System\Xml\XPath\Internal\SortQuery.cs (3)
49Int32 numSorts = this.comparer.NumSorts; 57for (Int32 j = 0; j < numSorts; j++) { 112private Int32 numKeys;
UIAutomationClient (11)
parent\parent\Shared\MS\Win32\NativeMethodsSetLastError.cs (1)
61public static extern Int32 GetWindowLong(IntPtr hWnd, int nIndex );
System\Windows\Automation\RangeValuePattern.cs (10)
267else if (propValue is Int32) 269return (double)(Int32)propValue; 316else if (propValue is Int32) 318return (double)(Int32)propValue; 350else if (propValue is Int32) 352return (double)(Int32)propValue; 388else if (propValue is Int32) 390return (double)(Int32)propValue; 425else if (propValue is Int32) 427return (double)(Int32)propValue;
UIAutomationClientsideProviders (3)
MS\Internal\AutomationProxies\Accessible.cs (1)
700else if (scan is Int32)
MS\Win32\UnsafeNativeMethods.cs (1)
383internal static Int32 GetWindowLong(IntPtr hWnd, int nIndex, out int error)
parent\parent\Shared\MS\Win32\NativeMethodsSetLastError.cs (1)
61public static extern Int32 GetWindowLong(IntPtr hWnd, int nIndex );
WindowsBase (105)
Base\MS\Internal\IO\Packaging\CompoundFile\CompoundFileReference.cs (3)
145writer.Write( (Int32)RefComponentType.Storage ); 156writer.Write( (Int32)RefComponentType.Stream ); 186Int32 entryCount = reader.ReadInt32();
Base\MS\Internal\IO\Packaging\CompoundFile\ContainerUtilities.cs (8)
47static private readonly Int32 _int16Size = SizeOfInt16(); 48static private readonly Int32 _int32Size = SizeOfInt32(); 53static private readonly Int32 _int64Size = SizeOfInt64(); 68static internal Int32 Int16Size 80static internal Int32 Int32Size 91static internal Int32 Int64Size 139Int32 strByteLen = 0; 319return Marshal.SizeOf(typeof(Int32));
Base\MS\Internal\IO\Packaging\CompoundFile\RightsManagementEncryptedStream.cs (2)
936private SparseMemoryStream _readCache = new SparseMemoryStream(Int32.MaxValue, Int64.MaxValue, false); 937private SparseMemoryStream _writeCache = new SparseMemoryStream(Int32.MaxValue, Int64.MaxValue, false);
Base\MS\Internal\IO\Packaging\CompoundFile\RightsManagementEncryptionTransform.cs (10)
153Int32 headerLen = utf8Reader.ReadInt32(); 174Int32 numPublishLicenseHeaderExtraBytes = headerLen - CU.Int32Size; 267Int32 headerLen = CU.Int32Size; 746Int32 headerLength = utf8Reader.ReadInt32(); 941Int32 utf8ByteLength = utf8Bytes.Length; 949Int32 headerLength = 1204Int32 headerLength = utf8Reader.ReadInt32(); 1240Int32 headerLength = utf8Reader.ReadInt32(); 1286Int32 length = reader.ReadInt32(); 1363Int32 length = bytes.Length;
Base\MS\Internal\IO\Packaging\SparseMemoryStream.cs (4)
383Invariant.Assert(lowWaterMark <= Int32.MaxValue); // low water mark must fit single memory stream 2G 507&& gap + length + memStreamBlock.Stream.Length <= Int32.MaxValue) 549if (prevMemStreamBlock.Stream.Length + count <= Int32.MaxValue) // Make sure there is enough space to append 620if (prevMemStreamBlock.Stream.Length + leftoverSize <= Int32.MaxValue)
Base\MS\Internal\IO\Packaging\TrackingMemoryStream.cs (1)
40internal TrackingMemoryStream (ITrackingMemoryStreamFactory memoryStreamFactory, Int32 capacity) : base(capacity)
Base\MS\Internal\IO\Zip\ZipIOBlockManager.cs (2)
573internal static int CopyBytes(Int32 value, byte[] buffer, int offset) 575Debug.Assert(checked(buffer.Length-offset) >= sizeof(Int32));
Base\MS\Internal\IO\Zip\ZipIOZip64EndOfCentralDirectoryBlock.cs (2)
385if ((_totalNumberOfEntriesInTheCentralDirectoryOnThisDisk > Int32.MaxValue) || 386(_totalNumberOfEntriesInTheCentralDirectory > Int32.MaxValue) ||
Base\MS\Internal\Security\RightsManagement\ClientSession.cs (1)
519if (dataLen > System.Int32.MaxValue)
Base\MS\Internal\SplashScreenNativeMethods.cs (4)
81out Int32 puiWidth, 82out Int32 puiHeight); 88Int32 cbStride, 89Int32 cbBufferSize,
Base\MS\Internal\Utilities.cs (1)
50Int32 isDesktopCompositionEnabled = 0;
Base\System\IO\Packaging\CompoundFile\DataSpaceManager.cs (2)
1152checked ((Int32) (KnownBytesInMapTableHeader + _mapTableHeaderPreservation.Length))); 1173dataSpaceMapWriter.Write((Int32) entryLength);
Base\System\IO\Packaging\CompoundFile\FormatVersion.cs (3)
451private static FormatVersion LoadFromBinaryReader(BinaryReader reader, out Int32 bytesRead) 468Int32 strBytes; 525internal static FormatVersion LoadFromStream(Stream stream, out Int32 bytesRead)
Base\System\Security\RightsManagement\Exceptions.cs (1)
160info.AddValue(_serializationFailureCodeAttributeName, (Int32)_failureCode);
Base\System\Windows\Int32Rect.cs (4)
33public Int32Rect(Int32 x, 34Int32 y, 35Int32 width, 36Int32 height)
Base\System\Windows\Markup\TypeConverterHelper.cs (3)
177else if (typeof(Int32).IsAssignableFrom(type)) 261if (type == typeof(Int32)) 361else if (typeof(Int32).IsAssignableFrom(type))
Base\System\Windows\Media\Matrix.cs (1)
1011internal Int32 _padding;
Base\System\Windows\SplashScreen.cs (2)
443Int32 width, height; 447Int32 stride = width * 4;
Base\System\Windows\Threading\DispatcherTimer.cs (2)
94if (interval.TotalMilliseconds > Int32.MaxValue) 157if (value.TotalMilliseconds > Int32.MaxValue)
parent\parent\InternalApis\NDP_FX\inc\ZLibNative.cs (7)
77internal static readonly IntPtr ZNullPtr = (IntPtr) ((Int32) 0); 248internal Int32 dataType; //int data_type; /* best guess about the data type: binary or text */ 296private delegate Int32 ZlibCompileFlagsDelegate(); 442Int32 hresult = Marshal.GetHRForLastWin32Error(); 598public Int32 DataType { [SecurityCritical] get { return zStreamPtr->dataType; } } 755internal static Int32 ZLibCompileFlags() { 834public static Int32 ZLibCompileFlags() {
Shared\MS\Win32\HwndSubclass.cs (2)
333internal IntPtr SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) 670private static IntPtr DefWndProcWrapper(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
Shared\MS\Win32\NativeMethodsCLR.cs (1)
3100public delegate IntPtr WndProc(IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam);
Shared\MS\Win32\NativeMethodsOther.cs (14)
1457public static extern Int32 EndDoc(HDC hdc); 1472public Int32 cbInput; 1475public Int32 cbSize; 1499public static unsafe extern Int32 ExtEscape(HDC hdc, Int32 nEscape, Int32 cbInput, PrinterEscape* lpvInData, Int32 cbOutput, [Out] void* lpvOutData); 1513internal Int32 cbSize; // (*)size of this structure (20) 1517internal Int32 fwType; // Flags about print job (0) 1531public unsafe static extern Int32 StartDoc(HDC hdc, ref DocInfo docInfo); 1545public unsafe static extern Int32 OpenPrinterA(String printerName, IntPtr* phPrinter, void* pDefaults); 1557public static extern Int32 ClosePrinter(IntPtr hPrinter); 1569public static extern Int32 EndPage(HDC hdc); 1581public static extern Int32 StartPage(HDC hdc);
Shared\MS\Win32\NativeMethodsSetLastError.cs (7)
132public static extern Int32 GetWindowLong(HandleRef hWnd, int nIndex ); 135public static extern Int32 GetWindowLong(IntPtr hWnd, int nIndex ); 162public static extern Int32 SetWindowLong(HandleRef hWnd, int nIndex, Int32 dwNewLong); 165public static extern Int32 SetWindowLong(IntPtr hWnd, int nIndex, Int32 dwNewLong); 168public static extern Int32 SetWindowLongWndProc(HandleRef hWnd, int nIndex, NativeMethods.WndProc dwNewLong);
Shared\MS\Win32\SafeNativeMethodsCLR.cs (2)
541var data = Marshal.ReadInt32(buffer); 596var hr = (int)SafeNativeMethodsPrivate.GetProcessDpiAwareness(hProcess, out ptrProcessDpiAwareness);
Shared\MS\Win32\SafeNativeMethodsOther.cs (1)
285internal static Int32 GetWindowStyle(HandleRef hWnd, bool exStyle)
Shared\MS\Win32\UnsafeNativeMethodsCLR.cs (2)
132public static extern int DwmIsCompositionEnabled(out Int32 enabled); 1180public static extern IntPtr DefWindowProc(IntPtr hWnd, Int32 Msg, IntPtr wParam, IntPtr lParam);
Shared\MS\Win32\UnsafeNativeMethodsOther.cs (7)
662Int32 tempResult = NativeMethodsSetLastError.SetWindowLong(hWnd, nIndex, NativeMethods.IntPtrToInt32(dwNewLong)); 685Int32 tempResult = NativeMethodsSetLastError.SetWindowLong(hWnd, nIndex, NativeMethods.IntPtrToInt32(dwNewLong)); 708Int32 tempRetVal = NativeMethodsSetLastError.SetWindowLongWndProc(hWnd, nIndex, dwNewLong); 741Int32 tempResult = NativeMethodsSetLastError.GetWindowLong(hWnd, nIndex); 769internal static Int32 GetWindowLong(HandleRef hWnd, int nIndex ) 1379internal Int32 ptX; 1380internal Int32 ptY;
Shared\MS\Win32\UnsafeNativeMethodsTextServices.cs (6)
879public Int32 overlappedId; 883public Int32 reserved; 907public Int32 indexOrColorRef; // TF_CT_SYSCOLOR/TF_CT_COLORREF union 3606int GetGUID(Int32 guidatom, out Guid guid); 3706void CreateRange(Int32 acpStart, Int32 acpEnd, out ITfRangeACP range);
WsatConfig (4)
Configuration\HttpWrapper.cs (4)
141internal Int32 nothing; 149internal Int32 flowInfo; 158public Int32 scopeID; 194a.scopeID = (Int32)source.ScopeId;
WsatUI (8)
Configuration\HttpWrapper.cs (4)
141internal Int32 nothing; 149internal Int32 flowInfo; 158public Int32 scopeID; 194a.scopeID = (Int32)source.ScopeId;
MMCUI\MMCSafeNativeMethods.cs (4)
98internal static extern IntPtr SetWindowLongPtr(IntPtr wnd, Int32 index, IntPtr newLong); 101internal static extern Int32 SetWindowLong(IntPtr wnd, Int32 index, Int32 newLong);
XamlBuildTask (1)
Microsoft\Build\Tasks\Xaml\XamlBuildTaskLeaseLifetimeHelper.cs (1)
53if (Int32.TryParse(remotingLeaseLifetimeInMinutesStringValue, NumberStyles.Integer, CultureInfo.InvariantCulture, out remotingLeaseLifetimeInMinutes))