853 references to Result
mscorlib (655)
system\appdomain.cs (14)
1218
Contract.Ensures(Contract.
Result
<AssemblyBuilder>() != null);
1232
Contract.Ensures(Contract.
Result
<AssemblyBuilder>() != null);
1249
Contract.Ensures(Contract.
Result
<AssemblyBuilder>() != null);
1267
Contract.Ensures(Contract.
Result
<AssemblyBuilder>() != null);
1287
Contract.Ensures(Contract.
Result
<AssemblyBuilder>() != null);
1309
Contract.Ensures(Contract.
Result
<AssemblyBuilder>() != null);
1332
Contract.Ensures(Contract.
Result
<AssemblyBuilder>() != null);
1352
Contract.Ensures(Contract.
Result
<AssemblyBuilder>() != null);
1377
Contract.Ensures(Contract.
Result
<AssemblyBuilder>() != null);
1404
Contract.Ensures(Contract.
Result
<AssemblyBuilder>() != null);
1433
Contract.Ensures(Contract.
Result
<AssemblyBuilder>() != null);
1462
Contract.Ensures(Contract.
Result
<AssemblyBuilder>() != null);
1486
Contract.Ensures(Contract.
Result
<AssemblyBuilder>() != null);
2106
Contract.Ensures(Contract.
Result
<AppDomain>() != null);
system\array.cs (45)
43
Contract.Ensures(Contract.
Result
<ReadOnlyCollection<T>>() != null);
78
Contract.Ensures(Contract.
Result
<Array>() != null);
79
Contract.Ensures(Contract.
Result
<Array>().Length == length);
80
Contract.Ensures(Contract.
Result
<Array>().Rank == 1);
96
Contract.Ensures(Contract.
Result
<Array>() != null);
97
Contract.Ensures(Contract.
Result
<Array>().Rank == 2);
98
Contract.Ensures(Contract.
Result
<Array>().GetLength(0) == length1);
99
Contract.Ensures(Contract.
Result
<Array>().GetLength(1) == length2);
121
Contract.Ensures(Contract.
Result
<Array>() != null);
122
Contract.Ensures(Contract.
Result
<Array>().Rank == 3);
123
Contract.Ensures(Contract.
Result
<Array>().GetLength(0) == length1);
124
Contract.Ensures(Contract.
Result
<Array>().GetLength(1) == length2);
125
Contract.Ensures(Contract.
Result
<Array>().GetLength(2) == length3);
146
Contract.Ensures(Contract.
Result
<Array>() != null);
147
Contract.Ensures(Contract.
Result
<Array>().Rank == lengths.Length);
173
Contract.Ensures(Contract.
Result
<Array>() != null);
174
Contract.Ensures(Contract.
Result
<Array>().Rank == lengths.Length);
204
Contract.Ensures(Contract.
Result
<Array>() != null);
205
Contract.Ensures(Contract.
Result
<Array>().Rank == lengths.Length);
844
Contract.Ensures((Contract.
Result
<int>() >= array.GetLowerBound(0) && Contract.
Result
<int>() <= array.GetUpperBound(0)) || (Contract.
Result
<int>() < array.GetLowerBound(0) && ~Contract.
Result
<int>() <= array.GetUpperBound(0) + 1));
1039
Contract.Ensures(Contract.
Result
<TOutput[]>() != null);
1040
Contract.Ensures(Contract.
Result
<TOutput[]>().Length == array.Length);
1082
Contract.Ensures(Contract.
Result
<T[]>() != null);
1083
Contract.Ensures(Contract.
Result
<T[]>().Length == 0);
1134
Contract.Ensures(Contract.
Result
<int>() < array.Length);
1144
Contract.Ensures(Contract.
Result
<int>() < array.Length);
1166
Contract.Ensures(Contract.
Result
<int>() < array.Length);
1285
Contract.Ensures(Contract.
Result
<int>() < array.GetLowerBound(0) + array.Length);
1301
Contract.Ensures(Contract.
Result
<int>() < array.GetLowerBound(0) + array.Length);
1320
Contract.Ensures(Contract.
Result
<int>() < array.GetLowerBound(0) + array.Length);
1374
Contract.Ensures((Contract.
Result
<int>() < 0) ||
1375
(Contract.
Result
<int>() >= 0 && Contract.
Result
<int>() < array.Length && EqualityComparer<T>.Default.Equals(value, array[Contract.
Result
<int>()])));
1385
Contract.Ensures(Contract.
Result
<int>() < array.Length);
1403
Contract.Ensures(Contract.
Result
<int>() < array.Length);
1425
Contract.Ensures(Contract.
Result
<int>() < array.GetLowerBound(0) + array.Length);
1440
Contract.Ensures(Contract.
Result
<int>() < array.GetLowerBound(0) + array.Length);
1457
Contract.Ensures(Contract.
Result
<int>() < array.GetLowerBound(0) + array.Length);
1513
Contract.Ensures(Contract.
Result
<int>() < array.Length);
1523
Contract.Ensures(Contract.
Result
<int>() < array.Length);
1533
Contract.Ensures(Contract.
Result
<int>() < array.Length);
system\arraysegment.cs (2)
86
Contract.Ensures(Contract.
Result
<int>() >= 0);
105
Contract.Ensures(Contract.
Result
<int>() >= 0);
system\bitconverter.cs (22)
42
Contract.Ensures(Contract.
Result
<byte[]>() != null);
43
Contract.Ensures(Contract.
Result
<byte[]>().Length == 1);
53
Contract.Ensures(Contract.
Result
<byte[]>() != null);
54
Contract.Ensures(Contract.
Result
<byte[]>().Length == 2);
64
Contract.Ensures(Contract.
Result
<byte[]>() != null);
65
Contract.Ensures(Contract.
Result
<byte[]>().Length == 2);
78
Contract.Ensures(Contract.
Result
<byte[]>() != null);
79
Contract.Ensures(Contract.
Result
<byte[]>().Length == 4);
92
Contract.Ensures(Contract.
Result
<byte[]>() != null);
93
Contract.Ensures(Contract.
Result
<byte[]>().Length == 8);
105
Contract.Ensures(Contract.
Result
<byte[]>() != null);
106
Contract.Ensures(Contract.
Result
<byte[]>().Length == 2);
115
Contract.Ensures(Contract.
Result
<byte[]>() != null);
116
Contract.Ensures(Contract.
Result
<byte[]>().Length == 4);
125
Contract.Ensures(Contract.
Result
<byte[]>() != null);
126
Contract.Ensures(Contract.
Result
<byte[]>().Length == 8);
136
Contract.Ensures(Contract.
Result
<byte[]>() != null);
137
Contract.Ensures(Contract.
Result
<byte[]>().Length == 4);
147
Contract.Ensures(Contract.
Result
<byte[]>() != null);
148
Contract.Ensures(Contract.
Result
<byte[]>().Length == 8);
408
Contract.Ensures(Contract.
Result
<String>() != null);
417
Contract.Ensures(Contract.
Result
<String>() != null);
system\byte.cs (4)
154
Contract.Ensures(Contract.
Result
<String>() != null);
161
Contract.Ensures(Contract.
Result
<String>() != null);
168
Contract.Ensures(Contract.
Result
<String>() != null);
175
Contract.Ensures(Contract.
Result
<String>() != null);
system\char.cs (3)
151
Contract.Ensures(Contract.
Result
<String>() != null);
157
Contract.Ensures(Contract.
Result
<String>() != null);
171
Contract.Ensures(Contract.
Result
<String>() != null);
system\collections\arraylist.cs (27)
108
Contract.Ensures(Contract.
Result
<int>() >= Count);
137
Contract.Ensures(Contract.
Result
<int>() >= 0);
194
Contract.Ensures(Contract.
Result
<ArrayList>() != null);
204
Contract.Ensures(Contract.
Result
<int>() >= 0);
246
Contract.Ensures(Contract.
Result
<int>() < Count);
247
Contract.Ensures(Contract.
Result
<int>() < index + count);
255
Contract.Ensures(Contract.
Result
<int>() < Count);
261
Contract.Ensures(Contract.
Result
<int>() < Count);
281
Contract.Ensures(Contract.
Result
<Object>() != null);
362
Contract.Ensures(Contract.
Result
<IList>() != null);
373
Contract.Ensures(Contract.
Result
<ArrayList>() != null);
384
Contract.Ensures(Contract.
Result
<IEnumerator>() != null);
400
Contract.Ensures(Contract.
Result
<IEnumerator>() != null);
415
Contract.Ensures(Contract.
Result
<int>() < Count);
431
Contract.Ensures(Contract.
Result
<int>() < Count);
449
Contract.Ensures(Contract.
Result
<int>() < Count);
511
Contract.Ensures(Contract.
Result
<int>() < _size);
528
Contract.Ensures(Contract.
Result
<int>() < Count);
545
Contract.Ensures(Contract.
Result
<int>() < Count);
565
Contract.Ensures(Contract.
Result
<IList>() != null);
575
Contract.Ensures(Contract.
Result
<ArrayList>() != null);
638
Contract.Ensures(Contract.
Result
<ArrayList>() != null);
692
Contract.Ensures(Contract.
Result
<ArrayList>() != null);
738
Contract.Ensures(Contract.
Result
<IList>() != null);
749
Contract.Ensures(Contract.
Result
<ArrayList>() != null);
757
Contract.Ensures(Contract.
Result
<Object[]>() != null);
773
Contract.Ensures(Contract.
Result
<Array>() != null);
system\collections\bitarray.cs (4)
320
Contract.Ensures(Contract.
Result
<int>() >= 0);
399
Contract.Ensures(Contract.
Result
<int>() >= 0);
407
Contract.Ensures(Contract.
Result
<Object>() != null);
408
Contract.Ensures(((BitArray)Contract.
Result
<Object>()).Length == this.Length);
system\collections\caseinsensitivecomparer.cs (2)
44
Contract.Ensures(Contract.
Result
<CaseInsensitiveComparer>() != null);
54
Contract.Ensures(Contract.
Result
<CaseInsensitiveComparer>() != null);
system\collections\caseinsensitivehashcodeprovider.cs (2)
50
Contract.Ensures(Contract.
Result
<CaseInsensitiveHashCodeProvider>() != null);
60
Contract.Ensures(Contract.
Result
<CaseInsensitiveHashCodeProvider>() != null);
system\collections\generic\arraysorthelper.cs (8)
362
Contract.Ensures(Contract.
Result
<int>() >= lo && Contract.
Result
<int>() <= hi);
760
Contract.Ensures(Contract.
Result
<int>() >= lo && Contract.
Result
<int>() <= hi);
1121
Contract.Ensures(Contract.
Result
<int>() >= lo && Contract.
Result
<int>() <= hi);
1475
Contract.Ensures(Contract.
Result
<int>() >= lo && Contract.
Result
<int>() <= hi);
system\collections\generic\comparer.cs (2)
26
Contract.Ensures(Contract.
Result
<Comparer<T>>() != null);
33
Contract.Ensures(Contract.
Result
<Comparer<T>>() != null);
system\collections\generic\dictionary.cs (2)
137
Contract.Ensures(Contract.
Result
<KeyCollection>() != null);
159
Contract.Ensures(Contract.
Result
<ValueCollection>() != null);
system\collections\generic\equalitycomparer.cs (2)
30
Contract.Ensures(Contract.
Result
<EqualityComparer<T>>() != null);
41
Contract.Ensures(Contract.
Result
<EqualityComparer<T>>() != null);
system\collections\generic\list.cs (37)
112
Contract.Ensures(Contract.
Result
<int>() >= 0);
139
Contract.Ensures(Contract.
Result
<int>() >= 0);
252
Contract.Ensures(Contract.
Result
<ReadOnlyCollection<T>>() != null);
283
Contract.Ensures(Contract.
Result
<int>() <= index + count);
291
Contract.Ensures(Contract.
Result
<int>() <= Count);
297
Contract.Ensures(Contract.
Result
<int>() <= Count);
450
Contract.Ensures(Contract.
Result
<int>() >= -1);
451
Contract.Ensures(Contract.
Result
<int>() < Count);
456
Contract.Ensures(Contract.
Result
<int>() >= -1);
457
Contract.Ensures(Contract.
Result
<int>() < startIndex + Count);
473
Contract.Ensures(Contract.
Result
<int>() >= -1);
474
Contract.Ensures(Contract.
Result
<int>() < startIndex + count);
499
Contract.Ensures(Contract.
Result
<int>() >= -1);
500
Contract.Ensures(Contract.
Result
<int>() < Count);
505
Contract.Ensures(Contract.
Result
<int>() >= -1);
506
Contract.Ensures(Contract.
Result
<int>() <= startIndex);
514
Contract.Ensures(Contract.
Result
<int>() >= -1);
515
Contract.Ensures(Contract.
Result
<int>() <= startIndex);
594
Contract.Ensures(Contract.
Result
<List<T>>() != null);
613
Contract.Ensures(Contract.
Result
<int>() >= -1);
614
Contract.Ensures(Contract.
Result
<int>() < Count);
638
Contract.Ensures(Contract.
Result
<int>() >= -1);
639
Contract.Ensures(Contract.
Result
<int>() < Count);
658
Contract.Ensures(Contract.
Result
<int>() >= -1);
659
Contract.Ensures(Contract.
Result
<int>() < Count);
755
Contract.Ensures(Contract.
Result
<int>() >= -1);
756
Contract.Ensures(Contract.
Result
<int>() < Count);
778
Contract.Ensures(Contract.
Result
<int>() >= -1);
779
Contract.Ensures(((Count == 0) && (Contract.
Result
<int>() == -1)) || ((Count > 0) && (Contract.
Result
<int>() <= index)));
801
Contract.Ensures(Contract.
Result
<int>() >= -1);
802
Contract.Ensures(((Count == 0) && (Contract.
Result
<int>() == -1)) || ((Count > 0) && (Contract.
Result
<int>() <= index)));
846
Contract.Ensures(Contract.
Result
<int>() >= 0);
847
Contract.Ensures(Contract.
Result
<int>() <= Contract.OldValue(Count));
999
Contract.Ensures(Contract.
Result
<T[]>() != null);
1000
Contract.Ensures(Contract.
Result
<T[]>().Length == Count);
system\collections\objectmodel\readonlydictionary.cs (2)
51
Contract.Ensures(Contract.
Result
<KeyCollection>() != null);
61
Contract.Ensures(Contract.
Result
<ValueCollection>() != null);
system\collections\stack.cs (5)
73
Contract.Ensures(Contract.
Result
<int>() >= 0);
99
Contract.Ensures(Contract.
Result
<Object>() != null);
153
Contract.Ensures(Contract.
Result
<IEnumerator>() != null);
198
Contract.Ensures(Contract.
Result
<Stack>() != null);
207
Contract.Ensures(Contract.
Result
<Object[]>() != null);
system\console.cs (7)
115
Contract.Ensures(Contract.
Result
<Object>() != null);
133
Contract.Ensures(Contract.
Result
<Object>() != null);
272
Contract.Ensures(Contract.
Result
<TextReader>() != null);
306
Contract.Ensures(Contract.
Result
<TextWriter>() != null);
317
Contract.Ensures(Contract.
Result
<TextWriter>() != null);
545
Contract.Ensures(Contract.
Result
<Encoding>() != null);
598
Contract.Ensures(Contract.
Result
<Encoding>() != null);
system\convert.cs (37)
1812
Contract.Ensures(Contract.
Result
<string>() != null);
1817
Contract.Ensures(Contract.
Result
<string>() != null);
1822
Contract.Ensures(Contract.
Result
<string>() != null);
1827
Contract.Ensures(Contract.
Result
<string>() != null);
1833
Contract.Ensures(Contract.
Result
<string>() != null);
1839
Contract.Ensures(Contract.
Result
<string>() != null);
1844
Contract.Ensures(Contract.
Result
<string>() != null);
1849
Contract.Ensures(Contract.
Result
<string>() != null);
1854
Contract.Ensures(Contract.
Result
<string>() != null);
1859
Contract.Ensures(Contract.
Result
<string>() != null);
1865
Contract.Ensures(Contract.
Result
<string>() != null);
1871
Contract.Ensures(Contract.
Result
<string>() != null);
1876
Contract.Ensures(Contract.
Result
<string>() != null);
1881
Contract.Ensures(Contract.
Result
<string>() != null);
1887
Contract.Ensures(Contract.
Result
<string>() != null);
1893
Contract.Ensures(Contract.
Result
<string>() != null);
1898
Contract.Ensures(Contract.
Result
<string>() != null);
1903
Contract.Ensures(Contract.
Result
<string>() != null);
1909
Contract.Ensures(Contract.
Result
<string>() != null);
1915
Contract.Ensures(Contract.
Result
<string>() != null);
1920
Contract.Ensures(Contract.
Result
<string>() != null);
1925
Contract.Ensures(Contract.
Result
<string>() != null);
1930
Contract.Ensures(Contract.
Result
<string>() != null);
1935
Contract.Ensures(Contract.
Result
<string>() != null);
1940
Contract.Ensures(Contract.
Result
<string>() != null);
1945
Contract.Ensures(Contract.
Result
<string>() != null);
1950
Contract.Ensures(Contract.
Result
<string>() != null);
1955
Contract.Ensures(Contract.
Result
<string>() != null);
1960
Contract.Ensures(Contract.
Result
<string>() == value); // We were always skipping the null check here.
1965
Contract.Ensures(Contract.
Result
<string>() == value); // We were always skipping the null check here.
2135
Contract.Ensures(Contract.
Result
<string>() != null);
2145
Contract.Ensures(Contract.
Result
<string>() != null);
2166
Contract.Ensures(Contract.
Result
<string>() != null);
2194
Contract.Ensures(Contract.
Result
<int>() >= 0);
2195
Contract.Ensures(Contract.
Result
<int>() <= outArray.Length);
2219
Contract.Ensures(Contract.
Result
<int>() >= 0);
2220
Contract.Ensures(Contract.
Result
<int>() <= outArray.Length);
system\datetime.cs (31)
947
Contract.Ensures(Contract.
Result
<int>() >= 1);
948
Contract.Ensures(Contract.
Result
<int>() <= 31);
960
Contract.Ensures(Contract.
Result
<DayOfWeek>() >= DayOfWeek.Sunday);
961
Contract.Ensures(Contract.
Result
<DayOfWeek>() <= DayOfWeek.Saturday);
971
Contract.Ensures(Contract.
Result
<int>() >= 1);
972
Contract.Ensures(Contract.
Result
<int>() <= 366); // leap year
989
Contract.Ensures(Contract.
Result
<int>() >= 0);
990
Contract.Ensures(Contract.
Result
<int>() < 24);
1018
Contract.Ensures(Contract.
Result
<int>() >= 0);
1019
Contract.Ensures(Contract.
Result
<int>() < 1000);
1029
Contract.Ensures(Contract.
Result
<int>() >= 0);
1030
Contract.Ensures(Contract.
Result
<int>() < 60);
1040
Contract.Ensures(Contract.
Result
<int>() >= 1);
1053
Contract.Ensures(Contract.
Result
<DateTime>().Kind == DateTimeKind.Local);
1072
Contract.Ensures(Contract.
Result
<DateTime>().Kind == DateTimeKind.Utc);
1233
Contract.Ensures(Contract.
Result
<int>() >= 0);
1234
Contract.Ensures(Contract.
Result
<int>() < 60);
1273
Contract.Ensures(Contract.
Result
<int>() >= 1 && Contract.
Result
<int>() <= 9999);
1423
Contract.Ensures(Contract.
Result
<String>() != null);
1428
Contract.Ensures(Contract.
Result
<String>() != null);
1433
Contract.Ensures(Contract.
Result
<String>() != null);
1438
Contract.Ensures(Contract.
Result
<String>() != null);
1443
Contract.Ensures(Contract.
Result
<String>() != null);
1448
Contract.Ensures(Contract.
Result
<String>() != null);
1453
Contract.Ensures(Contract.
Result
<String>() != null);
1458
Contract.Ensures(Contract.
Result
<String>() != null);
1537
Contract.Ensures(Contract.
Result
<String[]>() != null);
1546
Contract.Ensures(Contract.
Result
<String[]>() != null);
1556
Contract.Ensures(Contract.
Result
<String[]>() != null);
1565
Contract.Ensures(Contract.
Result
<String[]>() != null);
system\datetimeoffset.cs (23)
190
Contract.Ensures(Contract.
Result
<DateTime>().Kind == DateTimeKind.Utc);
198
Contract.Ensures(Contract.
Result
<DateTime>().Kind == DateTimeKind.Local);
236
Contract.Ensures(Contract.
Result
<int>() >= 1);
237
Contract.Ensures(Contract.
Result
<int>() <= 31);
249
Contract.Ensures(Contract.
Result
<DayOfWeek>() >= DayOfWeek.Sunday);
250
Contract.Ensures(Contract.
Result
<DayOfWeek>() <= DayOfWeek.Saturday);
260
Contract.Ensures(Contract.
Result
<int>() >= 1);
261
Contract.Ensures(Contract.
Result
<int>() <= 366); // leap year
271
Contract.Ensures(Contract.
Result
<int>() >= 0);
272
Contract.Ensures(Contract.
Result
<int>() < 24);
283
Contract.Ensures(Contract.
Result
<int>() >= 0);
284
Contract.Ensures(Contract.
Result
<int>() < 1000);
294
Contract.Ensures(Contract.
Result
<int>() >= 0);
295
Contract.Ensures(Contract.
Result
<int>() < 60);
305
Contract.Ensures(Contract.
Result
<int>() >= 1);
321
Contract.Ensures(Contract.
Result
<int>() >= 0);
322
Contract.Ensures(Contract.
Result
<int>() < 60);
357
Contract.Ensures(Contract.
Result
<int>() >= 1 && Contract.
Result
<int>() <= 9999);
704
Contract.Ensures(Contract.
Result
<String>() != null);
709
Contract.Ensures(Contract.
Result
<String>() != null);
714
Contract.Ensures(Contract.
Result
<String>() != null);
719
Contract.Ensures(Contract.
Result
<String>() != null);
system\decimal.cs (4)
500
Contract.Ensures(Contract.
Result
<String>() != null);
506
Contract.Ensures(Contract.
Result
<String>() != null);
512
Contract.Ensures(Contract.
Result
<String>() != null);
518
Contract.Ensures(Contract.
Result
<String>() != null);
system\diagnostics\contracts\contracts.cs (4)
460
/// <param name="condition">Boolean expression representing the contract. May include <seealso cref="OldValue"/> and <seealso cref="
Result
"/>.</param>
479
/// <param name="condition">Boolean expression representing the contract. May include <seealso cref="OldValue"/> and <seealso cref="
Result
"/>.</param>
500
/// <param name="condition">Boolean expression representing the contract. May include <seealso cref="OldValue"/> and <seealso cref="
Result
"/>.</param>
521
/// <param name="condition">Boolean expression representing the contract. May include <seealso cref="OldValue"/> and <seealso cref="
Result
"/>.</param>
system\diagnostics\stackframe.cs (1)
177
Contract.Ensures(Contract.
Result
<MethodBase>() != null);
system\double.cs (4)
213
Contract.Ensures(Contract.
Result
<String>() != null);
219
Contract.Ensures(Contract.
Result
<String>() != null);
225
Contract.Ensures(Contract.
Result
<String>() != null);
231
Contract.Ensures(Contract.
Result
<String>() != null);
system\enum.cs (3)
488
Contract.Ensures(Contract.
Result
<Type>() != null);
499
Contract.Ensures(Contract.
Result
<Array>() != null);
526
Contract.Ensures(Contract.
Result
<String[]>() != null);
system\environment.cs (3)
1069
Contract.Ensures(Contract.
Result
<String>() != null);
1122
Contract.Ensures(Contract.
Result
<OperatingSystem>() != null);
1233
Contract.Ensures(Contract.
Result
<String>() != null);
system\globalization\cultureinfo.cs (31)
625
Contract.Ensures(Contract.
Result
<CultureInfo>() != null);
715
Contract.Ensures(Contract.
Result
<CultureInfo>() != null);
766
Contract.Ensures(Contract.
Result
<CultureInfo>() != null);
790
Contract.Ensures(Contract.
Result
<CultureInfo>() != null);
813
Contract.Ensures(Contract.
Result
<CultureInfo>() != null);
865
Contract.Ensures(Contract.
Result
<CultureInfo>() != null);
960
Contract.Ensures(Contract.
Result
<CultureInfo>() != null);
979
Contract.Ensures(Contract.
Result
<CultureInfo>() != null);
1049
Contract.Ensures(Contract.
Result
<CultureInfo[]>() != null);
1070
Contract.Ensures(Contract.
Result
<String>() != null);
1104
Contract.Ensures(Contract.
Result
<String>() != null);
1134
Contract.Ensures(Contract.
Result
<String>() != null);
1153
Contract.Ensures(Contract.
Result
<String>() != null);
1170
Contract.Ensures(Contract.
Result
<String>() != null);
1179
Contract.Ensures(Contract.
Result
<String>() != null);
1189
Contract.Ensures(Contract.
Result
<String>() != null);
1205
Contract.Ensures(Contract.
Result
<String>() != null);
1222
Contract.Ensures(Contract.
Result
<CompareInfo>() != null);
1280
Contract.Ensures(Contract.
Result
<TextInfo>() != null);
1358
Contract.Ensures(Contract.
Result
<String>() != null);
1412
Contract.Ensures(Contract.
Result
<NumberFormatInfo>() != null);
1444
Contract.Ensures(Contract.
Result
<DateTimeFormatInfo>() != null);
1554
Contract.Ensures(Contract.
Result
<Calendar>() != null);
1579
Contract.Ensures(Contract.
Result
<Calendar[]>() != null);
1605
Contract.Ensures(Contract.
Result
<CultureInfo>() != null);
1620
Contract.Ensures(Contract.
Result
<Object>() != null);
1663
Contract.Ensures(Contract.
Result
<CultureInfo>() != null);
1896
Contract.Ensures(Contract.
Result
<CultureInfo>() != null);
1917
Contract.Ensures(Contract.
Result
<CultureInfo>() != null);
1944
Contract.Ensures(Contract.
Result
<CultureInfo>() != null);
1965
Contract.Ensures(Contract.
Result
<CultureInfo>() != null);
system\globalization\datetimeformatinfo.cs (4)
501
Contract.Ensures(Contract.
Result
<DateTimeFormatInfo>() != null);
518
Contract.Ensures(Contract.
Result
<DateTimeFormatInfo>() != null);
608
Contract.Ensures(Contract.
Result
<Calendar>() != null);
1700
Contract.Ensures(Contract.
Result
<String[]>() != null);
system\guid.cs (1)
1149
Contract.Ensures(Contract.
Result
<Guid>() != Guid.Empty);
system\int16.cs (5)
86
Contract.Ensures(Contract.
Result
<String>() != null);
92
Contract.Ensures(Contract.
Result
<String>() != null);
97
Contract.Ensures(Contract.
Result
<String>() != null);
102
Contract.Ensures(Contract.
Result
<String>() != null);
108
Contract.Ensures(Contract.
Result
<String>() != null);
system\int32.cs (4)
93
Contract.Ensures(Contract.
Result
<String>() != null);
100
Contract.Ensures(Contract.
Result
<String>() != null);
107
Contract.Ensures(Contract.
Result
<String>() != null);
114
Contract.Ensures(Contract.
Result
<String>() != null);
system\int64.cs (4)
91
Contract.Ensures(Contract.
Result
<String>() != null);
97
Contract.Ensures(Contract.
Result
<String>() != null);
103
Contract.Ensures(Contract.
Result
<String>() != null);
109
Contract.Ensures(Contract.
Result
<String>() != null);
system\intptr.cs (1)
152
Contract.Ensures(Contract.
Result
<String>() != null);
system\io\binaryreader.cs (11)
112
Contract.Ensures(Contract.
Result
<int>() >= -1);
125
Contract.Ensures(Contract.
Result
<int>() >= -1);
245
Contract.Ensures(Contract.
Result
<String>() != null);
313
Contract.Ensures(Contract.
Result
<int>() >= 0);
314
Contract.Ensures(Contract.
Result
<int>() <= count);
481
Contract.Ensures(Contract.
Result
<char[]>() != null);
482
Contract.Ensures(Contract.
Result
<char[]>().Length <= count);
513
Contract.Ensures(Contract.
Result
<int>() >= 0);
514
Contract.Ensures(Contract.
Result
<int>() <= count);
523
Contract.Ensures(Contract.
Result
<byte[]>() != null);
524
Contract.Ensures(Contract.
Result
<byte[]>().Length <= Contract.OldValue(count));
system\io\bufferedstream.cs (1)
641
Contract.Ensures(Contract.
Result
<Int32>() >= 0);
system\io\directory.cs (21)
598
Contract.Ensures(Contract.
Result
<String[]>() != null);
614
Contract.Ensures(Contract.
Result
<String[]>() != null);
632
Contract.Ensures(Contract.
Result
<String[]>() != null);
670
Contract.Ensures(Contract.
Result
<String[]>() != null);
686
Contract.Ensures(Contract.
Result
<String[]>() != null);
704
Contract.Ensures(Contract.
Result
<String[]>() != null);
719
Contract.Ensures(Contract.
Result
<String[]>() != null);
732
Contract.Ensures(Contract.
Result
<String[]>() != null);
744
Contract.Ensures(Contract.
Result
<String[]>() != null);
760
Contract.Ensures(Contract.
Result
<String[]>() != null);
778
Contract.Ensures(Contract.
Result
<String[]>() != null);
894
Contract.Ensures(Contract.
Result
<IEnumerable<String>>() != null);
908
Contract.Ensures(Contract.
Result
<IEnumerable<String>>() != null);
924
Contract.Ensures(Contract.
Result
<IEnumerable<String>>() != null);
937
Contract.Ensures(Contract.
Result
<IEnumerable<String>>() != null);
948
Contract.Ensures(Contract.
Result
<IEnumerable<String>>() != null);
962
Contract.Ensures(Contract.
Result
<IEnumerable<String>>() != null);
978
Contract.Ensures(Contract.
Result
<IEnumerable<String>>() != null);
991
Contract.Ensures(Contract.
Result
<IEnumerable<String>>() != null);
1002
Contract.Ensures(Contract.
Result
<IEnumerable<String>>() != null);
1016
Contract.Ensures(Contract.
Result
<String[]>() != null);
system\io\stream.cs (15)
107
Contract.Ensures(Contract.
Result
<int>() >= 0);
118
Contract.Ensures(Contract.
Result
<int>() >= 0);
293
Contract.Ensures(Contract.
Result
<WaitHandle>() != null);
300
Contract.Ensures(Contract.
Result
<IAsyncResult>() != null);
307
Contract.Ensures(Contract.
Result
<IAsyncResult>() != null);
367
Contract.Ensures(Contract.
Result
<int>() >= 0);
447
Contract.Ensures(Contract.
Result
<IAsyncResult>() != null);
454
Contract.Ensures(Contract.
Result
<IAsyncResult>() != null);
749
Contract.Ensures(Contract.
Result
<int>() >= -1);
750
Contract.Ensures(Contract.
Result
<int>() < 256);
778
Contract.Ensures(Contract.
Result
<Stream>() != null);
795
Contract.Ensures(Contract.
Result
<IAsyncResult>() != null);
821
Contract.Ensures(Contract.
Result
<int>() >= 0);
828
Contract.Ensures(Contract.
Result
<IAsyncResult>() != null);
1252
Contract.Ensures(Contract.
Result
<int>() >= 0);
system\io\textreader.cs (8)
96
Contract.Ensures(Contract.
Result
<int>() >= -1);
108
Contract.Ensures(Contract.
Result
<int>() >= -1);
127
Contract.Ensures(Contract.
Result
<int>() >= 0);
128
Contract.Ensures(Contract.
Result
<int>() <= Contract.OldValue(count));
144
Contract.Ensures(Contract.
Result
<String>() != null);
161
Contract.Ensures(Contract.
Result
<int>() >= 0);
162
Contract.Ensures(Contract.
Result
<int>() <= count);
284
Contract.Ensures(Contract.
Result
<TextReader>() != null);
system\io\textwriter.cs (1)
180
Contract.Ensures(Contract.
Result
<TextWriter>() != null);
system\multicastdelegate.cs (1)
463
Contract.Ensures(Contract.
Result
<Delegate[]>() != null);
system\object.cs (1)
182
Contract.Ensures(Contract.
Result
<FieldInfo>() != null);
system\reflection\assembly.cs (33)
127
Contract.Ensures(Contract.
Result
<Assembly>() != null);
128
Contract.Ensures(!Contract.
Result
<Assembly>().ReflectionOnly);
168
Contract.Ensures(Contract.
Result
<Assembly>() != null);
191
Contract.Ensures(Contract.
Result
<Assembly>() != null);
216
Contract.Ensures(Contract.
Result
<Assembly>() != null);
259
Contract.Ensures(Contract.
Result
<Assembly>() != null);
260
Contract.Ensures(!Contract.
Result
<Assembly>().ReflectionOnly);
280
Contract.Ensures(Contract.
Result
<Assembly>() != null);
281
Contract.Ensures(!Contract.
Result
<Assembly>().ReflectionOnly);
325
Contract.Ensures(Contract.
Result
<Assembly>() != null);
336
Contract.Ensures(Contract.
Result
<Assembly>() != null);
337
Contract.Ensures(!Contract.
Result
<Assembly>().ReflectionOnly);
353
Contract.Ensures(Contract.
Result
<Assembly>() != null);
354
Contract.Ensures(!Contract.
Result
<Assembly>().ReflectionOnly);
372
Contract.Ensures(Contract.
Result
<Assembly>() != null);
373
Contract.Ensures(!Contract.
Result
<Assembly>().ReflectionOnly);
410
Contract.Ensures(Contract.
Result
<Assembly>() != null);
411
Contract.Ensures(!Contract.
Result
<Assembly>().ReflectionOnly);
433
Contract.Ensures(Contract.
Result
<Assembly>() != null);
462
Contract.Ensures(Contract.
Result
<Assembly>() != null);
463
Contract.Ensures(!Contract.
Result
<Assembly>().ReflectionOnly);
487
Contract.Ensures(Contract.
Result
<Assembly>() != null);
488
Contract.Ensures(!Contract.
Result
<Assembly>().ReflectionOnly);
517
Contract.Ensures(Contract.
Result
<Assembly>() != null);
518
Contract.Ensures(!Contract.
Result
<Assembly>().ReflectionOnly);
548
Contract.Ensures(Contract.
Result
<Assembly>() != null);
549
Contract.Ensures(!Contract.
Result
<Assembly>().ReflectionOnly);
582
Contract.Ensures(Contract.
Result
<Assembly>() != null);
583
Contract.Ensures(!Contract.
Result
<Assembly>().ReflectionOnly);
601
Contract.Ensures(Contract.
Result
<Assembly>() != null);
602
Contract.Ensures(!Contract.
Result
<Assembly>().ReflectionOnly);
918
Contract.Ensures(Contract.
Result
<Object[]>() != null);
924
Contract.Ensures(Contract.
Result
<Object[]>() != null);
system\reflection\emit\assemblybuilder.cs (8)
501
Contract.Ensures(Contract.
Result
<AssemblyBuilder>() != null);
515
Contract.Ensures(Contract.
Result
<AssemblyBuilder>() != null);
597
Contract.Ensures(Contract.
Result
<ModuleBuilder>() != null);
609
Contract.Ensures(Contract.
Result
<ModuleBuilder>() != null);
641
Contract.Ensures(Contract.
Result
<ModuleBuilder>() != null);
789
Contract.Ensures(Contract.
Result
<ModuleBuilder>() != null);
813
Contract.Ensures(Contract.
Result
<ModuleBuilder>() != null);
865
Contract.Ensures(Contract.
Result
<ModuleBuilder>() != null);
system\reflection\emit\ilgenerator.cs (2)
36
Contract.Ensures(Contract.
Result
<int[]>() != null);
37
Contract.Ensures(Contract.
Result
<int[]>().Length > incoming.Length);
system\reflection\emit\methodbuilder.cs (2)
1115
Contract.Ensures(Contract.
Result
<ILGenerator>() != null);
1126
Contract.Ensures(Contract.
Result
<ILGenerator>() != null);
system\reflection\emit\modulebuilder.cs (24)
1139
Contract.Ensures(Contract.
Result
<TypeBuilder>() != null);
1150
Contract.Ensures(Contract.
Result
<TypeBuilder>() != null);
1161
Contract.Ensures(Contract.
Result
<TypeBuilder>() != null);
1179
Contract.Ensures(Contract.
Result
<TypeBuilder>() != null);
1194
Contract.Ensures(Contract.
Result
<TypeBuilder>() != null);
1206
Contract.Ensures(Contract.
Result
<TypeBuilder>() != null);
1217
Contract.Ensures(Contract.
Result
<TypeBuilder>() != null);
1229
Contract.Ensures(Contract.
Result
<TypeBuilder>() != null);
1240
Contract.Ensures(Contract.
Result
<TypeBuilder>() != null);
1254
Contract.Ensures(Contract.
Result
<EnumBuilder>() != null);
1275
Contract.Ensures(Contract.
Result
<EnumBuilder>() != null);
1287
Contract.Ensures(Contract.
Result
<IResourceWriter>() != null);
1295
Contract.Ensures(Contract.
Result
<IResourceWriter>() != null);
1314
Contract.Ensures(Contract.
Result
<IResourceWriter>() != null);
1464
Contract.Ensures(Contract.
Result
<MethodBuilder>() != null);
1472
Contract.Ensures(Contract.
Result
<MethodBuilder>() != null);
1504
Contract.Ensures(Contract.
Result
<MethodBuilder>() != null);
1526
Contract.Ensures(Contract.
Result
<MethodBuilder>() != null);
1538
Contract.Ensures(Contract.
Result
<MethodBuilder>() != null);
1559
Contract.Ensures(Contract.
Result
<MethodBuilder>() != null);
1600
Contract.Ensures(Contract.
Result
<FieldBuilder>() != null);
1620
Contract.Ensures(Contract.
Result
<FieldBuilder>() != null);
1632
Contract.Ensures(Contract.
Result
<FieldBuilder>() != null);
1653
Contract.Ensures(Contract.
Result
<FieldBuilder>() != null);
system\reflection\emit\typebuilder.cs (6)
1653
Contract.Ensures(Contract.
Result
<MethodBuilder>() != null);
1660
Contract.Ensures(Contract.
Result
<MethodBuilder>() != null);
1667
Contract.Ensures(Contract.
Result
<MethodBuilder>() != null);
1675
Contract.Ensures(Contract.
Result
<MethodBuilder>() != null);
1684
Contract.Ensures(Contract.
Result
<MethodBuilder>() != null);
1703
Contract.Ensures(Contract.
Result
<MethodBuilder>() != null);
system\reflection\parameterinfo.cs (2)
101
Contract.Ensures(Contract.
Result
<MemberInfo>() != null);
218
Contract.Ensures(Contract.
Result
<Object>() != null);
system\runtime\compilerservices\AsyncMethodBuilder.cs (1)
716
EqualityComparer<TResult>.Default.Equals(result, Contract.
Result
<Task<TResult>>().Result),
system\runtime\designerservices\windowsruntimedesignercontext.cs (2)
145
Contract.Ensures(Contract.
Result
<Assembly>() != null);
146
Contract.Ensures(!Contract.
Result
<Assembly>().ReflectionOnly);
system\runtime\interopservices\typelibconverter.cs (2)
515
Contract.Ensures(Contract.
Result
<Assembly>() != null && Contract.
Result
<Assembly>() is RuntimeAssembly);
system\runtime\interopservices\windowsruntime\clrireferenceimpl.cs (2)
294
Contract.Ensures(Contract.
Result
<Object>() != null);
372
Contract.Ensures(Contract.
Result
<Object>() != null);
system\runtime\versioning\binarycompatibility.cs (2)
118
Contract.Ensures(Contract.
Result
<TargetFrameworkId>() > TargetFrameworkId.NotYetChecked);
132
Contract.Ensures(Contract.
Result
<int>() > 0 || s_AppWasBuiltForFramework == TargetFrameworkId.Unspecified);
system\sbyte.cs (5)
88
Contract.Ensures(Contract.
Result
<String>() != null);
94
Contract.Ensures(Contract.
Result
<String>() != null);
99
Contract.Ensures(Contract.
Result
<String>() != null);
104
Contract.Ensures(Contract.
Result
<String>() != null);
110
Contract.Ensures(Contract.
Result
<String>() != null);
system\single.cs (4)
181
Contract.Ensures(Contract.
Result
<String>() != null);
187
Contract.Ensures(Contract.
Result
<String>() != null);
193
Contract.Ensures(Contract.
Result
<String>() != null);
199
Contract.Ensures(Contract.
Result
<String>() != null);
system\string.cs (58)
125
Contract.Ensures(Contract.
Result
<String>() != null);
164
Contract.Ensures(Contract.
Result
<String>() != null);
976
Contract.Ensures(Contract.
Result
<String[]>() != null);
992
Contract.Ensures(Contract.
Result
<String[]>() != null);
998
Contract.Ensures(Contract.
Result
<String[]>() != null);
1005
Contract.Ensures(Contract.
Result
<String[]>() != null);
1018
Contract.Ensures(Contract.
Result
<String[]>() != null);
1050
Contract.Ensures(Contract.
Result
<String[]>() != null);
1103
Contract.Ensures(Contract.
Result
<String[]>() != null);
1139
Contract.Ensures(Contract.
Result
<String[]>() != null);
2641
Contract.Ensures(Contract.
Result
<String>() != null);
2652
Contract.Ensures(Contract.
Result
<String>() != null);
2660
Contract.Ensures(Contract.
Result
<String>() != null);
2668
Contract.Ensures(Contract.
Result
<String>() != null);
2680
Contract.Ensures(Contract.
Result
<String>() != null);
2689
Contract.Ensures(Contract.
Result
<String>() != null);
2697
Contract.Ensures(Contract.
Result
<String>() != null);
2703
Contract.Ensures(Contract.
Result
<String>() != null);
2711
Contract.Ensures(Contract.
Result
<Object>() != null);
2737
Contract.Ensures(Contract.
Result
<String>() != null);
2828
Contract.Ensures(Contract.
Result
<String>() != null);
2829
Contract.Ensures(Contract.
Result
<String>().Length == this.Length + value.Length);
2865
Contract.Ensures(Contract.
Result
<String>() != null);
2866
Contract.Ensures(Contract.
Result
<String>().Length == this.Length);
2884
Contract.Ensures(Contract.
Result
<String>() != null);
2921
Contract.Ensures(Contract.
Result
<String>() != null);
2922
Contract.Ensures(Contract.
Result
<String>().Length == this.Length - count);
2954
Contract.Ensures(Contract.
Result
<String>() != null);
2961
Contract.Ensures(Contract.
Result
<String>() != null);
2966
Contract.Ensures(Contract.
Result
<String>() != null);
2971
Contract.Ensures(Contract.
Result
<String>() != null);
2982
Contract.Ensures(Contract.
Result
<String>() != null);
2989
Contract.Ensures(Contract.
Result
<String>() != null);
2994
Contract.Ensures(Contract.
Result
<String>() != null);
2999
Contract.Ensures(Contract.
Result
<String>() != null);
3010
Contract.Ensures(Contract.
Result
<String>() != null);
3031
Contract.Ensures(Contract.
Result
<String>() != null);
3046
Contract.Ensures(Contract.
Result
<String>() != null);
3057
Contract.Ensures(Contract.
Result
<String>() != null);
3072
Contract.Ensures(Contract.
Result
<String>() != null);
3094
Contract.Ensures(Contract.
Result
<String>() != null);
3125
Contract.Ensures(Contract.
Result
<String>() != null);
3148
Contract.Ensures(Contract.
Result
<String>() != null);
3171
Contract.Ensures(Contract.
Result
<String>() != null);
3188
Contract.Ensures(Contract.
Result
<String>() != null);
3189
Contract.Ensures(Contract.
Result
<String>().Length ==
3217
Contract.Ensures(Contract.
Result
<String>() != null);
3218
Contract.Ensures(Contract.
Result
<String>().Length ==
3252
Contract.Ensures(Contract.
Result
<String>() != null);
3253
Contract.Ensures(Contract.
Result
<String>().Length ==
3310
Contract.Ensures(Contract.
Result
<String>() != null);
3336
Contract.Ensures(Contract.
Result
<String>().Length == str.Length);
3337
Contract.Ensures(str.Equals(Contract.
Result
<String>()));
3349
Contract.Ensures(Contract.
Result
<String>() == null || Contract.
Result
<String>().Length == str.Length);
3464
Contract.Ensures(Contract.
Result
<CharEnumerator>() != null);
3472
Contract.Ensures(Contract.
Result
<IEnumerator<char>>() != null);
3480
Contract.Ensures(Contract.
Result
<IEnumerator>() != null);
system\stringcomparer.cs (7)
26
Contract.Ensures(Contract.
Result
<StringComparer>() != null);
33
Contract.Ensures(Contract.
Result
<StringComparer>() != null);
40
Contract.Ensures(Contract.
Result
<StringComparer>() != null);
47
Contract.Ensures(Contract.
Result
<StringComparer>() != null);
54
Contract.Ensures(Contract.
Result
<StringComparer>() != null);
61
Contract.Ensures(Contract.
Result
<StringComparer>() != null);
70
Contract.Ensures(Contract.
Result
<StringComparer>() != null);
system\stubhelpers.cs (1)
1512
Contract.Ensures(Contract.
Result
<Exception>() != null || hr >= 0);
system\text\encoding.cs (2)
367
Contract.Ensures(Contract.
Result
<byte[]>() != null);
388
Contract.Ensures(Contract.
Result
<byte[]>() != null);
system\text\stringbuilder.cs (55)
331
Contract.Ensures(Contract.
Result
<String>() != null);
374
Contract.Ensures(Contract.
Result
<String>() != null);
458
Contract.Ensures(Contract.
Result
<int>() >= 0);
558
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
601
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
635
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
708
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
743
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
749
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
824
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
877
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
906
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
914
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
921
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
927
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
939
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
946
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
953
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
960
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
967
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
972
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
980
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
988
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
996
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
1003
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
1015
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
1041
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
1060
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
1071
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
1081
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
1091
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
1101
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
1118
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
1132
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
1177
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
1187
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
1197
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
1207
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
1212
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
1222
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
1232
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
1242
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
1252
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
1263
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
1268
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
1273
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
1284
Contract.Ensures(Contract.
Result
<String>() != null);
1291
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
1296
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
1301
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
1312
Contract.Ensures(Contract.
Result
<String>() != null);
1326
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
1486
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
1537
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
1624
Contract.Ensures(Contract.
Result
<StringBuilder>() != null);
system\threading\thread.cs (6)
823
Contract.Ensures(Contract.
Result
<Thread>() != null);
1148
Contract.Ensures(Contract.
Result
<CultureInfo>() != null);
1222
Contract.Ensures(Contract.
Result
<CultureInfo>() != null);
1266
Contract.Ensures(Contract.
Result
<CultureInfo>() != null);
1332
Contract.Ensures(Contract.
Result
<CultureInfo>() != null);
1470
Contract.Ensures(Contract.
Result
<AppDomain>() != null);
system\timezoneinfo.cs (3)
174
Contract.Ensures(Contract.
Result
<TimeZoneInfo>() != null);
1030
Contract.Ensures(Contract.
Result
<TimeZoneInfo>() != null);
1073
Contract.Ensures(Contract.
Result
<TimeZoneInfo>() != null);
system\type.cs (6)
387
Contract.Ensures(Contract.
Result
<int>() >= 0);
1318
Contract.Ensures(Contract.
Result
<Type>() != null);
1364
Contract.Ensures(Contract.
Result
<Type>() != null);
1390
Contract.Ensures(Contract.
Result
<String[]>() != null);
1404
Contract.Ensures(Contract.
Result
<Array>() != null);
1472
Contract.Ensures(Contract.
Result
<Type>() != null);
system\uint16.cs (4)
83
Contract.Ensures(Contract.
Result
<String>() != null);
89
Contract.Ensures(Contract.
Result
<String>() != null);
96
Contract.Ensures(Contract.
Result
<String>() != null);
102
Contract.Ensures(Contract.
Result
<String>() != null);
system\uint32.cs (4)
94
Contract.Ensures(Contract.
Result
<String>() != null);
100
Contract.Ensures(Contract.
Result
<String>() != null);
106
Contract.Ensures(Contract.
Result
<String>() != null);
112
Contract.Ensures(Contract.
Result
<String>() != null);
system\uint64.cs (4)
90
Contract.Ensures(Contract.
Result
<String>() != null);
96
Contract.Ensures(Contract.
Result
<String>() != null);
102
Contract.Ensures(Contract.
Result
<String>() != null);
108
Contract.Ensures(Contract.
Result
<String>() != null);
system\uintptr.cs (1)
115
Contract.Ensures(Contract.
Result
<String>() != null);
System (19)
net\System\Net\_ChunkParser.cs (11)
703
Contract.Ensures((Contract.
Result
<DataParseStatus>() != DataParseStatus.Done) ||
704
(Contract.
Result
<DataParseStatus>() != DataParseStatus.DataTooBig));
724
Contract.Ensures((Contract.
Result
<DataParseStatus>() == DataParseStatus.ContinueParsing) ||
725
(Contract.
Result
<DataParseStatus>() == DataParseStatus.NeedMoreData) ||
726
(Contract.
Result
<DataParseStatus>() != DataParseStatus.DataTooBig));
755
Contract.Ensures((Contract.
Result
<DataParseStatus>() != DataParseStatus.Done) ||
756
(Contract.
Result
<DataParseStatus>() != DataParseStatus.DataTooBig));
826
Contract.Ensures((Contract.
Result
<DataParseStatus>() != DataParseStatus.Done) ||
827
(Contract.
Result
<DataParseStatus>() != DataParseStatus.DataTooBig));
879
Contract.Ensures((Contract.
Result
<DataParseStatus>() != DataParseStatus.Done) ||
880
(Contract.
Result
<DataParseStatus>() != DataParseStatus.DataTooBig));
net\System\Net\NetworkInformation\SystemNetworkInterface.cs (1)
77
Contract.Ensures(Contract.
Result
<NetworkInterface[]>() != null);
net\System\Net\WebRequest.cs (2)
694
Contract.Ensures(Contract.
Result
<WebHeaderCollection>() != null);
820
Contract.Ensures(Contract.
Result
<WebResponse>() != null);
net\System\Net\WebResponse.cs (2)
188
Contract.Ensures(Contract.
Result
<Stream>() != null);
240
Contract.Ensures(Contract.
Result
<WebHeaderCollection>() != null);
services\monitoring\system\diagnosticts\ProcessManager.cs (1)
569
Contract.Ensures(Contract.
Result
<ModuleInfo[]>().Length >= 1);
sys\System\IO\compression\DeflaterZLib.cs (2)
157
Contract.Ensures(Contract.
Result
<int>() >= 0 && Contract.
Result
<int>() <= outputBuffer.Length);
System.AddIn (6)
System\Addin\Hosting\ActivationWorker.cs (1)
177
System.Diagnostics.Contracts.Contract.Ensures(System.Diagnostics.Contracts.Contract.
Result
<System.AddIn.Contract.IContract>() != null);
System\Addin\Hosting\Store\PipelineComponent.cs (2)
205
System.Diagnostics.Contracts.Contract.Ensures(System.Diagnostics.Contracts.Contract.
Result
<String>() != null);
214
System.Diagnostics.Contracts.Contract.Ensures(System.Diagnostics.Contracts.Contract.
Result
<String>() != null);
System\Addin\Hosting\Utils.cs (1)
155
System.Diagnostics.Contracts.Contract.Ensures(!Path.IsPathRooted(System.Diagnostics.Contracts.Contract.
Result
<String>()));
System\Addin\MiniReflection\MiniModule.cs (1)
71
System.Diagnostics.Contracts.Contract.Ensures(System.Diagnostics.Contracts.Contract.
Result
<MiniAssembly>() != null);
System\Addin\MiniReflection\TypeInfo.cs (1)
267
System.Diagnostics.Contracts.Contract.Ensures(System.Diagnostics.Contracts.Contract.
Result
<MiniAssembly>() != null);
System.Core (157)
Microsoft\Win32\SafeHandles\CapiSafeHandles.cs (3)
293
Contract.Ensures(Contract.
Result
<SafeCapiKeyHandle>() != null && !Contract.
Result
<SafeCapiKeyHandle>().IsInvalid && !Contract.
Result
<SafeCapiKeyHandle>().IsClosed);
Microsoft\Win32\SafeHandles\NCryptSafeHandles.cs (6)
220
Contract.Ensures(Contract.
Result
<T>() != null);
222
Contract.Ensures(Contract.
Result
<T>().m_ownershipState == OwnershipState.Duplicate);
250
Contract.Ensures(Contract.
Result
<T>() != null &&
251
Contract.
Result
<T>().m_ownershipState == OwnershipState.Duplicate);
286
Contract.Ensures(Contract.
Result
<T>() != null &&
287
Contract.
Result
<T>().m_ownershipState == OwnershipState.Duplicate);
System\Security\Cryptography\AesCryptoServiceProvider.cs (12)
77
Contract.Ensures(Contract.
Result
<byte[]>() != null &&
78
Contract.
Result
<byte[]>().Length == KeySizeValue / 8);
145
Contract.Ensures(Contract.
Result
<ICryptoTransform>() != null);
159
Contract.Ensures(Contract.
Result
<ICryptoTransform>() != null);
188
Contract.Ensures(Contract.
Result
<ICryptoTransform>() != null);
206
Contract.Ensures(Contract.
Result
<ICryptoTransform>() != null);
225
Contract.Ensures(Contract.
Result
<ICryptoTransform>() != null);
254
Contract.Ensures(Contract.
Result
<ICryptoTransform>() != null);
301
Contract.Ensures(Contract.
Result
<KeySizes[]>() != null);
305
Contract.Ensures(Contract.
Result
<KeySizes[]>().Length == 0 ||
420
((((int)Contract.
Result
<CapiNative.AlgorithmId>()) & (int)CapiNative.AlgorithmClass.DataEncryption) == (int)CapiNative.AlgorithmClass.DataEncryption) ||
421
Contract.
Result
<CapiNative.AlgorithmId>() == CapiNative.AlgorithmId.None);
System\Security\Cryptography\BCryptHashAlgorithm.cs (1)
214
Contract.Ensures(Contract.
Result
<byte[]>() != null);
System\Security\Cryptography\BCryptNative.cs (4)
495
Contract.Ensures(Contract.
Result
<byte[]>() != null);
581
Contract.Ensures(Contract.
Result
<SafeBCryptAlgorithmHandle>() != null &&
582
!Contract.
Result
<SafeBCryptAlgorithmHandle>().IsInvalid &&
583
!Contract.
Result
<SafeBCryptAlgorithmHandle>().IsClosed);
System\Security\Cryptography\CapiHashAlgorithm.cs (1)
139
Contract.Ensures(Contract.
Result
<byte[]>() != null);
System\Security\Cryptography\CapiNative.cs (10)
511
Contract.Ensures(Contract.
Result
<SafeCspHandle>() != null &&
512
!Contract.
Result
<SafeCspHandle>().IsInvalid &&
513
!Contract.
Result
<SafeCspHandle>().IsClosed);
543
Contract.Ensures(Contract.
Result
<byte[]>() != null && Contract.
Result
<byte[]>().Length > 0);
598
Contract.Ensures(!String.IsNullOrEmpty(Contract.
Result
<string>()));
610
Contract.Ensures(Contract.
Result
<byte[]>() != null);
721
Contract.Ensures(Contract.
Result
<SafeCapiKeyHandle>() != null &&
722
!Contract.
Result
<SafeCapiKeyHandle>().IsInvalid &&
723
!Contract.
Result
<SafeCapiKeyHandle>().IsClosed);
System\Security\Cryptography\CapiSymmetricAlgorithm.cs (14)
114
Contract.Ensures(Contract.
Result
<int>() >= 0);
169
Contract.Ensures(Contract.
Result
<byte[]>() != null && Contract.
Result
<byte[]>().Length <= block.Length);
247
Contract.Ensures(Contract.
Result
<int>() >= 0);
282
Contract.Ensures(Contract.
Result
<byte[]>() != null && Contract.
Result
<byte[]>().Length % InputBlockSize == 0);
366
(Contract.
Result
<byte[]>() != null && Contract.
Result
<byte[]>().Length == blockSize / 8));
397
Contract.Ensures(Contract.
Result
<int>() >= 0);
475
Contract.Ensures(Contract.
Result
<int>() >= 0);
515
Contract.Ensures(Contract.
Result
<byte[]>() != null);
584
Contract.Ensures(Contract.
Result
<SafeCapiKeyHandle>() != null &&
585
!Contract.
Result
<SafeCapiKeyHandle>().IsInvalid &&
586
!Contract.
Result
<SafeCapiKeyHandle>().IsClosed);
System\Security\Cryptography\CngAlgorithm.cs (15)
55
Contract.Ensures(!String.IsNullOrEmpty(Contract.
Result
<string>()));
107
Contract.Ensures(Contract.
Result
<CngAlgorithm>() != null);
117
Contract.Ensures(Contract.
Result
<CngAlgorithm>() != null);
129
Contract.Ensures(Contract.
Result
<CngAlgorithm>() != null);
141
Contract.Ensures(Contract.
Result
<CngAlgorithm>() != null);
153
Contract.Ensures(Contract.
Result
<CngAlgorithm>() != null);
165
Contract.Ensures(Contract.
Result
<CngAlgorithm>() != null);
177
Contract.Ensures(Contract.
Result
<CngAlgorithm>() != null);
189
Contract.Ensures(Contract.
Result
<CngAlgorithm>() != null);
201
Contract.Ensures(Contract.
Result
<CngAlgorithm>() != null);
213
Contract.Ensures(Contract.
Result
<CngAlgorithm>() != null);
225
Contract.Ensures(Contract.
Result
<CngAlgorithm>() != null);
237
Contract.Ensures(Contract.
Result
<CngAlgorithm>() != null);
249
Contract.Ensures(Contract.
Result
<CngAlgorithm>() != null);
261
Contract.Ensures(Contract.
Result
<CngAlgorithm>() != null);
System\Security\Cryptography\CngAlgorithmGroup.cs (6)
47
Contract.Ensures(!String.IsNullOrEmpty(Contract.
Result
<string>()));
101
Contract.Ensures(Contract.
Result
<CngAlgorithmGroup>() != null);
113
Contract.Ensures(Contract.
Result
<CngAlgorithmGroup>() != null);
126
Contract.Ensures(Contract.
Result
<CngAlgorithmGroup>() != null);
139
Contract.Ensures(Contract.
Result
<CngAlgorithmGroup>() != null);
151
Contract.Ensures(Contract.
Result
<CngAlgorithmGroup>() != null);
System\Security\Cryptography\CngKey.cs (12)
330
Contract.Ensures(Contract.
Result
<CngUIPolicy>() != null);
360
Contract.Ensures(Contract.
Result
<KeyContainerPermission>() != null || IsEphemeral);
399
Contract.Ensures(Contract.
Result
<CngKey>() != null);
404
Contract.Ensures(Contract.
Result
<CngKey>() != null);
410
Contract.Ensures(Contract.
Result
<CngKey>() != null);
552
Contract.Ensures(Contract.
Result
<CngKey>() != null);
557
Contract.Ensures(Contract.
Result
<CngKey>() != null);
562
Contract.Ensures(Contract.
Result
<CngKey>() != null);
569
Contract.Ensures(Contract.
Result
<CngKey>() != null);
679
Contract.Ensures(Contract.
Result
<CngKey>() != null);
684
Contract.Ensures(Contract.
Result
<CngKey>() != null);
690
Contract.Ensures(Contract.
Result
<CngKey>() != null);
System\Security\Cryptography\CngKeyBlobFormat.cs (9)
50
Contract.Ensures(!String.IsNullOrEmpty(Contract.
Result
<string>()));
102
Contract.Ensures(Contract.
Result
<CngKeyBlobFormat>() != null);
114
Contract.Ensures(Contract.
Result
<CngKeyBlobFormat>() != null);
126
Contract.Ensures(Contract.
Result
<CngKeyBlobFormat>() != null);
138
Contract.Ensures(Contract.
Result
<CngKeyBlobFormat>() != null);
150
Contract.Ensures(Contract.
Result
<CngKeyBlobFormat>() != null);
162
Contract.Ensures(Contract.
Result
<CngKeyBlobFormat>() != null);
174
Contract.Ensures(Contract.
Result
<CngKeyBlobFormat>() != null);
186
Contract.Ensures(Contract.
Result
<CngKeyBlobFormat>() != null);
System\Security\Cryptography\CngKeyCreationParameters.cs (3)
70
Contract.Ensures(Contract.
Result
<CngPropertyCollection>() != null);
80
Contract.Ensures(Contract.
Result
<CngPropertyCollection>() != null);
90
Contract.Ensures(Contract.
Result
<CngProvider>() != null);
System\Security\Cryptography\CngProperty.cs (1)
45
Contract.Ensures(Contract.
Result
<string>() != null);
System\Security\Cryptography\CngProvider.cs (3)
44
Contract.Ensures(!String.IsNullOrEmpty(Contract.
Result
<string>()));
98
Contract.Ensures(Contract.
Result
<CngProvider>() != null);
110
Contract.Ensures(Contract.
Result
<CngProvider>() != null);
System\Security\Cryptography\ECDiffieHellmanCng.cs (12)
123
Contract.Ensures(Contract.
Result
<CngAlgorithm>() != null);
152
Contract.Ensures(Contract.
Result
<ECDiffieHellmanKeyDerivationFunction>() >= ECDiffieHellmanKeyDerivationFunction.Hash &&
153
Contract.
Result
<ECDiffieHellmanKeyDerivationFunction>() <= ECDiffieHellmanKeyDerivationFunction.Tls);
211
Contract.Ensures(Contract.
Result
<CngKey>() != null);
212
Contract.Ensures(Contract.
Result
<CngKey>().AlgorithmGroup == CngAlgorithmGroup.ECDiffieHellman);
298
Contract.Ensures(Contract.
Result
<ECDiffieHellmanPublicKey>() != null);
314
Contract.Ensures(Contract.
Result
<byte[]>() != null);
338
Contract.Ensures(Contract.
Result
<byte[]>() != null);
418
Contract.Ensures(Contract.
Result
<byte[]>() != null);
444
Contract.Ensures(Contract.
Result
<byte[]>() != null);
470
Contract.Ensures(Contract.
Result
<byte[]>() != null);
603
Contract.Ensures(Contract.
Result
<string>() != null);
System\Security\Cryptography\ECDiffieHellmanCngPublicKey.cs (4)
42
Contract.Ensures(Contract.
Result
<CngKeyBlobFormat>() != null);
80
Contract.Ensures(Contract.
Result
<ECDiffieHellmanCngPublicKey>() != null);
118
Contract.Ensures(Contract.
Result
<CngKey>() != null);
131
Contract.Ensures(!String.IsNullOrEmpty(Contract.
Result
<string>()));
System\Security\Cryptography\ECDsaCng.cs (7)
104
Contract.Ensures(Contract.
Result
<CngAlgorithm>() != null);
124
Contract.Ensures(Contract.
Result
<CngKey>() != null);
125
Contract.Ensures(IsEccAlgorithmGroup(Contract.
Result
<CngKey>().AlgorithmGroup));
258
Contract.Ensures(Contract.
Result
<byte[]>() != null);
269
Contract.Ensures(Contract.
Result
<byte[]>() != null);
291
Contract.Ensures(Contract.
Result
<byte[]>() != null);
342
Contract.Ensures(Contract.
Result
<string>() != null);
System\Security\Cryptography\NCryptNative.cs (31)
940
Contract.Ensures(Contract.
Result
<byte[]>() != null);
981
Contract.Ensures(Contract.
Result
<SafeNCryptKeyHandle>() != null &&
982
!Contract.
Result
<SafeNCryptKeyHandle>().IsInvalid &&
983
!Contract.
Result
<SafeNCryptKeyHandle>().IsClosed);
1030
Contract.Ensures(Contract.
Result
<byte[]>() != null);
1110
Contract.Ensures(Contract.
Result
<byte[]>() != null);
1162
Contract.Ensures(Contract.
Result
<byte[]>() != null);
1185
Contract.Ensures(Contract.
Result
<byte[]>() != null);
1206
Contract.Ensures(Contract.
Result
<byte[]>() != null);
1240
Contract.Ensures(Contract.
Result
<SafeNCryptSecretHandle>() != null &&
1241
!Contract.
Result
<SafeNCryptSecretHandle>().IsClosed &&
1242
!Contract.
Result
<SafeNCryptSecretHandle>().IsInvalid);
1264
Contract.Ensures(Contract.
Result
<byte[]>() != null);
1306
Contract.Ensures(Contract.
Result
<byte[]>() != null && Contract.
Result
<byte[]>().Length >= keySize / 8);
1535
Contract.Ensures(Contract.
Result
<SafeNCryptKeyHandle>() != null &&
1536
!Contract.
Result
<SafeNCryptKeyHandle>().IsInvalid &&
1537
!Contract.
Result
<SafeNCryptKeyHandle>().IsClosed);
1564
Contract.Ensures(Contract.
Result
<SafeNCryptKeyHandle>() != null &&
1565
!Contract.
Result
<SafeNCryptKeyHandle>().IsInvalid &&
1566
!Contract.
Result
<SafeNCryptKeyHandle>().IsClosed);
1612
Contract.Ensures(Contract.
Result
<SafeNCryptProviderHandle>() != null &&
1613
!Contract.
Result
<SafeNCryptProviderHandle>().IsInvalid &&
1614
!Contract.
Result
<SafeNCryptProviderHandle>().IsClosed);
1633
Contract.Ensures(Contract.
Result
<byte[]>() != null && Contract.
Result
<byte[]>().Length == buffer.Length);
1648
Contract.Ensures(Contract.
Result
<byte[]>() != null);
1649
Contract.Ensures(Contract.
Result
<byte[]>().Length == (padWithZeroByte ? count + 1 : count));
1650
Contract.Ensures(padWithZeroByte ? Contract.
Result
<byte[]>()[count] == 0 : true);
1773
Contract.Ensures(Contract.
Result
<byte[]>() != null);
1818
Contract.Ensures(Contract.
Result
<byte[]>() != null);
System\Security\Cryptography\Rfc4050KeyFormatter.cs (3)
65
Contract.Ensures(Contract.
Result
<CngKey>() != null);
99
Contract.Ensures(Contract.
Result
<CngAlgorithm>() != null);
356
Contract.Ensures(Contract.
Result
<String>() != null);
System.Drawing (13)
commonui\System\Drawing\Bitmap.cs (2)
629
Contract.Ensures(Contract.
Result
<BitmapData>() != null);
644
Contract.Ensures(Contract.
Result
<BitmapData>() != null);
commonui\System\Drawing\Graphics.cs (1)
235
Contract.Ensures(Contract.
Result
<Graphics>() != null);
commonui\System\Drawing\SystemIcons.cs (10)
43
Contract.Ensures(Contract.
Result
<Icon>() != null);
57
Contract.Ensures(Contract.
Result
<Icon>() != null);
71
Contract.Ensures(Contract.
Result
<Icon>() != null);
85
Contract.Ensures(Contract.
Result
<Icon>() != null);
99
Contract.Ensures(Contract.
Result
<Icon>() != null);
113
Contract.Ensures(Contract.
Result
<Icon>() != null);
127
Contract.Ensures(Contract.
Result
<Icon>() != null);
141
Contract.Ensures(Contract.
Result
<Icon>() != null);
155
Contract.Ensures(Contract.
Result
<Icon>() != null);
169
Contract.Ensures(Contract.
Result
<Icon>() != null);
System.Xml (3)
System\Xml\XPath\XPathNavigator.cs (3)
1004
Contract.Ensures(Contract.
Result
<XPathNodeIterator>() != null);
1010
Contract.Ensures(Contract.
Result
<XPathNodeIterator>() != null);
1016
Contract.Ensures(Contract.
Result
<XPathNodeIterator>() != null);