diff --git a/src/Hl7.Fhir.Base/Specification/Snapshot/SnapshotGeneratorExtensions.cs b/src/Hl7.Fhir.Base/Specification/Snapshot/SnapshotGeneratorExtensions.cs index 3cd2cb0ab..159e5b378 100644 --- a/src/Hl7.Fhir.Base/Specification/Snapshot/SnapshotGeneratorExtensions.cs +++ b/src/Hl7.Fhir.Base/Specification/Snapshot/SnapshotGeneratorExtensions.cs @@ -76,8 +76,12 @@ public static void RemoveAllConstrainedByDiffExtensions(this IEnumerable e } } - - internal static void RemoveAllNonInheritableExtensions(this Element element) + /// + /// This extension removes all non-inheritable extensions from the specified element definition and all it's child objects. + /// Non-inheritable extensions are extensions that should not be inherited by derived profiles. + /// + /// + public static void RemoveAllNonInheritableExtensions(this Element element) { if (element == null) { throw Error.ArgumentNull(nameof(element)); } element.RemoveNonInheritableExtensions();