@@ -1730,6 +1730,7 @@ type Derived() = class end
17301730"""
17311731 let xmlText = getEntityXmlText code " Derived"
17321732 Assert.Contains( " GrandBase documentation" , xmlText)
1733+ Assert.DoesNotContain( " inheritdoc" , xmlText)
17331734
17341735 [<Fact>]
17351736 let ``inheritdoc circular reference should not crash tooltip`` () =
@@ -1787,6 +1788,7 @@ type ServiceImpl() =
17871788"""
17881789 let xmlText = getEntityXmlText code symbolName
17891790 Assert.Contains( expectedText, xmlText)
1791+ Assert.DoesNotContain( " inheritdoc" , xmlText)
17901792
17911793 [<Fact>]
17921794 let ``inheritdoc from same module nested type`` () =
@@ -1803,6 +1805,7 @@ type DerivedFromOuter() = class end
18031805"""
18041806 let xmlText = getEntityXmlText code " DerivedFromOuter"
18051807 Assert.Contains( " Outer container documentation" , xmlText)
1808+ Assert.DoesNotContain( " inheritdoc" , xmlText)
18061809
18071810 [<Theory>]
18081811 [<InlineData( " DerivedInSecond" , " Type in first module" ) >]
@@ -1822,6 +1825,7 @@ type DerivedInSecond() = class end
18221825"""
18231826 let xmlText = getEntityXmlText code symbolName
18241827 Assert.Contains( expectedText, xmlText)
1828+ Assert.DoesNotContain( " inheritdoc" , xmlText)
18251829
18261830 [<Fact>]
18271831 let ``inheritdoc from System type via IL`` () =
@@ -1900,6 +1904,7 @@ type DerivedRecord = { Id: int; Data: string }
19001904"""
19011905 let xmlText = getEntityXmlText code symbolName
19021906 Assert.Contains( expectedText, xmlText)
1907+ Assert.DoesNotContain( " inheritdoc" , xmlText)
19031908
19041909 [<Theory>]
19051910 [<InlineData( " DerivedUnion" , " Base union type" ) >]
@@ -1921,6 +1926,7 @@ type DerivedUnion =
19211926"""
19221927 let xmlText = getEntityXmlText code symbolName
19231928 Assert.Contains( expectedText, xmlText)
1929+ Assert.DoesNotContain( " inheritdoc" , xmlText)
19241930
19251931 [<Fact>]
19261932 let ``inheritdoc implicit without cref on interface impl should resolve`` () =
@@ -1939,6 +1945,8 @@ type ServiceImpl() =
19391945 let xmlText = getMemberXmlText code " ServiceImpl" " DoWork"
19401946 Assert.Contains( " Service method" , xmlText)
19411947 Assert.DoesNotContain( " <inheritdoc" , xmlText)
1948+
1949+ [<Theory>]
19421950 [<InlineData( " DerivedClass" , " Base class documentation" ) >]
19431951 [<InlineData( " DerivedClass" , " Base remarks" ) >]
19441952 let ``implicit inheritdoc should resolve from base class for type`` ( symbolName : string , expectedText : string ) =
@@ -1955,6 +1963,7 @@ type DerivedClass() =
19551963"""
19561964 let xmlText = getEntityXmlText code symbolName
19571965 Assert.Contains( expectedText, xmlText)
1966+ Assert.DoesNotContain( " inheritdoc" , xmlText)
19581967
19591968 [<Theory>]
19601969 [<InlineData( " MyImpl" , " Interface documentation" ) >]
@@ -1975,6 +1984,7 @@ type MyImpl() =
19751984"""
19761985 let xmlText = getEntityXmlText code symbolName
19771986 Assert.Contains( expectedText, xmlText)
1987+ Assert.DoesNotContain( " inheritdoc" , xmlText)
19781988
19791989 // ===========================================
19801990 // IMPLICIT INHERITDOC ON METHODS AND PROPERTIES
@@ -2096,6 +2106,7 @@ type Box<'T> = { Item: 'T }
20962106"""
20972107 let xmlText = getEntityXmlText code " Box`1"
20982108 Assert.Contains( " A generic container" , xmlText)
2109+ Assert.DoesNotContain( " inheritdoc" , xmlText)
20992110
21002111 [<Fact>]
21012112 let ``nested type cref should resolve`` () =
@@ -2111,6 +2122,7 @@ type Other = { Y: int }
21112122"""
21122123 let xmlText = getEntityXmlText code " Other"
21132124 Assert.Contains( " Inner type docs" , xmlText)
2125+ Assert.DoesNotContain( " inheritdoc" , xmlText)
21142126
21152127 [<Fact>]
21162128 let ``tooling - time resolution removes all inheritdoc elements`` () =
0 commit comments