876 references to Ensures
mscorlib (654)
microsoft\win32\registrykey.cs (1)
2152
Contract.
Ensures
(name != null);
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 (41)
43
Contract.
Ensures
(Contract.Result<ReadOnlyCollection<T>>() != null);
53
Contract.
Ensures
(Contract.ValueAtReturn(out array) != null);
54
Contract.
Ensures
(Contract.ValueAtReturn(out array).Length == newSize);
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) ||
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 (31)
108
Contract.
Ensures
(Contract.Result<int>() >= Count);
115
Contract.
Ensures
(Capacity >= 0);
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);
584
Contract.
Ensures
(Count >= 0);
597
Contract.
Ensures
(Count >= 0);
618
Contract.
Ensures
(Count >= 0);
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 (4)
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 (36)
112
Contract.
Ensures
(Contract.Result<int>() >= 0);
139
Contract.
Ensures
(Contract.Result<int>() >= 0);
246
Contract.
Ensures
(Count >= Contract.OldValue(Count));
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 (30)
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 (22)
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 (3)
547
/// This method can only be used within the argument to the <seealso cref="
Ensures
(bool)"/> contract.
563
/// This method can only be used within the argument to the <seealso cref="
Ensures
(bool)"/> contract.
579
/// This method can only be used within the argument to the <seealso cref="
Ensures
(bool)"/> contract.
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\memorystream.cs (3)
292
Contract.
Ensures
(_capacity - _origin == value);
328
Contract.
Ensures
(Position == value);
531
Contract.
Ensures
(_length - _origin == value);
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\ConstructorInfo.cs (1)
273
Contract.
Ensures
(methodAttributes == RuntimeMethodHandle.GetAttributes(handle));
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\methodinfo.cs (2)
255
Contract.
Ensures
(!m_handle.IsNull());
819
Contract.
Ensures
(m_returnParameter != null);
system\reflection\parameterinfo.cs (2)
101
Contract.
Ensures
(Contract.Result<MemberInfo>() != null);
218
Contract.
Ensures
(Contract.Result<Object>() != null);
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 (1)
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 (57)
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\ManualResetEventSlim.cs (1)
259
Contract.
Ensures
(m_lock != 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 (8)
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);
1421
Contract.
Ensures
(Contract.ValueAtReturn<String[]>(out enumNames) != null);
1422
Contract.
Ensures
(Contract.ValueAtReturn<Array>(out enumValues) != 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 (12)
net\System\Net\_ChunkParser.cs (5)
703
Contract.
Ensures
((Contract.Result<DataParseStatus>() != DataParseStatus.Done) ||
724
Contract.
Ensures
((Contract.Result<DataParseStatus>() == DataParseStatus.ContinueParsing) ||
755
Contract.
Ensures
((Contract.Result<DataParseStatus>() != DataParseStatus.Done) ||
826
Contract.
Ensures
((Contract.Result<DataParseStatus>() != DataParseStatus.Done) ||
879
Contract.
Ensures
((Contract.Result<DataParseStatus>() != DataParseStatus.Done) ||
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 (1)
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 (187)
Microsoft\Win32\SafeHandles\CapiSafeHandles.cs (1)
293
Contract.
Ensures
(Contract.Result<SafeCapiKeyHandle>() != null && !Contract.Result<SafeCapiKeyHandle>().IsInvalid && !Contract.Result<SafeCapiKeyHandle>().IsClosed);
Microsoft\Win32\SafeHandles\NCryptSafeHandles.cs (10)
128
Contract.
Ensures
(m_holder.m_ownershipState == OwnershipState.Holder);
129
Contract.
Ensures
(m_ownershipState == OwnershipState.Duplicate);
220
Contract.
Ensures
(Contract.Result<T>() != null);
221
Contract.
Ensures
(m_ownershipState == OwnershipState.Duplicate);
222
Contract.
Ensures
(Contract.Result<T>().m_ownershipState == OwnershipState.Duplicate);
249
Contract.
Ensures
(m_ownershipState == OwnershipState.Duplicate);
250
Contract.
Ensures
(Contract.Result<T>() != null &&
285
Contract.
Ensures
(m_ownershipState == OwnershipState.Duplicate);
286
Contract.
Ensures
(Contract.Result<T>() != null &&
420
Contract.
Ensures
(!IsInvalid);
System\Security\Cryptography\AesCryptoServiceProvider.cs (17)
38
Contract.
Ensures
(m_cspHandle != null && !m_cspHandle.IsInvalid && !m_cspHandle.IsClosed);
76
Contract.
Ensures
(m_key != null && !m_key.IsInvalid && !m_key.IsClosed);
77
Contract.
Ensures
(Contract.Result<byte[]>() != null &&
93
Contract.
Ensures
(m_key != null && !m_key.IsInvalid && !m_key.IsClosed);
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);
271
Contract.
Ensures
(!disposing || m_key == null || m_key.IsClosed);
272
Contract.
Ensures
(!disposing || m_cspHandle == null || m_cspHandle.IsClosed);
301
Contract.
Ensures
(Contract.Result<KeySizes[]>() != null);
305
Contract.
Ensures
(Contract.Result<KeySizes[]>().Length == 0 ||
369
Contract.
Ensures
(m_key != null && !m_key.IsInvalid & !m_key.IsClosed);
402
Contract.
Ensures
(IVValue != null && IVValue.Length == BlockSizeValue / 8);
419
Contract.
Ensures
(
System\Security\Cryptography\AesManaged.cs (2)
23
Contract.
Ensures
(m_impl != null);
67
Contract.
Ensures
(m_impl.Mode != CipherMode.CFB && m_impl.Mode != CipherMode.OFB);
System\Security\Cryptography\BCryptHashAlgorithm.cs (6)
70
Contract.
Ensures
(m_algorithmHandle != null && !m_algorithmHandle.IsInvalid && !m_algorithmHandle.IsClosed);
71
Contract.
Ensures
(m_hashHandle != null && !m_hashHandle.IsInvalid && !m_hashHandle.IsClosed);
93
Contract.
Ensures
(m_hashHandle == null || m_hashHandle.IsClosed);
94
Contract.
Ensures
(m_algorithmHandle == null || m_algorithmHandle.IsClosed);
114
Contract.
Ensures
(m_hashHandle != null && !m_hashHandle.IsInvalid && !m_hashHandle.IsClosed);
214
Contract.
Ensures
(Contract.Result<byte[]>() != null);
System\Security\Cryptography\BCryptNative.cs (2)
495
Contract.
Ensures
(Contract.Result<byte[]>() != null);
581
Contract.
Ensures
(Contract.Result<SafeBCryptAlgorithmHandle>() != null &&
System\Security\Cryptography\CapiHashAlgorithm.cs (6)
34
Contract.
Ensures
(m_cspHandle != null && !m_cspHandle.IsInvalid && !m_cspHandle.IsClosed);
35
Contract.
Ensures
(m_hashHandle != null && !m_hashHandle.IsInvalid && !m_hashHandle.IsClosed);
48
Contract.
Ensures
(m_hashHandle == null || m_hashHandle.IsClosed);
49
Contract.
Ensures
(m_cspHandle == null || m_cspHandle.IsClosed);
66
Contract.
Ensures
(m_hashHandle != null && !m_hashHandle.IsInvalid && !m_hashHandle.IsClosed);
139
Contract.
Ensures
(Contract.Result<byte[]>() != null);
System\Security\Cryptography\CapiNative.cs (5)
511
Contract.
Ensures
(Contract.Result<SafeCspHandle>() != null &&
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 &&
System\Security\Cryptography\CapiSymmetricAlgorithm.cs (14)
54
Contract.
Ensures
(m_provider != null && !m_provider.IsInvalid && !m_provider.IsClosed);
86
Contract.
Ensures
(m_key == null || m_key.IsClosed);
87
Contract.
Ensures
(m_provider == null || m_provider.IsClosed);
88
Contract.
Ensures
(m_depadBuffer == null);
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);
365
Contract.
Ensures
(cipherMode == CipherMode.ECB ||
397
Contract.
Ensures
(Contract.Result<int>() >= 0);
428
Contract.
Ensures
(m_depadBuffer == null);
475
Contract.
Ensures
(Contract.Result<int>() >= 0);
515
Contract.
Ensures
(Contract.Result<byte[]>() != null);
584
Contract.
Ensures
(Contract.Result<SafeCapiKeyHandle>() != null &&
System\Security\Cryptography\CngAlgorithm.cs (16)
38
Contract.
Ensures
(!String.IsNullOrEmpty(m_algorithm));
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 (7)
30
Contract.
Ensures
(!String.IsNullOrEmpty(m_algorithmGroup));
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 (14)
41
Contract.
Ensures
(m_keyHandle != null && !m_keyHandle.IsInvalid && !m_keyHandle.IsClosed);
42
Contract.
Ensures
(kspHandle != null && !kspHandle.IsInvalid && !kspHandle.IsClosed);
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 (10)
33
Contract.
Ensures
(!String.IsNullOrEmpty(m_format));
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 (4)
27
Contract.
Ensures
(!String.IsNullOrEmpty(m_provider));
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 (19)
49
Contract.
Ensures
(LegalKeySizesValue != null);
53
Contract.
Ensures
(LegalKeySizesValue != null);
70
Contract.
Ensures
(LegalKeySizesValue != null);
71
Contract.
Ensures
(m_key != null && m_key.AlgorithmGroup == CngAlgorithmGroup.ECDiffieHellman);
123
Contract.
Ensures
(Contract.Result<CngAlgorithm>() != null);
128
Contract.
Ensures
(m_hashAlgorithm != null);
152
Contract.
Ensures
(Contract.Result<ECDiffieHellmanKeyDerivationFunction>() >= ECDiffieHellmanKeyDerivationFunction.Hash &&
159
Contract.
Ensures
(m_kdf >= ECDiffieHellmanKeyDerivationFunction.Hash &&
211
Contract.
Ensures
(Contract.Result<CngKey>() != null);
212
Contract.
Ensures
(Contract.Result<CngKey>().AlgorithmGroup == CngAlgorithmGroup.ECDiffieHellman);
213
Contract.
Ensures
(m_key != null && m_key.AlgorithmGroup == CngAlgorithmGroup.ECDiffieHellman);
256
Contract.
Ensures
(m_key != null && m_key.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 (5)
30
Contract.
Ensures
(m_format != null);
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\ECDiffieHellmanPublicKey.cs (1)
25
Contract.
Ensures
(m_keyBlob != null);
System\Security\Cryptography\ECDsaCng.cs (14)
31
Contract.
Ensures
(LegalKeySizesValue != null);
35
Contract.
Ensures
(LegalKeySizesValue != null);
52
Contract.
Ensures
(LegalKeySizesValue != null);
53
Contract.
Ensures
(m_key != null && IsEccAlgorithmGroup(m_key.AlgorithmGroup));
104
Contract.
Ensures
(Contract.Result<CngAlgorithm>() != null);
109
Contract.
Ensures
(m_hashAlgorithm != null);
124
Contract.
Ensures
(Contract.Result<CngKey>() != null);
125
Contract.
Ensures
(IsEccAlgorithmGroup(Contract.Result<CngKey>().AlgorithmGroup));
126
Contract.
Ensures
(m_key != null && IsEccAlgorithmGroup(m_key.AlgorithmGroup));
169
Contract.
Ensures
(m_key != null && IsEccAlgorithmGroup(m_key.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\MD5Cng.cs (1)
19
Contract.
Ensures
(m_hashAlgorithm != null);
System\Security\Cryptography\NCryptNative.cs (19)
940
Contract.
Ensures
(Contract.Result<byte[]>() != null);
981
Contract.
Ensures
(Contract.Result<SafeNCryptKeyHandle>() != null &&
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 &&
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 &&
1564
Contract.
Ensures
(Contract.Result<SafeNCryptKeyHandle>() != null &&
1612
Contract.
Ensures
(Contract.Result<SafeNCryptProviderHandle>() != null &&
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\Security\Cryptography\SHA1Cng.cs (1)
20
Contract.
Ensures
(m_hashAlgorithm != null);
System\Security\Cryptography\SHA256Cng.cs (1)
19
Contract.
Ensures
(m_hashAlgorithm != null);
System\Security\Cryptography\SHA256CryptoServiceProvider.cs (1)
19
Contract.
Ensures
(m_hashAlgorithm != null);
System\Security\Cryptography\SHA384Cng.cs (1)
19
Contract.
Ensures
(m_hashAlgorithm != null);
System\Security\Cryptography\SHA384CryptoServiceProvider.cs (1)
19
Contract.
Ensures
(m_hashAlgorithm != null);
System\Security\Cryptography\SHA512Cng.cs (1)
19
Contract.
Ensures
(m_hashAlgorithm != null);
System\Security\Cryptography\SHA512CryptoServiceProvider.cs (1)
19
Contract.
Ensures
(m_hashAlgorithm != 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.Numerics (1)
System\Numerics\NumericsHelpers.cs (1)
29
Contract.
Ensures
(Contract.ValueAtReturn(out sign) == +1 || Contract.ValueAtReturn(out sign) == -1);
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);