Skip to content
Permalink
main
Switch branches/tags

Commits on Jun 9, 2022

Commits on Jun 8, 2022

  1. Port documentation for .NET 7.0 Preview4 (#8127)

    * Microsoft.Extensions.Caching.Memory
    
    * Microsoft.Extensions.Configuration
    
    * Microsoft.Extensions.DependencyInjection
    
    * System.ComponentModel.DataAnnotations
    
    * System.Diagnostics.Activity
    
    * System.Diagnostics
    
    * System.Diagnostics.CodeAnalysis
    
    * System.Formats.Tar
    
    * System.IO.Hashing
    
    * System.Numerics
    
    * System.Runtime.CompilerServices
    
    * System.Runtime.InteropServices
    
    * System.ServiceProcess
    
    * System.Text.Json
    
    * System.Text.RegularExpressions
    
    * System.Threading.Tasks
    
    * System.Timers
    
    * System (Globalization)
    
    * System (Memory)
    
    * System (GC)
    
    * System (Built-in types and everything else)
    
    
    Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
    Co-authored-by: carlossanlop <carlossanlop@users.noreply.github.com>
    3 people committed Jun 8, 2022
  2. Merge pull request #7912 from theodorzoulias/patch-1

    BlockingCollection<T>.BoundedCapacity correction
    eiriktsarpalis committed Jun 8, 2022

Commits on Jun 7, 2022

  1. Merge pull request #8105 from gewarren/cas-dep

    Add alert about CAS deprecation
    gewarren committed Jun 7, 2022
  2. Remove Windows Forms code from sample (#8068)

    * Remove Windows Forms code from sample
    
    1) Renamed method settings_ValidationEventHandler to ValidationEventHandler. The underscore was in the method name because the Windows Forms designer created event handler methods and it added an underscore to each event handler method (20-year-old knowledge). I used the same method name as in https://docs.microsoft.com/en-us/dotnet/standard/data/xml/reading-and-writing-xml-schemas.
    2) The body of ValidationCallback contained Windows Forms MessageBoxes which means any user compiling the documentation would have to reference the Windows Forms assembly (coding style 2002-2006). I replaced this with System.Console (see the link for reading-and-writing-xml-schemas above which has the same behavior).
    3) There was variable declared at the end of settings_ValidationEventHandler (in the handling of XmlSeverityType.Error): Type objectType = sender.GetType();. This variable was not used and served no purpose in the sample.
    
    * Update xmlhelpermethods.cs
    softwarepronto committed Jun 7, 2022
  3. Take method, XML documentation corrections (#7946)

    The public T Take(); method of the BlockingCollection<T> class doesn't throw OperationCanceledException.
    Corrections made according to the embedded XML documentation in the source code of the class.
    theodorzoulias committed Jun 7, 2022

Commits on Jun 6, 2022

  1. Update source.cs (#8135)

    fix misprint communciation -> communication
    viordash committed Jun 6, 2022

Commits on May 31, 2022

  1. Snippet2 missing method, generateXMLString (#8118)

    //<Snippet2> is referenced by a documentation page for XmlDocument (see below for URLs). When the code copied from the documentation is pasted into a Windows Forms app and the namespaces added, the code does not compile. The compilation error is caused because one method is missing, generateXMLString. There is a copy button on documentation page which copies <Snippet2>. I moved generateXMLString from the top of xmlhelpermethods.cs where it is not used into //<Snippet2> so it will be included in the example code for the XmlDocument class.
    
    //<Snippet2> is referenced by
    
    https://docs.microsoft.com/en-us/dotnet/api/system.xml.xmldocument?view=net-6.0
    https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Xml/XmlDocument.xml
    
    Here is where snippet 2 is referenced
     [!code-csharp[XMLProcessingApp#2](~/snippets/csharp/System.Xml/XmlDocument/Overview/xmlhelpermethods.cs#2)]
    softwarepronto committed May 31, 2022
  2. Improve IDisposable inheritance examples (#8117)

    * Update base1.cs
    
    * Update derived1.cs
    
    * Update base1.fs
    
    * Update derived1.fs
    
    * Update base1.vb
    
    * Update derived1.vb
    
    * Update comment
    
    * Create IDisposableSnippets.vbproj
    
    * Rename BaseClass
    
    * Rename DerivedClass
    
    * Rename WordCount
    
    * Rename Example
    
    * Fix name collision
    MSDN-WhiteKnight committed May 31, 2022
  3. add missing text (#8113)

    gewarren committed May 31, 2022

Commits on May 27, 2022

Commits on May 26, 2022

  1. add remaining alerts

    gewarren committed May 26, 2022
  2. add caution block for CAS

    gewarren committed May 26, 2022

Commits on May 24, 2022

  1. Add comment about Cookie behavior to HttpClientHandler.AllowAutoRedir…

    …ect (#8092)
    
    * Add comment about Cookie behavior to HttpClientHandler.AllowAutoRedirect
    
    * Add xrefs
    MihaZupan committed May 24, 2022

Commits on May 23, 2022

Commits on May 18, 2022

Older