Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
604 commits
Select commit Hold shift + click to select a range
88d1dc7
Update CancellationTokenSource.xml (#3982)
wazzamatazz Apr 24, 2020
0d528ad
Add exception for RawSecurityDescriptor constructor (#4050)
nxtn Apr 24, 2020
c7edcb2
Updates to code owners (#4160)
carlossanlop Apr 25, 2020
d1cac3c
Fix ChangePassword description (#4113)
uecasm Apr 25, 2020
fecaf2d
Disambiguate TaskFactory.StartNew overloads (#4163)
carlossanlop Apr 27, 2020
ddef212
Auto port System.Threading ACL comments (#4147)
carlossanlop Apr 27, 2020
952f079
.NET Interactive: Enable_try_dotnet_to_batch_5b (#4151)
v-mepa Apr 27, 2020
f7c3dd1
Small edits to String.ToCharArray code snippet (#4170)
carlossanlop Apr 28, 2020
759b8a1
Replace legacy Code Gallery link with new Samples browser (#4166)
IEvangelist Apr 28, 2020
d38e752
.NET Interactive: Enable_try_dotnet_to_batch6a (#4167)
v-mepa Apr 28, 2020
c29b697
enable_try_dotnet_to_batch_6b (#4171)
v-mepa Apr 28, 2020
95591fd
Add missing docs for System.Collections[.Generic] (#4121)
layomia Apr 29, 2020
34c0f5c
fix indentation in XmlTextWriter example (#4168)
krwq Apr 29, 2020
e2ff09b
Update ObjectSecurity.xml (#3444)
HerbertMauerer Apr 29, 2020
fe1663c
Show only language selected (#4172)
mairaw Apr 29, 2020
ef49b00
Enable_try_dotnet_to_batch_6c (#4176)
v-mepa Apr 29, 2020
83916c9
Add undocumented 1.x APIs for System.Diagnostics.Process (#4183)
eiriktsarpalis Apr 30, 2020
daa8068
Added missing plural to the work "block" (#4191)
maslisko May 6, 2020
7583241
Add Rune see also links and text (#4189)
tdykstra May 6, 2020
b579245
Normalize trailing spaces, Part 3 (#4162)
nxtn May 6, 2020
95b0e8b
Add CancelAsync note (#4195)
gewarren May 6, 2020
77cd7ea
enable_try_dotnet_to_batch_7b (#4196)
v-mepa May 6, 2020
d97d95f
Update links to "LINQ: Building an IQueryable Provider" tutorial (#4122)
egorshulga May 6, 2020
b4ec0e4
.NET Interactive: Enable_try_dotnet_to_batch_7a (#4192)
v-mepa May 6, 2020
7202deb
Update HostingEnvironmentExtensions.xml
analogrelay May 7, 2020
74f8701
Update HostEnvironmentEnvExtensions.xml
analogrelay May 7, 2020
a114ec3
Update HostingEnvironmentExtensions.xml
analogrelay May 7, 2020
65eca8c
Format the sample code to make it easier to read (#4208)
Suchiman May 8, 2020
54182c4
Fix comments on CancellationTokenRegistration.Token (#4186)
stephentoub May 8, 2020
0f4839d
Add Rune links to String class (#4206)
tdykstra May 8, 2020
c42d7df
Fixed typo. (#4179)
DavidKlempfner May 11, 2020
2f1a330
feedback from PR 4206 (#4211)
tdykstra May 11, 2020
1225849
Correctly reference UtcNow instead of Now
rsempire May 12, 2020
6ca93c3
Update _filter.xml (#4217)
TianqiZhang May 12, 2020
5a1a453
CI Update (#4205)
BillWagner May 12, 2020
9d54d3c
.NET Interactive: Enable_try_dotnet_to_batch_7c (#4202)
v-mepa May 12, 2020
8600331
Enable .NET Interactive (#4219)
mairaw May 13, 2020
217a5fb
Remove Layer 2 nav from dotnet-api-docs (#4197)
wadepickett May 13, 2020
dafb6d9
Adds docs for Microsoft.Extensions.Primitives (#4105)
maryamariyan May 13, 2020
a5a9f59
Fix broken links (#4223)
gewarren May 13, 2020
26f18fa
Merge pull request #4204 from dotnet/anurse/ext-3054-doc-update
ericstj May 14, 2020
84a68b0
Add ArgumentNullExceptions for WinForms (#4200)
gewarren May 14, 2020
dd2bcc0
Add ArgumentException and ANE to GetToolTipText (#4178)
gewarren May 14, 2020
f16d746
filter out polly and redis (#4218)
BillWagner May 14, 2020
ecb4787
Add Uri Security Considerations section (#4232)
MihaZupan May 14, 2020
a453ba7
Fix CDATA format in BitVector32+Section.xml (#4237)
TianqiZhang May 15, 2020
82f1edd
Update data refresh description on DirectoryInfo.Create (#4240)
carlossanlop May 15, 2020
e4c7196
Change path to new samples url (#4220)
Thraka May 15, 2020
e63b478
first_update_on_new_comment (#4222)
v-mepa May 15, 2020
56d75d8
add .net core exception info (#4244)
gewarren May 15, 2020
9a8ca60
CI Update (#4229)
BillWagner May 19, 2020
560f5df
fix CDATA format in system.data.entitykey.op_equality (#4261)
TianqiZhang May 20, 2020
0d53660
Add proxy credentials rematk to HttpHandler.UseDefaultCredentials
May 20, 2020
33a4def
More specific explanation
May 20, 2020
4b17663
Document that System.Uri is thread-safe
MihaZupan May 21, 2020
e8c4cc3
Fix xref format issue in MetadataLoadContext.xml and LinqDataSourceVi…
TianqiZhang May 21, 2020
729fbfb
Fix typo (#4239)
May 21, 2020
b63bcb2
Remove textbox reference from FileVersionInfo doc (#4164)
OperatorOverload May 21, 2020
db80fb7
Path.xml: Update GetFullPath summary (#4228)
awsr May 22, 2020
425bc86
Add space (#4251)
hughbe May 22, 2020
44af8fa
retire filemap link to dotnet/docs (#4248)
live1206 May 22, 2020
3c2f53c
Merge pull request #4267 from MihaZupan/uri-threadsafety
MihaZupan May 24, 2020
268771a
.NET Interactive: Enable_try_dotnet_to_batch_8b (#4246)
v-mepa May 26, 2020
99b4b98
Fix typo (#4271)
mairaw May 26, 2020
db60afc
System.Data 1.x undocumented APIs (#4233)
May 26, 2020
1d5e621
Fix broken samples links for String.Format and DateTime.Parse (#4243)
gewarren May 26, 2020
bb14310
Update xml/System.Net.Http/HttpClientHandler.xml
aik-jahoda May 27, 2020
3e59e7b
Retire file map (#4282)
mingwli May 27, 2020
50249c6
Merge pull request #4263 from aik-jahoda/jajahoda/default_cred
davidsh May 27, 2020
499b5a7
Automatically port new System.Threading ACL documentation (#4234)
carlossanlop May 27, 2020
87e6f36
Update Application.xml (#4287)
mdunka May 27, 2020
42e50f3
Cleanup ConfigurationExtensions summary (#4281)
MSDN-WhiteKnight May 27, 2020
496c401
CI Update: Add MSBuild APIs (#4259)
BillWagner May 28, 2020
6555ffd
fix remarks CDATA format in sql apis (#4298)
TianqiZhang May 28, 2020
d416fcb
Automatically port 5.0 System.Collections documentation (#4294)
carlossanlop May 28, 2020
9ec770c
Clarify removed controls in 3.1 and 5.0 (#4288)
gewarren May 29, 2020
feff92f
.NET Interactive: Enable_try_dotnet_to_batch_8c (#4255)
v-mepa Jun 1, 2020
30e2950
.NET Interactive: Enable_try_dotnet_to_batch_8d (#4260)
v-mepa Jun 1, 2020
d17c5cd
Fix spelling of method (#4301)
Boaz101 Jun 1, 2020
780d105
Automatically port System.IO EII, FileSystemAclExtensions, CopyTo (#4…
carlossanlop Jun 1, 2020
81dadda
Fix SpecialFiles.ProgramFiles docs to match the actual implementation…
Gnbrkm41 Jun 1, 2020
ee86244
The 1st batch patch for msdn url (#4305)
Jun 3, 2020
5dc3904
Fix sample output (#4312)
mairaw Jun 3, 2020
4f2a190
Automatically port 5.0 System.Runtime.CompilerServices documentation …
carlossanlop Jun 4, 2020
d4a180f
HttpMethod - update doc (#4276)
Jun 4, 2020
1c2f680
Fix sample output for .NET Core on SymmetricAlgorithm.BlockSize (#4300)
vcsjones Jun 4, 2020
8707dc7
HttpRequestException.StatusCode property and ctor
alnikola Jun 5, 2020
fd52d6a
Fix up tables (2 of 2) (#4330)
gewarren Jun 5, 2020
6e5d9f5
Add documentation to XmlDocumentXPathExtensions (#4316)
krwq Jun 5, 2020
6284e66
Fix up tables (1 of 2) (#4329)
gewarren Jun 5, 2020
485eb38
Fix <seealso> links (#4337)
gewarren Jun 5, 2020
764ce99
Escaped backslash character on markdown syntax (#4321)
kanelikki Jun 5, 2020
59b9d50
move seealso tag outside summary (#4342)
gewarren Jun 5, 2020
4ac896f
ReadOnlyMemoryContent class description (#4277)
Jun 8, 2020
146df60
Ping - update documentation (#4333)
Jun 9, 2020
07482dc
NET Interactive: Enable_try_dotnet_to_batch_10a (#4306)
v-mepa Jun 10, 2020
a9a8413
CI Update (#4317)
BillWagner Jun 10, 2020
d87545a
Add AORE exceptions for Preview 5 and 6 (#4359)
gewarren Jun 10, 2020
1ac3f3d
Add ArgumentException (#4353)
gewarren Jun 10, 2020
19caca2
add preview 5 exceptions (#4355)
gewarren Jun 10, 2020
641a8af
adding summary info to bring into compliance (#4346)
craigcaseyMSFT Jun 11, 2020
fe23cad
Replace <see langword="try...catch (#4182)
nxtn Jun 11, 2020
dd3e622
Apply suggestions from code review
alnikola Jun 11, 2020
d3e4d09
ServerCertificateSelectionCallback - update documentation (#4351)
Jun 12, 2020
327a855
WebHeaderCollection: update item[string] property (#4268)
Jun 12, 2020
c5f3a6b
MediaTypeNames+Application - update documentation (#4324)
Jun 12, 2020
f9e83bd
HttpRequestException.StatusCode property and ctor
alnikola Jun 12, 2020
f4bb7fc
The 2nd batch patch for msdn url (#4347)
Jun 15, 2020
69089f0
Fix indentation (#4379)
Youssef1313 Jun 15, 2020
f5b2862
.NET Interactive: Enable_try_dotnet_to_batch_9 (#4283)
v-mepa Jun 15, 2020
e793088
WinHttpHandler - update documentation (#4323)
Jun 15, 2020
84f04cc
Fix defaultCredentialsHandleCacheSize docs (#4383)
davidsh Jun 15, 2020
c1bf75d
CookieCollection - update documentation (#4373)
Jun 16, 2020
f972e24
SslApplicationProtocol: update documentation (#4350)
Jun 16, 2020
faac936
Fix see also link (#4392)
gewarren Jun 16, 2020
8ce12db
adding summary info to bring into compliance (#4370)
craigcaseyMSFT Jun 16, 2020
21e55c3
Different exceptions are thrown in case of timeout on different .NET …
alnikola Jun 16, 2020
892ea13
NegotiateStream - update documentation (#4335)
Jun 17, 2020
54bb4e2
adding missing info to bring into compliance (#4378)
craigcaseyMSFT Jun 17, 2020
ababeae
Update String.Contains (#4250)
danmoseley Jun 17, 2020
bdcbe28
Remove examples for MD5 and SHA1 types (#4403)
tdykstra Jun 17, 2020
7566b64
Typo in StringBuilder.xml (#4401)
danmoseley Jun 18, 2020
d89c3c4
SslStream - update documentation (#4372)
Jun 18, 2020
7459a14
SslServerAuthenticationOptions - update documentation (#4367)
Jun 18, 2020
279504f
add anes for preview 6 (#4405)
gewarren Jun 18, 2020
504ccd3
Correct spelling of s_aditionalEntropy to s_additionalEntropy in data…
kevinmkane Jun 18, 2020
58bd3e2
replace msdn async link (#4322)
mairaw Jun 19, 2020
abf276c
sample formatting improvements (#4407)
mairaw Jun 19, 2020
7eefead
Migration fixes + minor fixes (#4132)
mairaw Jun 19, 2020
c72b36e
fix sample code (#4408)
mairaw Jun 20, 2020
ea1fb71
Update Path.xml documentation (#4252)
jcolebrand Jun 22, 2020
4245579
Update ManualResetEventSlim.xml (#4364)
greggde Jun 22, 2020
bc698c9
Remove mentions of Fields on ImportAttribute (#4422)
ericstj Jun 22, 2020
54b17c0
Fix minor typo. (#4406)
MarkPflug Jun 22, 2020
3a3dadf
specify what is meant by "invalidated" (#4291)
hf-kklein Jun 22, 2020
6c2c8e4
Clarify some ObjectStateFormatter APIs are no-ops (#4256)
GrabYourPitchforks Jun 22, 2020
f4f3902
Update Point.xml (#4380)
jrmoreno1 Jun 22, 2020
be30fc0
SYSTEM_INFO type in the FieldOffset example should be a struct (#4424)
Perksey Jun 22, 2020
f8b1b0a
Updating MSBuild (#4362)
v-alje Jun 23, 2020
e729e37
Update MethodBase docs to new language versions (#4184)
MSDN-WhiteKnight Jun 23, 2020
866dbb2
Remove usings in first BlockingCollection example (#4264)
gurustron Jun 23, 2020
4e7d674
Corrected and simplified `Array.Sort` and `List<T>.Sort` time complex…
RelativelyRandom Jun 23, 2020
a557ad6
c is substituted to typeof(Color) for the example to compile and be c…
Erroman Jun 23, 2020
da15915
Update DigestMethod default value to SHA256 (#4320)
codernr Jun 23, 2020
1bc5416
Fix comment about complexity ImmutableArray`1.ToBuilder method (#4273)
joost-morsink Jun 23, 2020
3a4c6c4
Fix misleading wording in PipeReader and PipeWriter's AsStream docume…
Jun 23, 2020
2df6943
Update VisualStyleElement.xml (#4190)
RussKie Jun 23, 2020
1da4188
Add dependabot config (#4427)
BillWagner Jun 23, 2020
12efe13
Update PipeReader.xml to add info to AdvanceTo (#4311)
Mathew-Kochekkan Jun 23, 2020
57ebe4b
Update Marshal.PtrToStringAnsi - UTF-8 on Unix (#4238)
nxtn Jun 23, 2020
afbbf05
Bump Microsoft.NETCore.UniversalWindowsPlatform (#4428)
dependabot[bot] Jun 24, 2020
50c98f5
Bump Microsoft.ApplicationInsights (#4429)
dependabot[bot] Jun 24, 2020
23877ab
CI Update (#4430)
gewarren Jun 24, 2020
b525f0a
Make the example more interesting and show what each property returns…
SoundersFan Jun 25, 2020
ae2cc3f
remove weird tagging (#4437)
mairaw Jun 25, 2020
4475511
Fix typo and remove not applicable example (#4436)
mairaw Jun 25, 2020
44f5723
sslprotocols update (#4410)
tdykstra Jun 26, 2020
e25a1b4
Fix typo "charter" => "character" (#4447)
hugodahl Jun 29, 2020
944505c
.NET Interactive: Enable_try_dotnet_to_batch_10b (#4343)
v-mepa Jun 30, 2020
b002899
.NET Interactive: Enable_try_dotnet_to_batch_11c (#4374)
v-mepa Jun 30, 2020
9b62201
Enable_try_dotnet_to_batch_12a (#4395)
v-mepa Jun 30, 2020
8e6a316
enable_try_dotnet_to_batch_12b (#4404)
v-mepa Jun 30, 2020
0ee26cf
enable_try_dotnet_to_batch_12c (#4412)
v-mepa Jun 30, 2020
0571618
The 3rd batch patch for msdn url (#4381)
Jun 30, 2020
2b21ba6
SocketsHttpHandler - update documentation (#4290)
Jun 30, 2020
e46ead7
Update MSDN URLs (#4452)
mairaw Jun 30, 2020
75eb938
replace rijndael etc (#4415)
tdykstra Jun 30, 2020
7946d3e
Fixed typo in ConsoleLoggerOptions docs (#4453)
Pikabanga Jun 30, 2020
0a52719
HMACSHA1 --> HMACSHA256 (#4411)
tdykstra Jun 30, 2020
ca46741
elmeents > elements (#4454)
vcsjones Jun 30, 2020
92a81e3
enable_try_dotnet_to_batch_13a (#4455)
v-mepa Jul 1, 2020
24edf30
NET Interactive: Enable_try_dotnet_to_batch_12d (#4425)
v-mepa Jul 1, 2020
8edf14d
Samples fixes for Batch 13 of .NET Interactive changes (#4457)
mairaw Jul 1, 2020
35a18cb
Fix typo in metadata (#4461)
GeertvanHorrik Jul 1, 2020
5a7858a
Rijndael-->Aes (#4456)
tdykstra Jul 2, 2020
2e63966
.NET Interactive: Enable_try_dotnet_to_batch_11b (#4369)
v-mepa Jul 2, 2020
0b8e28d
enable_try_dotnet_to_batch_13b (#4463)
v-mepa Jul 2, 2020
efdbc35
.NET Interactive: Enable_try_dotnet_to_batch_11a (#4361)
v-mepa Jul 2, 2020
323d2e1
rsacsp-->rsa,dsacsp-->dsa (#4469)
tdykstra Jul 6, 2020
ae470de
SslClientAuthenticationOptions - update documentation (#4366)
Jul 7, 2020
c04a745
cert.privatekey-->cert.getrsaprivatekey() (#4478)
tdykstra Jul 7, 2020
4cb9020
CI Update - Update MSDN links (#4458)
mairaw Jul 8, 2020
f088ef0
Add missing grave accents (#4468)
MarcusOtter Jul 8, 2020
8ebb339
Fix infinite loop (#4479)
mairaw Jul 8, 2020
e2e0080
CI Update (#4444)
BillWagner Jul 8, 2020
2cf991d
enable_try_dotnet_to_batch_13c (#4472)
v-mepa Jul 8, 2020
50ce8f6
CI Update - MSDN URL Update (#4480)
mairaw Jul 8, 2020
35f38a9
make descriptions uniform + add exceptions (#2442)
mairaw Jul 9, 2020
669e466
Minor grammar edit to DataSourceUpdateMode (#4460)
shdvr Jul 9, 2020
a59c458
Extra Constand Description (#4488)
facebookegypt Jul 9, 2020
7719026
fix broken links (#4489)
mairaw Jul 9, 2020
5e50a18
Fix code to make output correct (#4490)
mairaw Jul 9, 2020
d6cf331
Fix paramrefs (#4481)
gewarren Jul 9, 2020
4ab3a43
Link to more specific DisposeAsync article (#4475)
MSDN-WhiteKnight Jul 9, 2020
fc57f7f
.NET Interactive: Enable_try_dotnet_to_batch_14a (#4487)
v-mepa Jul 9, 2020
f1fb030
Improving midpoint rounding documentation (#4485)
SingleAccretion Jul 9, 2020
6260d32
add_enable_dotnet_to_batch_14b (#4494)
v-mepa Jul 9, 2020
bfab376
Add see also links to empty attached properties (#4442)
gewarren Jul 10, 2020
3615fd9
Add default formats (#4502)
gewarren Jul 10, 2020
f2f5975
Add Lerp algorithm info (#4503)
gewarren Jul 11, 2020
017d92e
DSA --> RSA (#4504)
tdykstra Jul 13, 2020
5abc1ad
Update Timer.xml for consistency (#4496)
juliusfriedman Jul 13, 2020
1954f94
Markdown code block in TransactionEventArgs (#4511)
Jul 14, 2020
13d86ed
Fix Typo (#4510)
JerichoKain Jul 14, 2020
4158396
Update RSAParameters.xml (#4509)
jc1001 Jul 14, 2020
c9ae790
enable_try_dotnet_to_batch_14c (#4501)
v-mepa Jul 14, 2020
c91ef67
Add links to security guidance (#4517)
gewarren Jul 14, 2020
82de6c9
CI Update - Update MSDN URLs (#4513)
mairaw Jul 14, 2020
8413856
remove weird tagging (#4515)
mairaw Jul 14, 2020
250246e
Fix typo (#4512)
mairaw Jul 14, 2020
7ea253d
enable_try_dotnet_to_batch_15a (#4521)
v-mepa Jul 15, 2020
7fa27b6
BinaryFormatter risks (#4508)
Rick-Anderson Jul 16, 2020
26dfea5
Improve sample and sample outputs (#4526)
mairaw Jul 16, 2020
bf816bf
CI Update (#4525)
mairaw Jul 16, 2020
8d169a1
output improvements (#4514)
mairaw Jul 16, 2020
dd13862
CI Update (#4530)
gewarren Jul 16, 2020
9477216
add ane's for preview 7 and 8 (#4495)
gewarren Jul 16, 2020
cd48e47
Add AE for Preview 7 (#4499)
gewarren Jul 16, 2020
e1c9553
Fix bad period placements (#4534)
gewarren Jul 17, 2020
63734c6
Fix xref links (#4535)
gewarren Jul 17, 2020
7debf43
Removing System.Windows assembly
joelmartinez Jul 20, 2020
af978fa
Fix xref links - System.Web through System.Xml (#4540)
gewarren Jul 20, 2020
948347a
Fix PipeOptions ctor pauseWriterThreshold (#4491)
carlossanlop Jul 21, 2020
8049faf
Merge pull request #4546 from dotnet/marj/assemblynamecleanup
joelmartinez Jul 21, 2020
50eb2f5
Fix up broken links (System.Runtime through System.Timers) (#4539)
gewarren Jul 21, 2020
fa04bf0
Update DispatcherPriority.xml (#4476)
Patrick8639 Jul 21, 2020
0c68949
Fix wording in the Int32 documentation (#4484)
ForNeVeR Jul 21, 2020
4f6df3f
Remove stale comments on Stream.Can properties (#4506)
stephentoub Jul 21, 2020
bba51a8
Fix ToHexString typos (#4544)
swilliams96 Jul 21, 2020
d954bbf
Update ArrayPool`1.xml (#4507)
jkotas Jul 21, 2020
87b8036
Adjust code with the example's comment (#4466)
glihm Jul 21, 2020
d498f66
MetadataReader: add remarks and example (#4140)
MSDN-WhiteKnight Jul 21, 2020
4c4d4b2
Update DateTime.xml (#4299)
AlanLiu90 Jul 21, 2020
3d0ce2e
Add DispatcherTimer to the list of available timer classes (#4371)
softworkz Jul 21, 2020
7da9d49
Update DataContext.xml (#4393)
aodennison Jul 21, 2020
2eb3088
Link to unsafe-escaping section of how-to doc (#4545)
tdykstra Jul 21, 2020
ac12fc2
fix broken links (#4527)
mairaw Jul 21, 2020
823c4f5
Corrected parameter name in Sleep(TimeSpan) docs (#4433)
Jul 21, 2020
dd8b882
Update pathcombine.cs example comment (#4441)
BoldAsLove Jul 21, 2020
367e5b3
CI Update (#4548)
gewarren Jul 21, 2020
42649ae
Fix remarks for Insert overload which takes CacheDependency (#4483)
mikemccaughan Jul 22, 2020
12539c6
Note performance counter permission distinction for interactive logon…
mriehm Jul 22, 2020
5d031bc
Adjust code with example's text (#4550)
glihm Jul 22, 2020
2e193b9
Update ComboBox.xml (#4529)
RussKie Jul 22, 2020
f544d12
Delete wrong/oudated note (#4486)
Youssef1313 Jul 22, 2020
20077c1
Distinguish ModifyAccessRule/ModifyAuditRule params from returns (#4006)
nxtn Jul 22, 2020
a19b9d9
Highlight that the link to unsafe-escaping shows why it is unsafe. (#…
ahsonkhan Jul 22, 2020
5a14a34
Clarify Buffer.MemoryCopy behavior for overlapping buffers (#4462)
jkotas Jul 22, 2020
19d852b
Merge pull request #4215 from stefanidi/patch-1
krwq Jul 23, 2020
0624f6a
Add notes to not-recommended algorithm classes (#4538)
tdykstra Jul 23, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
.NET Interactive: Enable_try_dotnet_to_batch_14a (#4487)
* enable_try_dotnet_to_batch_14a

* remove_interactive_dotnet
  • Loading branch information
v-mepa authored Jul 9, 2020
commit fc57f7f6f8debf42c7009c23048126fcf687a37c
6 changes: 3 additions & 3 deletions xml/System.Collections.Specialized/NameValueCollection.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@


## Examples
[!code-cpp[System.Collections.Specialized.NameValueCollection2#1](~/samples/snippets/cpp/VS_Snippets_CLR_System/system.Collections.Specialized.NameValueCollection2/CPP/nvc.cpp#1)]
[!code-csharp[System.Collections.Specialized.NameValueCollection2#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Collections.Specialized.NameValueCollection2/CS/nvc.cs#1)]
[!code-vb[System.Collections.Specialized.NameValueCollection2#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameValueCollection2/VB/nvc.vb#1)]
:::code language="cpp" source="~/samples/snippets/cpp/VS_Snippets_CLR_System/system.Collections.Specialized.NameValueCollection2/CPP/nvc.cpp" id="Snippet1":::
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Collections.Specialized.NameValueCollection2/CS/nvc.cs" interactive="try-dotnet" id="Snippet1":::
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Collections.Specialized.NameValueCollection2/VB/nvc.vb" id="Snippet1":::

]]></format>
</remarks>
Expand Down
4 changes: 2 additions & 2 deletions xml/System.Linq/Queryable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8335,8 +8335,8 @@ If `count` is not a positive number, this method returns an empty queryable sequ
## Examples
The following code example demonstrates how to use <xref:System.Linq.Queryable.Union%60%601%28System.Linq.IQueryable%7B%60%600%7D%2CSystem.Collections.Generic.IEnumerable%7B%60%600%7D%29> to obtain the set union of two sequences.

[!code-csharp[System.Linq.Queryable#109](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Linq.Queryable/CS/queryable.cs#109)]
[!code-vb[System.Linq.Queryable#109](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb#109)]
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Linq.Queryable/CS/queryable.cs" interactive="try-dotnet-method" id="Snippet109":::
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Linq.Queryable/VB/queryable.vb" id="Snippet109":::

]]></format>
</remarks>
Expand Down
6 changes: 3 additions & 3 deletions xml/System.Text/Encoder.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@
## Examples
The following example demonstrates how to convert an array of Unicode characters into blocks of bytes using a specified encoding. For comparison, the array of characters is first encoded using <xref:System.Text.UTF7Encoding>. Next, the array of characters is encoded using an <xref:System.Text.Encoder>.

[!code-cpp[System.Text.Encoder Example#1](~/samples/snippets/cpp/VS_Snippets_CLR_System/system.Text.Encoder Example/CPP/snippet.cpp#1)]
[!code-csharp[System.Text.Encoder Example#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Text.Encoder Example/CS/snippet.cs#1)]
[!code-vb[System.Text.Encoder Example#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoder Example/VB/snippet.vb#1)]
:::code language="cpp" source="~/samples/snippets/cpp/VS_Snippets_CLR_System/system.Text.Encoder Example/CPP/snippet.cpp" id="Snippet1":::
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Text.Encoder Example/CS/snippet.cs" interactive="try-dotnet" id="Snippet1":::
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.Encoder Example/VB/snippet.vb" id="Snippet1":::

]]></format>
</remarks>
Expand Down
10 changes: 5 additions & 5 deletions xml/System.Text/UTF8Encoding.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1936,14 +1936,14 @@
## Examples
The following example uses the <xref:System.Text.UTF8Encoding.GetPreamble%2A> method to return the Unicode byte order mark encoded in UTF-8 format. Notice that the parameterless constructor for <xref:System.Text.UTF8Encoding> does not provide a preamble.

[!code-cpp[System.Text.UTF8Encoding.GetPreamble Example#1](~/samples/snippets/cpp/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetPreamble Example/CPP/getpreamble-.cpp#1)]
[!code-csharp[System.Text.UTF8Encoding.GetPreamble Example#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetPreamble Example/CS/getpreamble-.cs#1)]
[!code-vb[System.Text.UTF8Encoding.GetPreamble Example#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetPreamble Example/VB/getpreamble-.vb#1)]
:::code language="cpp" source="~/samples/snippets/cpp/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetPreamble Example/CPP/getpreamble-.cpp" id="Snippet1":::
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetPreamble Example/CS/getpreamble-.cs" interactive="try-dotnet" id="Snippet1":::
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Text.UTF8Encoding.GetPreamble Example/VB/getpreamble-.vb" id="Snippet1":::

The following example instantiates two <xref:System.Text.UTF8Encoding> objects, the first by calling the parameterless <xref:System.Text.UTF8Encoding.%23ctor> constructor, which does not provide a BOM, and the second by calling the <xref:System.Text.UTF8Encoding.%23ctor%28System.Boolean%29> constructor with its `encoderShouldEmitUTF8Identifier` argument set to `true`. It then calls the <xref:System.Text.UTF8Encoding.GetPreamble%2A> method to write the BOM to a file before writing a UF8-encoded string. As the console output from the example shows, the file that saves the bytes from the second encoder has three more bytes than the first.

[!code-csharp[System.Text.UTF8Encoding.GetPreamble#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.text.utf8encoding.getpreamble/cs/getpreamble1.cs#1)]
[!code-vb[System.Text.UTF8Encoding.GetPreamble#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf8encoding.getpreamble/vb/getpreamble1.vb#1)]
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/system.text.utf8encoding.getpreamble/cs/getpreamble1.cs" interactive="try-dotnet" id="Snippet1":::
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.text.utf8encoding.getpreamble/vb/getpreamble1.vb" id="Snippet1":::

You can also compare the files by using the `fc` command in a console window, or you can inspect the files in a text editor that includes a Hex View mode. Note that when the file is opened in an editor that supports UTF-8, the BOM is not displayed.

Expand Down
24 changes: 12 additions & 12 deletions xml/System/ArgumentOutOfRangeException.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ The conditions in which an <xref:System.ArgumentOutOfRangeException> exception i

1. The collection has no members, and your code assumes that it does. The following example attempts to retrieve the first element of a collection that has no elements:

[!code-csharp[System.ArgumentOutOfRangeException#4](~/samples/snippets/csharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/cs/NoElements.cs#4)]
[!code-vb[System.ArgumentOutOfRangeException#4](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/NoElements.vb#4)]
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/cs/NoElements.cs" interactive="try-dotnet" id="Snippet4":::
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/NoElements.vb" id="Snippet4":::

To prevent the exception, check whether the collection's `Count` property is greater than zero before attempting to retrieve any members, as the following code fragment does.

Expand All @@ -98,8 +98,8 @@ The conditions in which an <xref:System.ArgumentOutOfRangeException> exception i

3. You're attempting to retrieve an item whose index is negative. This usually occurs because you've searched a collection for the index of a particular element and have erroneously assumed that the search is successful. In the following example, the call to the <xref:System.Collections.Generic.List%601.FindIndex%28System.Predicate%7B%600%7D%29?displayProperty=nameWithType> method fails to find a string equal to "Z" and so returns -1. However, this is an invalid index value.

[!code-csharp[System.ArgumentOutOfRangeException#6](~/samples/snippets/csharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/cs/BadSearch.cs#6)]
[!code-vb[System.ArgumentOutOfRangeException#6](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/BadSearch.vb#6)]
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/cs/BadSearch.cs" interactive="try-dotnet" id="Snippet6":::
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/BadSearch.vb" id="Snippet6":::

To prevent the exception, check that the search is successful by making sure that the returned index is greater than or equal to zero before attempting to retrieve the item from the collection, as the following code fragment does.

Expand All @@ -108,8 +108,8 @@ The conditions in which an <xref:System.ArgumentOutOfRangeException> exception i

4. You're attempting to retrieve an element whose index is equal to the value of the collection's `Count` property, as the following example illustrates.

[!code-csharp[System.ArgumentOutOfRangeException#8](~/samples/snippets/csharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/cs/OOR2.cs#8)]
[!code-vb[System.ArgumentOutOfRangeException#8](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/OOR2.vb#8)]
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/cs/OOR2.cs" interactive="try-dotnet" id="Snippet8":::
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/OOR2.vb" id="Snippet8":::

Because collections in .NET use zero-based indexing, the first element of the collection is at index 0, and the last element is at index `Count` - 1. You can eliminate the error by ensuring that you access the last element at index `Count` - 1, as the following code does.

Expand Down Expand Up @@ -141,8 +141,8 @@ The conditions in which an <xref:System.ArgumentOutOfRangeException> exception i

To eliminate the exception, validate the value returned by the string search method before calling the string manipulation method.

[!code-csharp[System.ArgumentOutOfRangeException#18](~/samples/snippets/csharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/cs/NoFind2.cs#18)]
[!code-vb[System.ArgumentOutOfRangeException#18](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/NoFind2.vb#18)]
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/cs/NoFind2.cs" interactive="try-dotnet" id="Snippet18":::
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/NoFind2.vb" id="Snippet18":::

3. You've attempted to extract a substring that is outside the range of the current string.

Expand All @@ -164,8 +164,8 @@ The conditions in which an <xref:System.ArgumentOutOfRangeException> exception i

The following example defines a `FindWords` method that uses the <xref:System.String.IndexOfAny%28System.Char%5B%5D%2CSystem.Int32%29?displayProperty=nameWithType> method to identify space characters and punctuation marks in a string and returns an array that contains the words found in the string.

[!code-csharp[System.ArgumentOutOfRangeException#19](~/samples/snippets/csharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/cs/FindWords1.cs#19)]
[!code-vb[System.ArgumentOutOfRangeException#19](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/FindWords1.vb#19)]
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/cs/FindWords1.cs" interactive="try-dotnet" id="Snippet19":::
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/System.ArgumentOutOfRangeException/vb/FindWords1.vb" id="Snippet19":::

- You have passed a negative number to a method with an argument that requires only positive numbers and zero, or you have passed either a negative number or zero to a method with an argument that requires only positive numbers.

Expand Down Expand Up @@ -216,8 +216,8 @@ For a list of initial property values for an instance of <xref:System.ArgumentOu

The following example defines a class to contain information about an invited guest. If the guest is younger than 21, an <xref:System.ArgumentOutOfRangeException> exception is thrown.

[!code-csharp[ArgumentOutOfRangeException#1](~/samples/snippets/csharp/VS_Snippets_CLR/ArgumentOutOfRangeException/CS/program.cs#1)]
[!code-vb[ArgumentOutOfRangeException#1](~/samples/snippets/visualbasic/VS_Snippets_CLR/ArgumentOutOfRangeException/VB/program.vb#1)]
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR/ArgumentOutOfRangeException/CS/program.cs" interactive="try-dotnet" id="Snippet1":::
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR/ArgumentOutOfRangeException/VB/program.vb" id="Snippet1":::

]]></format>
</remarks>
Expand Down
12 changes: 6 additions & 6 deletions xml/System/IndexOutOfRangeException.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@

To correct the error, you can use code like the following.

[!code-csharp[System.IndexOutOfRangeException#4](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.indexoutofrangeexception/cs/length2.cs#4)]
[!code-vb[System.IndexOutOfRangeException#4](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/length2.vb#4)]
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/system.indexoutofrangeexception/cs/length2.cs" interactive="try-dotnet" id="Snippet4":::
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/length2.vb" id="Snippet4":::

Alternately, instead of iterating all the elements in the array by their index, you can use the `foreach` statement (in C#) or the `For Each` statement (in Visual Basic).

Expand Down Expand Up @@ -118,8 +118,8 @@

To correct the error, as the following example does, you can call the <xref:System.Array.GetLowerBound%2A> method instead of making assumptions about the starting index of an array.

[!code-csharp[System.IndexOutOfRangeException#2](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.indexoutofrangeexception/cs/nonzero2.cs#2)]
[!code-vb[System.IndexOutOfRangeException#2](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/nonzero2.vb#2)]
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/system.indexoutofrangeexception/cs/nonzero2.cs" interactive="try-dotnet" id="Snippet2":::
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/nonzero2.vb" id="Snippet2":::

Note that when you call the <xref:System.Array.GetLowerBound%2A> method to get the starting index of an array, you should also call the <xref:System.Array.GetUpperBound%28System.Int32%29?displayProperty=nameWithType> method to get its ending index.

Expand All @@ -130,8 +130,8 @@

The iteration construct returns each value in an array or collection, not its index. To eliminate the exception, use this code.

[!code-csharp[System.IndexOutOfRangeException#8](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.indexoutofrangeexception/cs/foreach2.cs#8)]
[!code-vb[System.IndexOutOfRangeException#8](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/foreach2.vb#8)]
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/system.indexoutofrangeexception/cs/foreach2.cs" interactive="try-dotnet" id="Snippet8":::
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.indexoutofrangeexception/vb/foreach2.vb" id="Snippet8":::

- Providing an invalid column name to the <xref:System.Data.DataView.Sort%2A?displayProperty=nameWithType> property.

Expand Down
12 changes: 6 additions & 6 deletions xml/System/Type.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11866,9 +11866,9 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance

The following code example and table illustrate some of these terms and invariants. The `Derived` class is of particular interest because its base type is a constructed type that has a mixture of types and type parameters in its type argument list.

[!code-cpp[System.Type.IsGenericType#2](~/samples/snippets/cpp/VS_Snippets_CLR_System/system.Type.IsGenericType/cpp/remarks.cpp#2)]
[!code-csharp[System.Type.IsGenericType#2](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Type.IsGenericType/cs/remarks.cs#2)]
[!code-vb[System.Type.IsGenericType#2](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.IsGenericType/vb/remarks.vb#2)]
:::code language="cpp" source="~/samples/snippets/cpp/VS_Snippets_CLR_System/system.Type.IsGenericType/cpp/remarks.cpp" id="Snippet2":::
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Type.IsGenericType/cs/remarks.cs" id="Snippet2":::
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.IsGenericType/vb/remarks.vb" id="Snippet2":::

The following table shows examples that use and build on the classes `Base`, `Derived`, and `G`. When the C++ and C# code is the same, only one entry is shown.

Expand All @@ -11886,9 +11886,9 @@ Byref-like structures are declared using `ref struct` keyword in C#. An instance
## Examples
The following code example displays the value of the <xref:System.Type.IsGenericType%2A>, <xref:System.Type.IsGenericTypeDefinition%2A>, <xref:System.Type.IsGenericParameter%2A>, and <xref:System.Type.ContainsGenericParameters%2A> properties for the types described in the Remarks section. For explanations of the property values, see the accompanying table in Remarks.

[!code-cpp[System.Type.IsGenericType#1](~/samples/snippets/cpp/VS_Snippets_CLR_System/system.Type.IsGenericType/cpp/source.cpp#1)]
[!code-csharp[System.Type.IsGenericType#1](~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Type.IsGenericType/cs/source.cs#1)]
[!code-vb[System.Type.IsGenericType#1](~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.IsGenericType/vb/source.vb#1)]
:::code language="cpp" source="~/samples/snippets/cpp/VS_Snippets_CLR_System/system.Type.IsGenericType/cpp/source.cpp" id="Snippet1":::
:::code language="csharp" source="~/samples/snippets/csharp/VS_Snippets_CLR_System/system.Type.IsGenericType/cs/source.cs" interactive="try-dotnet" id="Snippet1":::
:::code language="vb" source="~/samples/snippets/visualbasic/VS_Snippets_CLR_System/system.Type.IsGenericType/vb/source.vb" id="Snippet1":::

]]></format>
</remarks>
Expand Down