Skip to content

Update DirectoryInfo and FileInfo Create, Delete and Exists changed behavior #4061

Open

Description

@carlossanlop

Make sure documentation matches new behaviors merged into these two PRs where Invalidate() is called, and mention it's a breaking change where appropriate:

dotnet/corefx#40677
dotnet/runtime#34229

Activity

  1. added
    doc-updateUpdate outdated articles
    help wantedGood for community contributors to help [up-for-grabs]
    easyIssue should be easy to implement, good for first-time contributors
    on Apr 1, 2020
  2. added
    untriagedNew issue has not been triaged by the area owner
    on Apr 1, 2020
  3. added
    Pri3Indicates issues/PRs that are low priority
    on Nov 11, 2020
  4. dangarharshil11 commented on Oct 5, 2026

    @dangarharshil11

    I'd like to work on this. I plan to update the remarks for FileInfo.Create/Delete/Exists and DirectoryInfo.Create/Delete/Exists to say that in .NET 5+ these methods refresh cached state, and to note the difference from .NET Framework

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Pri3Indicates issues/PRs that are low priorityarea-System.IOdoc-enhancementImprove the current contentdoc-updateUpdate outdated articleseasyIssue should be easy to implement, good for first-time contributorshelp wantedGood for community contributors to help [up-for-grabs]untriagedNew issue has not been triaged by the area owner

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions