diff --git a/samples/csharp/docfx.json b/samples/csharp/docfx.json index 828d0228138..a1838b14b23 100644 --- a/samples/csharp/docfx.json +++ b/samples/csharp/docfx.json @@ -1,39 +1,22 @@ { "metadata": [ - { - "src": [ - "src/*.csproj" - ], - "outputFormat": "mref", - "memberLayout": "separatePages", - "output": "obj/api" - }, - { - "src": [ - "src/*.csproj" - ], - "outputFormat": "apiPage", - "memberLayout": "separatePages", - "output": "obj/apipage" - }, { "src": [ "src/*.csproj" ], - "outputFormat": "markdown", - "memberLayout": "separatePages", - "output": "obj/md" - }, + "dest": "api" + } ], "build": { "content": [ - { "files": [ "*.{md,yml}" ]}, - { "files": [ "**/*.yml" ], "src": "obj/api", "dest": "api" }, - { "files": [ "**/*.yml" ], "src": "obj/apipage", "dest": "apipage" }, - { "files": [ "**/*.{md,yml}" ], "src": "obj/md", "dest": "md" }, + { + "files": [ + "api/**/*.yml", + "toc.yml" + ] + } ], "output": "_site", - "template": ["default", "modern"], "exportViewModel": true } } diff --git a/samples/csharp/toc.yml b/samples/csharp/toc.yml deleted file mode 100644 index d909a754ad0..00000000000 --- a/samples/csharp/toc.yml +++ /dev/null @@ -1,8 +0,0 @@ -- name: API Documentation - items: - - name: .NET API - href: obj/api/ - - name: .NET API (apipage) - href: obj/apipage/ - - name: .NET API (markdown) - href: obj/md/ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp13.AllowRefStruct-1.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp13.AllowRefStruct-1.html.view.verified.json new file mode 100644 index 00000000000..b4dbaee8979 --- /dev/null +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp13.AllowRefStruct-1.html.view.verified.json @@ -0,0 +1,888 @@ +{ + "uid": "CSharp13.AllowRefStruct`1", + "isEii": false, + "isExtensionMethod": false, + "parent": { + "uid": "CSharp13", + "isEii": false, + "isExtensionMethod": false, + "href": "CSharp13.html", + "name": [ + { + "lang": "csharp", + "value": "CSharp13" + }, + { + "lang": "vb", + "value": "CSharp13" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "CSharp13" + }, + { + "lang": "vb", + "value": "CSharp13" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp13" + }, + { + "lang": "vb", + "value": "CSharp13" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0 + }, + "children": [ + { + "inMethod": true, + "typePropertyName": "inMethod", + "id": "methods", + "children": [ + { + "uid": "CSharp13.AllowRefStruct`1.Method(`0)", + "isEii": false, + "isExtensionMethod": false, + "parent": "CSharp13.AllowRefStruct`1", + "isExternal": false, + "name": [ + { + "lang": "csharp", + "value": "Method(scoped T)" + }, + { + "lang": "vb", + "value": "Method(T)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "AllowRefStruct.Method(scoped T)" + }, + { + "lang": "vb", + "value": "AllowRefStruct(Of T).Method(T)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp13.AllowRefStruct.Method(scoped T)" + }, + { + "lang": "vb", + "value": "CSharp13.AllowRefStruct(Of T).Method(T)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public void Method(scoped T p)" + }, + { + "lang": "vb", + "value": "Public Sub Method(p As T)" + } + ], + "parameters": [ + { + "id": "p", + "type": { + "uid": "{T}", + "definition": "T", + "name": [ + { + "lang": "csharp", + "value": "T" + }, + { + "lang": "vb", + "value": "T" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "T" + }, + { + "lang": "vb", + "value": "T" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "T" + }, + { + "lang": "vb", + "value": "T" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ] + } + } + ] + }, + "source": { + "remote": { + "path": "samples/csharp/src/CSharp13.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "Method", + "path": "src/CSharp13.cs", + "startLine": 7, + "endLine": 0 + }, + "assemblies": [ + "CSharp" + ], + "namespace": "CSharp13", + "overload": { + "uid": "CSharp13.AllowRefStruct`1.Method*", + "name": [ + { + "lang": "csharp", + "value": "Method" + }, + { + "lang": "vb", + "value": "Method" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "AllowRefStruct.Method" + }, + { + "lang": "vb", + "value": "AllowRefStruct(Of T).Method" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp13.AllowRefStruct.Method" + }, + { + "lang": "vb", + "value": "CSharp13.AllowRefStruct(Of T).Method" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "id": "CSharp13_AllowRefStruct_1_Method_" + }, + "level": 0, + "type": "method", + "summary": "", + "platform": null, + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp13_AllowRefStruct_1_Method__0_.md&value=---%0Auid%3A%20CSharp13.AllowRefStruct%601.Method(%600)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", + "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/csharp/src/CSharp13.cs/#L8", + "description": "", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": [], + "id": "CSharp13_AllowRefStruct_1_Method__0_", + "hideTitleType": false, + "hideSubtitle": false + } + ] + } + ], + "langs": [ + "csharp", + "vb" + ], + "name": [ + { + "lang": "csharp", + "value": "AllowRefStruct" + }, + { + "lang": "vb", + "value": "AllowRefStruct(Of T)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "AllowRefStruct" + }, + { + "lang": "vb", + "value": "AllowRefStruct(Of T)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp13.AllowRefStruct" + }, + { + "lang": "vb", + "value": "CSharp13.AllowRefStruct(Of T)" + } + ], + "type": "class", + "source": { + "remote": { + "path": "samples/csharp/src/CSharp13.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "AllowRefStruct", + "path": "src/CSharp13.cs", + "startLine": 3, + "endLine": 0 + }, + "assemblies": [ + "CSharp" + ], + "namespace": { + "uid": "CSharp13", + "isEii": false, + "isExtensionMethod": false, + "href": "CSharp13.html", + "name": [ + { + "lang": "csharp", + "value": "CSharp13" + }, + { + "lang": "vb", + "value": "CSharp13" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "CSharp13" + }, + { + "lang": "vb", + "value": "CSharp13" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp13" + }, + { + "lang": "vb", + "value": "CSharp13" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0 + }, + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public class AllowRefStruct where T : allows ref struct" + }, + { + "lang": "vb", + "value": "Public Class AllowRefStruct(Of T)" + } + ], + "typeParameters": [ + { + "id": "T", + "description": "" + } + ] + }, + "inheritance": [ + { + "uid": "System.Object", + "isEii": false, + "isExtensionMethod": false, + "parent": "System", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object", + "name": [ + { + "lang": "csharp", + "value": "object" + }, + { + "lang": "vb", + "value": "Object" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object" + }, + { + "lang": "vb", + "value": "Object" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object" + }, + { + "lang": "vb", + "value": "Object" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0, + "index": 0 + } + ], + "level": 1, + "inheritedMembers": [ + { + "uid": "System.Object.Equals(System.Object)", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)", + "name": [ + { + "lang": "csharp", + "value": "Equals(object)" + }, + { + "lang": "vb", + "value": "Equals(Object)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.Equals(object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.Equals(object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "Equals(object)" + }, + { + "lang": "vb", + "value": "Equals(Object)" + } + ], + "level": 0 + }, + { + "uid": "System.Object.Equals(System.Object,System.Object)", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)", + "name": [ + { + "lang": "csharp", + "value": "Equals(object, object)" + }, + { + "lang": "vb", + "value": "Equals(Object, Object)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.Equals(object, object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object, Object)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.Equals(object, object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object, Object)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "Equals(object, object)" + }, + { + "lang": "vb", + "value": "Equals(Object, Object)" + } + ], + "level": 0 + }, + { + "uid": "System.Object.GetHashCode", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.gethashcode", + "name": [ + { + "lang": "csharp", + "value": "GetHashCode()" + }, + { + "lang": "vb", + "value": "GetHashCode()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.GetHashCode()" + }, + { + "lang": "vb", + "value": "Object.GetHashCode()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.GetHashCode()" + }, + { + "lang": "vb", + "value": "Object.GetHashCode()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "GetHashCode()" + }, + { + "lang": "vb", + "value": "GetHashCode()" + } + ], + "level": 0 + }, + { + "uid": "System.Object.GetType", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.gettype", + "name": [ + { + "lang": "csharp", + "value": "GetType()" + }, + { + "lang": "vb", + "value": "GetType()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.GetType()" + }, + { + "lang": "vb", + "value": "Object.GetType()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.GetType()" + }, + { + "lang": "vb", + "value": "Object.GetType()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "GetType()" + }, + { + "lang": "vb", + "value": "GetType()" + } + ], + "level": 0 + }, + { + "uid": "System.Object.MemberwiseClone", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone", + "name": [ + { + "lang": "csharp", + "value": "MemberwiseClone()" + }, + { + "lang": "vb", + "value": "MemberwiseClone()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.MemberwiseClone()" + }, + { + "lang": "vb", + "value": "Object.MemberwiseClone()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.MemberwiseClone()" + }, + { + "lang": "vb", + "value": "Object.MemberwiseClone()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "MemberwiseClone()" + }, + { + "lang": "vb", + "value": "MemberwiseClone()" + } + ], + "level": 0 + }, + { + "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.referenceequals", + "name": [ + { + "lang": "csharp", + "value": "ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "ReferenceEquals(Object, Object)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "Object.ReferenceEquals(Object, Object)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "Object.ReferenceEquals(Object, Object)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "ReferenceEquals(Object, Object)" + } + ], + "level": 0 + }, + { + "uid": "System.Object.ToString", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.tostring", + "name": [ + { + "lang": "csharp", + "value": "ToString()" + }, + { + "lang": "vb", + "value": "ToString()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.ToString()" + }, + { + "lang": "vb", + "value": "Object.ToString()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.ToString()" + }, + { + "lang": "vb", + "value": "Object.ToString()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "ToString()" + }, + { + "lang": "vb", + "value": "ToString()" + } + ], + "level": 0 + } + ], + "_systemKeys": [ + "uid", + "isEii", + "isExtensionMethod", + "parent", + "children", + "href", + "langs", + "name", + "nameWithType", + "fullName", + "type", + "source", + "documentation", + "assemblies", + "namespace", + "summary", + "remarks", + "example", + "syntax", + "overridden", + "overload", + "exceptions", + "seealso", + "see", + "inheritance", + "derivedClasses", + "level", + "implements", + "inheritedMembers", + "extensionMethods", + "conceptual", + "platform", + "attributes", + "additionalNotes" + ], + "_key": "api/CSharp13.AllowRefStruct-1.yml", + "_path": "api/CSharp13.AllowRefStruct-1.html", + "_rel": "../", + "_tocKey": "~/api/toc.yml", + "_tocPath": "api/toc.html", + "_tocRel": "toc.html", + "__global": { + "namespacesInSubtitle": "Namespaces", + "classesInSubtitle": "Classes", + "structsInSubtitle": "Structs", + "interfacesInSubtitle": "Interfaces", + "enumsInSubtitle": "Enums", + "delegatesInSubtitle": "Delegates", + "constructorsInSubtitle": "Constructors", + "fieldsInSubtitle": "Fields", + "propertiesInSubtitle": "Properties", + "methodsInSubtitle": "Methods", + "eventsInSubtitle": "Events", + "operatorsInSubtitle": "Operators", + "eiisInSubtitle": "Explicit Interface Implementations", + "functionsInSubtitle": "Functions", + "variablesInSubtitle": "Variables", + "typeAliasesInSubtitle": "Type Aliases", + "membersInSubtitle": "Members", + "improveThisDoc": "Edit this page", + "viewSource": "View Source", + "inheritance": "Inheritance", + "derived": "Derived", + "inheritedMembers": "Inherited Members", + "package": "Package", + "namespace": "Namespace", + "assembly": "Assembly", + "syntax": "Syntax", + "overrides": "Overrides", + "implements": "Implements", + "remarks": "Remarks", + "examples": "Examples", + "seealso": "See Also", + "declaration": "Declaration", + "parameters": "Parameters", + "typeParameters": "Type Parameters", + "type": "Type", + "name": "Name", + "description": "Description", + "returns": "Returns", + "fieldValue": "Field Value", + "propertyValue": "Property Value", + "eventType": "Event Type", + "variableValue": "Variable Value", + "typeAliasType": "Type Alias Type", + "exceptions": "Exceptions", + "condition": "Condition", + "extensionMethods": "Extension Methods", + "note": "Note", + "warning": "Warning", + "tip": "Tip", + "important": "Important", + "caution": "Caution", + "tocToggleButton": "Show / Hide Table of Contents", + "tocFilter": "Filter by title", + "search": "Search", + "searchResults": "Search Results for", + "searchResultsCount": "{count} results for \"{query}\"", + "searchNoResults": "No results for \"{query}\"", + "pageFirst": "First", + "pagePrev": "Previous", + "pageNext": "Next", + "pageLast": "Last", + "inThisArticle": "In this article", + "nextArticle": "Next", + "prevArticle": "Previous", + "backToTop": "Back to top", + "themeLight": "Light", + "themeDark": "Dark", + "themeAuto": "Auto", + "changeTheme": "Change theme", + "copy": "Copy", + "downloadPdf": "Download PDF", + "_shared": {} + }, + "yamlmime": "ManagedReference", + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp13_AllowRefStruct_1.md&value=---%0Auid%3A%20CSharp13.AllowRefStruct%601%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", + "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/csharp/src/CSharp13.cs/#L4", + "summary": "", + "description": "", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": [], + "id": "CSharp13_AllowRefStruct_1", + "hideTitleType": false, + "hideSubtitle": false, + "isClass": true, + "inClass": true, + "_disableToc": false, + "_disableNextArticle": true +} \ No newline at end of file diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp13.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp13.html.view.verified.json new file mode 100644 index 00000000000..e8711dee72a --- /dev/null +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp13.html.view.verified.json @@ -0,0 +1,248 @@ +{ + "uid": "CSharp13", + "isEii": false, + "isExtensionMethod": false, + "children": [ + { + "inClass": true, + "typePropertyName": "inClass", + "id": "classes", + "children": [ + { + "uid": "CSharp13.AllowRefStruct`1", + "isExtensionMethod": false, + "href": "CSharp13.AllowRefStruct-1.html", + "name": [ + { + "lang": "csharp", + "value": "AllowRefStruct" + }, + { + "lang": "vb", + "value": "AllowRefStruct(Of T)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "AllowRefStruct" + }, + { + "lang": "vb", + "value": "AllowRefStruct(Of T)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp13.AllowRefStruct" + }, + { + "lang": "vb", + "value": "CSharp13.AllowRefStruct(Of T)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "AllowRefStruct<T>" + }, + { + "lang": "vb", + "value": "AllowRefStruct(Of T)" + } + ], + "level": 0, + "summary": "", + "type": "class", + "platform": null, + "isEii": false, + "docurl": "", + "sourceurl": "", + "description": "", + "remarks": "", + "conceptual": "", + "syntax": "", + "implements": "", + "example": "", + "seealso": [], + "id": "CSharp13_AllowRefStruct_1", + "hideTitleType": false, + "hideSubtitle": false + } + ] + } + ], + "langs": [ + "csharp", + "vb" + ], + "name": [ + { + "lang": "csharp", + "value": "CSharp13" + }, + { + "lang": "vb", + "value": "CSharp13" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "CSharp13" + }, + { + "lang": "vb", + "value": "CSharp13" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp13" + }, + { + "lang": "vb", + "value": "CSharp13" + } + ], + "type": "namespace", + "assemblies": [ + "CSharp" + ], + "level": 0, + "_systemKeys": [ + "uid", + "isEii", + "isExtensionMethod", + "parent", + "children", + "href", + "langs", + "name", + "nameWithType", + "fullName", + "type", + "source", + "documentation", + "assemblies", + "namespace", + "summary", + "remarks", + "example", + "syntax", + "overridden", + "overload", + "exceptions", + "seealso", + "see", + "inheritance", + "derivedClasses", + "level", + "implements", + "inheritedMembers", + "extensionMethods", + "conceptual", + "platform", + "attributes", + "additionalNotes" + ], + "_key": "api/CSharp13.yml", + "_path": "api/CSharp13.html", + "_rel": "../", + "_tocKey": "~/api/toc.yml", + "_tocPath": "api/toc.html", + "_tocRel": "toc.html", + "__global": { + "namespacesInSubtitle": "Namespaces", + "classesInSubtitle": "Classes", + "structsInSubtitle": "Structs", + "interfacesInSubtitle": "Interfaces", + "enumsInSubtitle": "Enums", + "delegatesInSubtitle": "Delegates", + "constructorsInSubtitle": "Constructors", + "fieldsInSubtitle": "Fields", + "propertiesInSubtitle": "Properties", + "methodsInSubtitle": "Methods", + "eventsInSubtitle": "Events", + "operatorsInSubtitle": "Operators", + "eiisInSubtitle": "Explicit Interface Implementations", + "functionsInSubtitle": "Functions", + "variablesInSubtitle": "Variables", + "typeAliasesInSubtitle": "Type Aliases", + "membersInSubtitle": "Members", + "improveThisDoc": "Edit this page", + "viewSource": "View Source", + "inheritance": "Inheritance", + "derived": "Derived", + "inheritedMembers": "Inherited Members", + "package": "Package", + "namespace": "Namespace", + "assembly": "Assembly", + "syntax": "Syntax", + "overrides": "Overrides", + "implements": "Implements", + "remarks": "Remarks", + "examples": "Examples", + "seealso": "See Also", + "declaration": "Declaration", + "parameters": "Parameters", + "typeParameters": "Type Parameters", + "type": "Type", + "name": "Name", + "description": "Description", + "returns": "Returns", + "fieldValue": "Field Value", + "propertyValue": "Property Value", + "eventType": "Event Type", + "variableValue": "Variable Value", + "typeAliasType": "Type Alias Type", + "exceptions": "Exceptions", + "condition": "Condition", + "extensionMethods": "Extension Methods", + "note": "Note", + "warning": "Warning", + "tip": "Tip", + "important": "Important", + "caution": "Caution", + "tocToggleButton": "Show / Hide Table of Contents", + "tocFilter": "Filter by title", + "search": "Search", + "searchResults": "Search Results for", + "searchResultsCount": "{count} results for \"{query}\"", + "searchNoResults": "No results for \"{query}\"", + "pageFirst": "First", + "pagePrev": "Previous", + "pageNext": "Next", + "pageLast": "Last", + "inThisArticle": "In this article", + "nextArticle": "Next", + "prevArticle": "Previous", + "backToTop": "Back to top", + "themeLight": "Light", + "themeDark": "Dark", + "themeAuto": "Auto", + "changeTheme": "Change theme", + "copy": "Copy", + "downloadPdf": "Download PDF", + "_shared": {} + }, + "yamlmime": "ManagedReference", + "docurl": "", + "sourceurl": "", + "summary": "", + "description": "", + "remarks": "", + "conceptual": "", + "syntax": "", + "implements": "", + "example": "", + "seealso": [], + "id": "CSharp13", + "hideTitleType": false, + "hideSubtitle": false, + "isNamespace": true, + "_disableToc": false, + "_disableNextArticle": true +} \ No newline at end of file diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp14.FieldBackedPropertySample.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp14.FieldBackedPropertySample.html.view.verified.json new file mode 100644 index 00000000000..a4d4d1b2d68 --- /dev/null +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp14.FieldBackedPropertySample.html.view.verified.json @@ -0,0 +1,880 @@ +{ + "uid": "CSharp14.FieldBackedPropertySample", + "isEii": false, + "isExtensionMethod": false, + "parent": { + "uid": "CSharp14", + "isEii": false, + "isExtensionMethod": false, + "href": "CSharp14.html", + "name": [ + { + "lang": "csharp", + "value": "CSharp14" + }, + { + "lang": "vb", + "value": "CSharp14" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "CSharp14" + }, + { + "lang": "vb", + "value": "CSharp14" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14" + }, + { + "lang": "vb", + "value": "CSharp14" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0 + }, + "children": [ + { + "inProperty": true, + "typePropertyName": "inProperty", + "id": "properties", + "children": [ + { + "uid": "CSharp14.FieldBackedPropertySample.FieldBackedProperty", + "isEii": false, + "isExtensionMethod": false, + "parent": "CSharp14.FieldBackedPropertySample", + "isExternal": false, + "name": [ + { + "lang": "csharp", + "value": "FieldBackedProperty" + }, + { + "lang": "vb", + "value": "FieldBackedProperty" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "FieldBackedPropertySample.FieldBackedProperty" + }, + { + "lang": "vb", + "value": "FieldBackedPropertySample.FieldBackedProperty" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.FieldBackedPropertySample.FieldBackedProperty" + }, + { + "lang": "vb", + "value": "CSharp14.FieldBackedPropertySample.FieldBackedProperty" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public int FieldBackedProperty { get; set; }" + }, + { + "lang": "vb", + "value": "Public Property FieldBackedProperty As Integer" + } + ], + "parameters": [], + "return": null, + "propertyValue": { + "type": { + "uid": "System.Int32", + "name": [ + { + "lang": "csharp", + "value": "int" + }, + { + "lang": "vb", + "value": "Integer" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "int" + }, + { + "lang": "vb", + "value": "Integer" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "int" + }, + { + "lang": "vb", + "value": "Integer" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ] + } + } + }, + "source": { + "remote": { + "path": "samples/csharp/src/CSharp14.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "FieldBackedProperty", + "path": "src/CSharp14.cs", + "startLine": 5, + "endLine": 0 + }, + "assemblies": [ + "CSharp" + ], + "namespace": "CSharp14", + "overload": { + "uid": "CSharp14.FieldBackedPropertySample.FieldBackedProperty*", + "name": [ + { + "lang": "csharp", + "value": "FieldBackedProperty" + }, + { + "lang": "vb", + "value": "FieldBackedProperty" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "FieldBackedPropertySample.FieldBackedProperty" + }, + { + "lang": "vb", + "value": "FieldBackedPropertySample.FieldBackedProperty" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.FieldBackedPropertySample.FieldBackedProperty" + }, + { + "lang": "vb", + "value": "CSharp14.FieldBackedPropertySample.FieldBackedProperty" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "id": "CSharp14_FieldBackedPropertySample_FieldBackedProperty_" + }, + "level": 0, + "type": "property", + "summary": "", + "platform": null, + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp14_FieldBackedPropertySample_FieldBackedProperty.md&value=---%0Auid%3A%20CSharp14.FieldBackedPropertySample.FieldBackedProperty%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", + "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/csharp/src/CSharp14.cs/#L6", + "description": "", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": [], + "id": "CSharp14_FieldBackedPropertySample_FieldBackedProperty", + "hideTitleType": false, + "hideSubtitle": false + } + ] + } + ], + "langs": [ + "csharp", + "vb" + ], + "name": [ + { + "lang": "csharp", + "value": "FieldBackedPropertySample" + }, + { + "lang": "vb", + "value": "FieldBackedPropertySample" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "FieldBackedPropertySample" + }, + { + "lang": "vb", + "value": "FieldBackedPropertySample" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.FieldBackedPropertySample" + }, + { + "lang": "vb", + "value": "CSharp14.FieldBackedPropertySample" + } + ], + "type": "class", + "source": { + "remote": { + "path": "samples/csharp/src/CSharp14.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "FieldBackedPropertySample", + "path": "src/CSharp14.cs", + "startLine": 3, + "endLine": 0 + }, + "assemblies": [ + "CSharp" + ], + "namespace": { + "uid": "CSharp14", + "isEii": false, + "isExtensionMethod": false, + "href": "CSharp14.html", + "name": [ + { + "lang": "csharp", + "value": "CSharp14" + }, + { + "lang": "vb", + "value": "CSharp14" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "CSharp14" + }, + { + "lang": "vb", + "value": "CSharp14" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14" + }, + { + "lang": "vb", + "value": "CSharp14" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0 + }, + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public class FieldBackedPropertySample" + }, + { + "lang": "vb", + "value": "Public Class FieldBackedPropertySample" + } + ] + }, + "inheritance": [ + { + "uid": "System.Object", + "isEii": false, + "isExtensionMethod": false, + "parent": "System", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object", + "name": [ + { + "lang": "csharp", + "value": "object" + }, + { + "lang": "vb", + "value": "Object" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object" + }, + { + "lang": "vb", + "value": "Object" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object" + }, + { + "lang": "vb", + "value": "Object" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0, + "index": 0 + } + ], + "level": 1, + "inheritedMembers": [ + { + "uid": "System.Object.Equals(System.Object)", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)", + "name": [ + { + "lang": "csharp", + "value": "Equals(object)" + }, + { + "lang": "vb", + "value": "Equals(Object)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.Equals(object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.Equals(object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "Equals(object)" + }, + { + "lang": "vb", + "value": "Equals(Object)" + } + ], + "level": 0 + }, + { + "uid": "System.Object.Equals(System.Object,System.Object)", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)", + "name": [ + { + "lang": "csharp", + "value": "Equals(object, object)" + }, + { + "lang": "vb", + "value": "Equals(Object, Object)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.Equals(object, object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object, Object)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.Equals(object, object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object, Object)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "Equals(object, object)" + }, + { + "lang": "vb", + "value": "Equals(Object, Object)" + } + ], + "level": 0 + }, + { + "uid": "System.Object.GetHashCode", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.gethashcode", + "name": [ + { + "lang": "csharp", + "value": "GetHashCode()" + }, + { + "lang": "vb", + "value": "GetHashCode()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.GetHashCode()" + }, + { + "lang": "vb", + "value": "Object.GetHashCode()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.GetHashCode()" + }, + { + "lang": "vb", + "value": "Object.GetHashCode()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "GetHashCode()" + }, + { + "lang": "vb", + "value": "GetHashCode()" + } + ], + "level": 0 + }, + { + "uid": "System.Object.GetType", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.gettype", + "name": [ + { + "lang": "csharp", + "value": "GetType()" + }, + { + "lang": "vb", + "value": "GetType()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.GetType()" + }, + { + "lang": "vb", + "value": "Object.GetType()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.GetType()" + }, + { + "lang": "vb", + "value": "Object.GetType()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "GetType()" + }, + { + "lang": "vb", + "value": "GetType()" + } + ], + "level": 0 + }, + { + "uid": "System.Object.MemberwiseClone", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone", + "name": [ + { + "lang": "csharp", + "value": "MemberwiseClone()" + }, + { + "lang": "vb", + "value": "MemberwiseClone()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.MemberwiseClone()" + }, + { + "lang": "vb", + "value": "Object.MemberwiseClone()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.MemberwiseClone()" + }, + { + "lang": "vb", + "value": "Object.MemberwiseClone()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "MemberwiseClone()" + }, + { + "lang": "vb", + "value": "MemberwiseClone()" + } + ], + "level": 0 + }, + { + "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.referenceequals", + "name": [ + { + "lang": "csharp", + "value": "ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "ReferenceEquals(Object, Object)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "Object.ReferenceEquals(Object, Object)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "Object.ReferenceEquals(Object, Object)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "ReferenceEquals(Object, Object)" + } + ], + "level": 0 + }, + { + "uid": "System.Object.ToString", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.tostring", + "name": [ + { + "lang": "csharp", + "value": "ToString()" + }, + { + "lang": "vb", + "value": "ToString()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.ToString()" + }, + { + "lang": "vb", + "value": "Object.ToString()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.ToString()" + }, + { + "lang": "vb", + "value": "Object.ToString()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "ToString()" + }, + { + "lang": "vb", + "value": "ToString()" + } + ], + "level": 0 + } + ], + "_systemKeys": [ + "uid", + "isEii", + "isExtensionMethod", + "parent", + "children", + "href", + "langs", + "name", + "nameWithType", + "fullName", + "type", + "source", + "documentation", + "assemblies", + "namespace", + "summary", + "remarks", + "example", + "syntax", + "overridden", + "overload", + "exceptions", + "seealso", + "see", + "inheritance", + "derivedClasses", + "level", + "implements", + "inheritedMembers", + "extensionMethods", + "conceptual", + "platform", + "attributes", + "additionalNotes" + ], + "_key": "api/CSharp14.FieldBackedPropertySample.yml", + "_path": "api/CSharp14.FieldBackedPropertySample.html", + "_rel": "../", + "_tocKey": "~/api/toc.yml", + "_tocPath": "api/toc.html", + "_tocRel": "toc.html", + "__global": { + "namespacesInSubtitle": "Namespaces", + "classesInSubtitle": "Classes", + "structsInSubtitle": "Structs", + "interfacesInSubtitle": "Interfaces", + "enumsInSubtitle": "Enums", + "delegatesInSubtitle": "Delegates", + "constructorsInSubtitle": "Constructors", + "fieldsInSubtitle": "Fields", + "propertiesInSubtitle": "Properties", + "methodsInSubtitle": "Methods", + "eventsInSubtitle": "Events", + "operatorsInSubtitle": "Operators", + "eiisInSubtitle": "Explicit Interface Implementations", + "functionsInSubtitle": "Functions", + "variablesInSubtitle": "Variables", + "typeAliasesInSubtitle": "Type Aliases", + "membersInSubtitle": "Members", + "improveThisDoc": "Edit this page", + "viewSource": "View Source", + "inheritance": "Inheritance", + "derived": "Derived", + "inheritedMembers": "Inherited Members", + "package": "Package", + "namespace": "Namespace", + "assembly": "Assembly", + "syntax": "Syntax", + "overrides": "Overrides", + "implements": "Implements", + "remarks": "Remarks", + "examples": "Examples", + "seealso": "See Also", + "declaration": "Declaration", + "parameters": "Parameters", + "typeParameters": "Type Parameters", + "type": "Type", + "name": "Name", + "description": "Description", + "returns": "Returns", + "fieldValue": "Field Value", + "propertyValue": "Property Value", + "eventType": "Event Type", + "variableValue": "Variable Value", + "typeAliasType": "Type Alias Type", + "exceptions": "Exceptions", + "condition": "Condition", + "extensionMethods": "Extension Methods", + "note": "Note", + "warning": "Warning", + "tip": "Tip", + "important": "Important", + "caution": "Caution", + "tocToggleButton": "Show / Hide Table of Contents", + "tocFilter": "Filter by title", + "search": "Search", + "searchResults": "Search Results for", + "searchResultsCount": "{count} results for \"{query}\"", + "searchNoResults": "No results for \"{query}\"", + "pageFirst": "First", + "pagePrev": "Previous", + "pageNext": "Next", + "pageLast": "Last", + "inThisArticle": "In this article", + "nextArticle": "Next", + "prevArticle": "Previous", + "backToTop": "Back to top", + "themeLight": "Light", + "themeDark": "Dark", + "themeAuto": "Auto", + "changeTheme": "Change theme", + "copy": "Copy", + "downloadPdf": "Download PDF", + "_shared": {} + }, + "yamlmime": "ManagedReference", + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp14_FieldBackedPropertySample.md&value=---%0Auid%3A%20CSharp14.FieldBackedPropertySample%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", + "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/csharp/src/CSharp14.cs/#L4", + "summary": "", + "description": "", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": [], + "id": "CSharp14_FieldBackedPropertySample", + "hideTitleType": false, + "hideSubtitle": false, + "isClass": true, + "inClass": true, + "_disableToc": false, + "_disableNextArticle": true +} \ No newline at end of file diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp14.SampleClass.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp14.SampleClass.html.view.verified.json new file mode 100644 index 00000000000..7ad5a085a69 --- /dev/null +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp14.SampleClass.html.view.verified.json @@ -0,0 +1,880 @@ +{ + "uid": "CSharp14.SampleClass", + "isEii": false, + "isExtensionMethod": false, + "parent": { + "uid": "CSharp14", + "isEii": false, + "isExtensionMethod": false, + "href": "CSharp14.html", + "name": [ + { + "lang": "csharp", + "value": "CSharp14" + }, + { + "lang": "vb", + "value": "CSharp14" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "CSharp14" + }, + { + "lang": "vb", + "value": "CSharp14" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14" + }, + { + "lang": "vb", + "value": "CSharp14" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0 + }, + "children": [ + { + "inProperty": true, + "typePropertyName": "inProperty", + "id": "properties", + "children": [ + { + "uid": "CSharp14.SampleClass.Value", + "isEii": false, + "isExtensionMethod": false, + "parent": "CSharp14.SampleClass", + "isExternal": false, + "name": [ + { + "lang": "csharp", + "value": "Value" + }, + { + "lang": "vb", + "value": "Value" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "SampleClass.Value" + }, + { + "lang": "vb", + "value": "SampleClass.Value" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.SampleClass.Value" + }, + { + "lang": "vb", + "value": "CSharp14.SampleClass.Value" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public required string Value { get; init; }" + }, + { + "lang": "vb", + "value": "Public Property Value As String" + } + ], + "parameters": [], + "return": null, + "propertyValue": { + "type": { + "uid": "System.String", + "name": [ + { + "lang": "csharp", + "value": "string" + }, + { + "lang": "vb", + "value": "String" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "string" + }, + { + "lang": "vb", + "value": "String" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "string" + }, + { + "lang": "vb", + "value": "String" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ] + } + } + }, + "source": { + "remote": { + "path": "samples/csharp/src/CSharp14.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "Value", + "path": "src/CSharp14.cs", + "startLine": 14, + "endLine": 0 + }, + "assemblies": [ + "CSharp" + ], + "namespace": "CSharp14", + "overload": { + "uid": "CSharp14.SampleClass.Value*", + "name": [ + { + "lang": "csharp", + "value": "Value" + }, + { + "lang": "vb", + "value": "Value" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "SampleClass.Value" + }, + { + "lang": "vb", + "value": "SampleClass.Value" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.SampleClass.Value" + }, + { + "lang": "vb", + "value": "CSharp14.SampleClass.Value" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "id": "CSharp14_SampleClass_Value_" + }, + "level": 0, + "type": "property", + "summary": "", + "platform": null, + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp14_SampleClass_Value.md&value=---%0Auid%3A%20CSharp14.SampleClass.Value%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", + "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/csharp/src/CSharp14.cs/#L15", + "description": "", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": [], + "id": "CSharp14_SampleClass_Value", + "hideTitleType": false, + "hideSubtitle": false + } + ] + } + ], + "langs": [ + "csharp", + "vb" + ], + "name": [ + { + "lang": "csharp", + "value": "SampleClass" + }, + { + "lang": "vb", + "value": "SampleClass" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "SampleClass" + }, + { + "lang": "vb", + "value": "SampleClass" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.SampleClass" + }, + { + "lang": "vb", + "value": "CSharp14.SampleClass" + } + ], + "type": "class", + "source": { + "remote": { + "path": "samples/csharp/src/CSharp14.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "SampleClass", + "path": "src/CSharp14.cs", + "startLine": 12, + "endLine": 0 + }, + "assemblies": [ + "CSharp" + ], + "namespace": { + "uid": "CSharp14", + "isEii": false, + "isExtensionMethod": false, + "href": "CSharp14.html", + "name": [ + { + "lang": "csharp", + "value": "CSharp14" + }, + { + "lang": "vb", + "value": "CSharp14" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "CSharp14" + }, + { + "lang": "vb", + "value": "CSharp14" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14" + }, + { + "lang": "vb", + "value": "CSharp14" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0 + }, + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public class SampleClass" + }, + { + "lang": "vb", + "value": "Public Class SampleClass" + } + ] + }, + "inheritance": [ + { + "uid": "System.Object", + "isEii": false, + "isExtensionMethod": false, + "parent": "System", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object", + "name": [ + { + "lang": "csharp", + "value": "object" + }, + { + "lang": "vb", + "value": "Object" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object" + }, + { + "lang": "vb", + "value": "Object" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object" + }, + { + "lang": "vb", + "value": "Object" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0, + "index": 0 + } + ], + "level": 1, + "inheritedMembers": [ + { + "uid": "System.Object.Equals(System.Object)", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)", + "name": [ + { + "lang": "csharp", + "value": "Equals(object)" + }, + { + "lang": "vb", + "value": "Equals(Object)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.Equals(object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.Equals(object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "Equals(object)" + }, + { + "lang": "vb", + "value": "Equals(Object)" + } + ], + "level": 0 + }, + { + "uid": "System.Object.Equals(System.Object,System.Object)", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)", + "name": [ + { + "lang": "csharp", + "value": "Equals(object, object)" + }, + { + "lang": "vb", + "value": "Equals(Object, Object)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.Equals(object, object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object, Object)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.Equals(object, object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object, Object)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "Equals(object, object)" + }, + { + "lang": "vb", + "value": "Equals(Object, Object)" + } + ], + "level": 0 + }, + { + "uid": "System.Object.GetHashCode", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.gethashcode", + "name": [ + { + "lang": "csharp", + "value": "GetHashCode()" + }, + { + "lang": "vb", + "value": "GetHashCode()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.GetHashCode()" + }, + { + "lang": "vb", + "value": "Object.GetHashCode()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.GetHashCode()" + }, + { + "lang": "vb", + "value": "Object.GetHashCode()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "GetHashCode()" + }, + { + "lang": "vb", + "value": "GetHashCode()" + } + ], + "level": 0 + }, + { + "uid": "System.Object.GetType", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.gettype", + "name": [ + { + "lang": "csharp", + "value": "GetType()" + }, + { + "lang": "vb", + "value": "GetType()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.GetType()" + }, + { + "lang": "vb", + "value": "Object.GetType()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.GetType()" + }, + { + "lang": "vb", + "value": "Object.GetType()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "GetType()" + }, + { + "lang": "vb", + "value": "GetType()" + } + ], + "level": 0 + }, + { + "uid": "System.Object.MemberwiseClone", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone", + "name": [ + { + "lang": "csharp", + "value": "MemberwiseClone()" + }, + { + "lang": "vb", + "value": "MemberwiseClone()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.MemberwiseClone()" + }, + { + "lang": "vb", + "value": "Object.MemberwiseClone()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.MemberwiseClone()" + }, + { + "lang": "vb", + "value": "Object.MemberwiseClone()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "MemberwiseClone()" + }, + { + "lang": "vb", + "value": "MemberwiseClone()" + } + ], + "level": 0 + }, + { + "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.referenceequals", + "name": [ + { + "lang": "csharp", + "value": "ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "ReferenceEquals(Object, Object)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "Object.ReferenceEquals(Object, Object)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "Object.ReferenceEquals(Object, Object)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "ReferenceEquals(Object, Object)" + } + ], + "level": 0 + }, + { + "uid": "System.Object.ToString", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.tostring", + "name": [ + { + "lang": "csharp", + "value": "ToString()" + }, + { + "lang": "vb", + "value": "ToString()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.ToString()" + }, + { + "lang": "vb", + "value": "Object.ToString()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.ToString()" + }, + { + "lang": "vb", + "value": "Object.ToString()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "ToString()" + }, + { + "lang": "vb", + "value": "ToString()" + } + ], + "level": 0 + } + ], + "_systemKeys": [ + "uid", + "isEii", + "isExtensionMethod", + "parent", + "children", + "href", + "langs", + "name", + "nameWithType", + "fullName", + "type", + "source", + "documentation", + "assemblies", + "namespace", + "summary", + "remarks", + "example", + "syntax", + "overridden", + "overload", + "exceptions", + "seealso", + "see", + "inheritance", + "derivedClasses", + "level", + "implements", + "inheritedMembers", + "extensionMethods", + "conceptual", + "platform", + "attributes", + "additionalNotes" + ], + "_key": "api/CSharp14.SampleClass.yml", + "_path": "api/CSharp14.SampleClass.html", + "_rel": "../", + "_tocKey": "~/api/toc.yml", + "_tocPath": "api/toc.html", + "_tocRel": "toc.html", + "__global": { + "namespacesInSubtitle": "Namespaces", + "classesInSubtitle": "Classes", + "structsInSubtitle": "Structs", + "interfacesInSubtitle": "Interfaces", + "enumsInSubtitle": "Enums", + "delegatesInSubtitle": "Delegates", + "constructorsInSubtitle": "Constructors", + "fieldsInSubtitle": "Fields", + "propertiesInSubtitle": "Properties", + "methodsInSubtitle": "Methods", + "eventsInSubtitle": "Events", + "operatorsInSubtitle": "Operators", + "eiisInSubtitle": "Explicit Interface Implementations", + "functionsInSubtitle": "Functions", + "variablesInSubtitle": "Variables", + "typeAliasesInSubtitle": "Type Aliases", + "membersInSubtitle": "Members", + "improveThisDoc": "Edit this page", + "viewSource": "View Source", + "inheritance": "Inheritance", + "derived": "Derived", + "inheritedMembers": "Inherited Members", + "package": "Package", + "namespace": "Namespace", + "assembly": "Assembly", + "syntax": "Syntax", + "overrides": "Overrides", + "implements": "Implements", + "remarks": "Remarks", + "examples": "Examples", + "seealso": "See Also", + "declaration": "Declaration", + "parameters": "Parameters", + "typeParameters": "Type Parameters", + "type": "Type", + "name": "Name", + "description": "Description", + "returns": "Returns", + "fieldValue": "Field Value", + "propertyValue": "Property Value", + "eventType": "Event Type", + "variableValue": "Variable Value", + "typeAliasType": "Type Alias Type", + "exceptions": "Exceptions", + "condition": "Condition", + "extensionMethods": "Extension Methods", + "note": "Note", + "warning": "Warning", + "tip": "Tip", + "important": "Important", + "caution": "Caution", + "tocToggleButton": "Show / Hide Table of Contents", + "tocFilter": "Filter by title", + "search": "Search", + "searchResults": "Search Results for", + "searchResultsCount": "{count} results for \"{query}\"", + "searchNoResults": "No results for \"{query}\"", + "pageFirst": "First", + "pagePrev": "Previous", + "pageNext": "Next", + "pageLast": "Last", + "inThisArticle": "In this article", + "nextArticle": "Next", + "prevArticle": "Previous", + "backToTop": "Back to top", + "themeLight": "Light", + "themeDark": "Dark", + "themeAuto": "Auto", + "changeTheme": "Change theme", + "copy": "Copy", + "downloadPdf": "Download PDF", + "_shared": {} + }, + "yamlmime": "ManagedReference", + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp14_SampleClass.md&value=---%0Auid%3A%20CSharp14.SampleClass%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", + "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/csharp/src/CSharp14.cs/#L13", + "summary": "", + "description": "", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": [], + "id": "CSharp14_SampleClass", + "hideTitleType": false, + "hideSubtitle": false, + "isClass": true, + "inClass": true, + "_disableToc": false, + "_disableNextArticle": true +} \ No newline at end of file diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp14.SampleClassExtensions.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp14.SampleClassExtensions.html.view.verified.json new file mode 100644 index 00000000000..c78f3ee95a7 --- /dev/null +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp14.SampleClassExtensions.html.view.verified.json @@ -0,0 +1,692 @@ +{ + "uid": "CSharp14.SampleClassExtensions", + "isEii": false, + "isExtensionMethod": false, + "parent": { + "uid": "CSharp14", + "isEii": false, + "isExtensionMethod": false, + "href": "CSharp14.html", + "name": [ + { + "lang": "csharp", + "value": "CSharp14" + }, + { + "lang": "vb", + "value": "CSharp14" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "CSharp14" + }, + { + "lang": "vb", + "value": "CSharp14" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14" + }, + { + "lang": "vb", + "value": "CSharp14" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0 + }, + "children": [], + "langs": [ + "csharp", + "vb" + ], + "name": [ + { + "lang": "csharp", + "value": "SampleClassExtensions" + }, + { + "lang": "vb", + "value": "SampleClassExtensions" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "SampleClassExtensions" + }, + { + "lang": "vb", + "value": "SampleClassExtensions" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.SampleClassExtensions" + }, + { + "lang": "vb", + "value": "CSharp14.SampleClassExtensions" + } + ], + "type": "class", + "source": { + "remote": { + "path": "samples/csharp/src/CSharp14.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "SampleClassExtensions", + "path": "src/CSharp14.cs", + "startLine": 17, + "endLine": 0 + }, + "assemblies": [ + "CSharp" + ], + "namespace": { + "uid": "CSharp14", + "isEii": false, + "isExtensionMethod": false, + "href": "CSharp14.html", + "name": [ + { + "lang": "csharp", + "value": "CSharp14" + }, + { + "lang": "vb", + "value": "CSharp14" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "CSharp14" + }, + { + "lang": "vb", + "value": "CSharp14" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14" + }, + { + "lang": "vb", + "value": "CSharp14" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0 + }, + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public static class SampleClassExtensions" + }, + { + "lang": "vb", + "value": "Public Module SampleClassExtensions" + } + ] + }, + "inheritance": [ + { + "uid": "System.Object", + "isEii": false, + "isExtensionMethod": false, + "parent": "System", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object", + "name": [ + { + "lang": "csharp", + "value": "object" + }, + { + "lang": "vb", + "value": "Object" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object" + }, + { + "lang": "vb", + "value": "Object" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object" + }, + { + "lang": "vb", + "value": "Object" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0, + "index": 0 + } + ], + "level": 1, + "inheritedMembers": [ + { + "uid": "System.Object.Equals(System.Object)", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)", + "name": [ + { + "lang": "csharp", + "value": "Equals(object)" + }, + { + "lang": "vb", + "value": "Equals(Object)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.Equals(object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.Equals(object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "Equals(object)" + }, + { + "lang": "vb", + "value": "Equals(Object)" + } + ], + "level": 0 + }, + { + "uid": "System.Object.Equals(System.Object,System.Object)", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)", + "name": [ + { + "lang": "csharp", + "value": "Equals(object, object)" + }, + { + "lang": "vb", + "value": "Equals(Object, Object)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.Equals(object, object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object, Object)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.Equals(object, object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object, Object)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "Equals(object, object)" + }, + { + "lang": "vb", + "value": "Equals(Object, Object)" + } + ], + "level": 0 + }, + { + "uid": "System.Object.GetHashCode", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.gethashcode", + "name": [ + { + "lang": "csharp", + "value": "GetHashCode()" + }, + { + "lang": "vb", + "value": "GetHashCode()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.GetHashCode()" + }, + { + "lang": "vb", + "value": "Object.GetHashCode()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.GetHashCode()" + }, + { + "lang": "vb", + "value": "Object.GetHashCode()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "GetHashCode()" + }, + { + "lang": "vb", + "value": "GetHashCode()" + } + ], + "level": 0 + }, + { + "uid": "System.Object.GetType", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.gettype", + "name": [ + { + "lang": "csharp", + "value": "GetType()" + }, + { + "lang": "vb", + "value": "GetType()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.GetType()" + }, + { + "lang": "vb", + "value": "Object.GetType()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.GetType()" + }, + { + "lang": "vb", + "value": "Object.GetType()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "GetType()" + }, + { + "lang": "vb", + "value": "GetType()" + } + ], + "level": 0 + }, + { + "uid": "System.Object.MemberwiseClone", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone", + "name": [ + { + "lang": "csharp", + "value": "MemberwiseClone()" + }, + { + "lang": "vb", + "value": "MemberwiseClone()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.MemberwiseClone()" + }, + { + "lang": "vb", + "value": "Object.MemberwiseClone()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.MemberwiseClone()" + }, + { + "lang": "vb", + "value": "Object.MemberwiseClone()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "MemberwiseClone()" + }, + { + "lang": "vb", + "value": "MemberwiseClone()" + } + ], + "level": 0 + }, + { + "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.referenceequals", + "name": [ + { + "lang": "csharp", + "value": "ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "ReferenceEquals(Object, Object)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "Object.ReferenceEquals(Object, Object)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "Object.ReferenceEquals(Object, Object)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "ReferenceEquals(Object, Object)" + } + ], + "level": 0 + }, + { + "uid": "System.Object.ToString", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.tostring", + "name": [ + { + "lang": "csharp", + "value": "ToString()" + }, + { + "lang": "vb", + "value": "ToString()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.ToString()" + }, + { + "lang": "vb", + "value": "Object.ToString()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.ToString()" + }, + { + "lang": "vb", + "value": "Object.ToString()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "ToString()" + }, + { + "lang": "vb", + "value": "ToString()" + } + ], + "level": 0 + } + ], + "_systemKeys": [ + "uid", + "isEii", + "isExtensionMethod", + "parent", + "children", + "href", + "langs", + "name", + "nameWithType", + "fullName", + "type", + "source", + "documentation", + "assemblies", + "namespace", + "summary", + "remarks", + "example", + "syntax", + "overridden", + "overload", + "exceptions", + "seealso", + "see", + "inheritance", + "derivedClasses", + "level", + "implements", + "inheritedMembers", + "extensionMethods", + "conceptual", + "platform", + "attributes", + "additionalNotes" + ], + "_key": "api/CSharp14.SampleClassExtensions.yml", + "_path": "api/CSharp14.SampleClassExtensions.html", + "_rel": "../", + "_tocKey": "~/api/toc.yml", + "_tocPath": "api/toc.html", + "_tocRel": "toc.html", + "__global": { + "namespacesInSubtitle": "Namespaces", + "classesInSubtitle": "Classes", + "structsInSubtitle": "Structs", + "interfacesInSubtitle": "Interfaces", + "enumsInSubtitle": "Enums", + "delegatesInSubtitle": "Delegates", + "constructorsInSubtitle": "Constructors", + "fieldsInSubtitle": "Fields", + "propertiesInSubtitle": "Properties", + "methodsInSubtitle": "Methods", + "eventsInSubtitle": "Events", + "operatorsInSubtitle": "Operators", + "eiisInSubtitle": "Explicit Interface Implementations", + "functionsInSubtitle": "Functions", + "variablesInSubtitle": "Variables", + "typeAliasesInSubtitle": "Type Aliases", + "membersInSubtitle": "Members", + "improveThisDoc": "Edit this page", + "viewSource": "View Source", + "inheritance": "Inheritance", + "derived": "Derived", + "inheritedMembers": "Inherited Members", + "package": "Package", + "namespace": "Namespace", + "assembly": "Assembly", + "syntax": "Syntax", + "overrides": "Overrides", + "implements": "Implements", + "remarks": "Remarks", + "examples": "Examples", + "seealso": "See Also", + "declaration": "Declaration", + "parameters": "Parameters", + "typeParameters": "Type Parameters", + "type": "Type", + "name": "Name", + "description": "Description", + "returns": "Returns", + "fieldValue": "Field Value", + "propertyValue": "Property Value", + "eventType": "Event Type", + "variableValue": "Variable Value", + "typeAliasType": "Type Alias Type", + "exceptions": "Exceptions", + "condition": "Condition", + "extensionMethods": "Extension Methods", + "note": "Note", + "warning": "Warning", + "tip": "Tip", + "important": "Important", + "caution": "Caution", + "tocToggleButton": "Show / Hide Table of Contents", + "tocFilter": "Filter by title", + "search": "Search", + "searchResults": "Search Results for", + "searchResultsCount": "{count} results for \"{query}\"", + "searchNoResults": "No results for \"{query}\"", + "pageFirst": "First", + "pagePrev": "Previous", + "pageNext": "Next", + "pageLast": "Last", + "inThisArticle": "In this article", + "nextArticle": "Next", + "prevArticle": "Previous", + "backToTop": "Back to top", + "themeLight": "Light", + "themeDark": "Dark", + "themeAuto": "Auto", + "changeTheme": "Change theme", + "copy": "Copy", + "downloadPdf": "Download PDF", + "_shared": {} + }, + "yamlmime": "ManagedReference", + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp14_SampleClassExtensions.md&value=---%0Auid%3A%20CSharp14.SampleClassExtensions%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", + "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/csharp/src/CSharp14.cs/#L18", + "summary": "", + "description": "", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": [], + "id": "CSharp14_SampleClassExtensions", + "hideTitleType": false, + "hideSubtitle": false, + "isClass": true, + "inClass": true, + "_disableToc": false, + "_disableNextArticle": true +} \ No newline at end of file diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html.view.verified.json new file mode 100644 index 00000000000..8b4d43be34e --- /dev/null +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html.view.verified.json @@ -0,0 +1,3096 @@ +{ + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample", + "isEii": false, + "isExtensionMethod": false, + "parent": { + "uid": "CSharp14", + "isEii": false, + "isExtensionMethod": false, + "href": "CSharp14.html", + "name": [ + { + "lang": "csharp", + "value": "CSharp14" + }, + { + "lang": "vb", + "value": "CSharp14" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "CSharp14" + }, + { + "lang": "vb", + "value": "CSharp14" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14" + }, + { + "lang": "vb", + "value": "CSharp14" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0 + }, + "children": [ + { + "inProperty": true, + "typePropertyName": "inProperty", + "id": "properties", + "children": [ + { + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.Value", + "isEii": false, + "isExtensionMethod": false, + "parent": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample", + "isExternal": false, + "name": [ + { + "lang": "csharp", + "value": "Value" + }, + { + "lang": "vb", + "value": "Value" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample.Value" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample.Value" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.Value" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.Value" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public int? Value { get; set; }" + }, + { + "lang": "vb", + "value": "Public Property Value As Integer?" + } + ], + "parameters": [], + "return": null, + "propertyValue": { + "type": { + "uid": "System.Nullable{System.Int32}", + "definition": "System.Nullable`1", + "name": [ + { + "lang": "csharp", + "value": "int?" + }, + { + "lang": "vb", + "value": "Integer?" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "int?" + }, + { + "lang": "vb", + "value": "Integer?" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "int?" + }, + { + "lang": "vb", + "value": "Integer?" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "int?" + }, + { + "lang": "vb", + "value": "Integer?" + } + ] + } + } + }, + "source": { + "remote": { + "path": "samples/csharp/src/CSharp14.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "Value", + "path": "src/CSharp14.cs", + "startLine": 50, + "endLine": 0 + }, + "assemblies": [ + "CSharp" + ], + "namespace": "CSharp14", + "overload": { + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.Value*", + "name": [ + { + "lang": "csharp", + "value": "Value" + }, + { + "lang": "vb", + "value": "Value" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample.Value" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample.Value" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.Value" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.Value" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "id": "CSharp14_UserDefinedCompoundAssignmentOperatorsSample_Value_" + }, + "level": 0, + "type": "property", + "summary": "", + "platform": null, + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp14_UserDefinedCompoundAssignmentOperatorsSample_Value.md&value=---%0Auid%3A%20CSharp14.UserDefinedCompoundAssignmentOperatorsSample.Value%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", + "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/csharp/src/CSharp14.cs/#L51", + "description": "", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": [], + "id": "CSharp14_UserDefinedCompoundAssignmentOperatorsSample_Value", + "hideTitleType": false, + "hideSubtitle": false + } + ] + }, + { + "inMethod": true, + "typePropertyName": "inMethod", + "id": "methods", + "children": [ + { + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.ToString", + "isEii": false, + "isExtensionMethod": false, + "parent": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample", + "isExternal": false, + "name": [ + { + "lang": "csharp", + "value": "ToString()" + }, + { + "lang": "vb", + "value": "ToString()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample.ToString()" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample.ToString()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.ToString()" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.ToString()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public override string? ToString()" + }, + { + "lang": "vb", + "value": "Public Overrides Function ToString() As String" + } + ], + "return": { + "type": { + "uid": "System.String", + "name": [ + { + "lang": "csharp", + "value": "string" + }, + { + "lang": "vb", + "value": "String" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "string" + }, + { + "lang": "vb", + "value": "String" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "string" + }, + { + "lang": "vb", + "value": "String" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ] + }, + "description": "

A string that represents the current object.

\n" + } + }, + "source": { + "remote": { + "path": "samples/csharp/src/CSharp14.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "ToString", + "path": "src/CSharp14.cs", + "startLine": 52, + "endLine": 0 + }, + "assemblies": [ + "CSharp" + ], + "namespace": "CSharp14", + "example": [], + "overridden": { + "uid": "System.Object.ToString", + "name": [ + { + "lang": "csharp", + "value": "ToString()" + }, + { + "lang": "vb", + "value": "ToString()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.ToString()" + }, + { + "lang": "vb", + "value": "Object.ToString()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.ToString()" + }, + { + "lang": "vb", + "value": "Object.ToString()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "ToString()" + }, + { + "lang": "vb", + "value": "ToString()" + } + ] + }, + "overload": { + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.ToString*", + "name": [ + { + "lang": "csharp", + "value": "ToString" + }, + { + "lang": "vb", + "value": "ToString" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample.ToString" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample.ToString" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.ToString" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.ToString" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "id": "CSharp14_UserDefinedCompoundAssignmentOperatorsSample_ToString_" + }, + "level": 0, + "type": "method", + "summary": "

Returns a string that represents the current object.

\n", + "platform": null, + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp14_UserDefinedCompoundAssignmentOperatorsSample_ToString.md&value=---%0Auid%3A%20CSharp14.UserDefinedCompoundAssignmentOperatorsSample.ToString%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", + "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/csharp/src/CSharp14.cs/#L53", + "description": "", + "remarks": "", + "conceptual": "", + "implements": "", + "seealso": [], + "id": "CSharp14_UserDefinedCompoundAssignmentOperatorsSample_ToString", + "hideTitleType": false, + "hideSubtitle": false + } + ] + }, + { + "inOperator": true, + "typePropertyName": "inOperator", + "id": "operators", + "children": [ + { + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_AdditionAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample)", + "isEii": false, + "isExtensionMethod": false, + "parent": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample", + "isExternal": false, + "name": [ + { + "lang": "csharp", + "value": "operator +=(UserDefinedCompoundAssignmentOperatorsSample)" + }, + { + "lang": "vb", + "value": "op_AdditionAssignment(UserDefinedCompoundAssignmentOperatorsSample)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample.operator +=(UserDefinedCompoundAssignmentOperatorsSample)" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample.op_AdditionAssignment(UserDefinedCompoundAssignmentOperatorsSample)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator +=(CSharp14.UserDefinedCompoundAssignmentOperatorsSample)" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_AdditionAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public void operator +=(UserDefinedCompoundAssignmentOperatorsSample c)" + }, + { + "lang": "vb", + "value": "Public Function op_AdditionAssignment(c As UserDefinedCompoundAssignmentOperatorsSample)" + } + ], + "parameters": [ + { + "id": "c", + "type": { + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample", + "name": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ] + } + } + ] + }, + "source": { + "remote": { + "path": "samples/csharp/src/CSharp14.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "op_AdditionAssignment", + "path": "src/CSharp14.cs", + "startLine": 58, + "endLine": 0 + }, + "assemblies": [ + "CSharp" + ], + "namespace": "CSharp14", + "overload": { + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_AdditionAssignment*", + "name": [ + { + "lang": "csharp", + "value": "operator +=" + }, + { + "lang": "vb", + "value": "op_AdditionAssignment" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample.operator +=" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample.op_AdditionAssignment" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator +=" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_AdditionAssignment" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "operator +=" + } + ], + "id": "CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_AdditionAssignment_" + }, + "level": 0, + "type": "operator", + "summary": "", + "platform": null, + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_AdditionAssignment_CSharp14_UserDefinedCompoundAssignmentOperatorsSample_.md&value=---%0Auid%3A%20CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_AdditionAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", + "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/csharp/src/CSharp14.cs/#L59", + "description": "", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": [], + "id": "CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_AdditionAssignment_CSharp14_UserDefinedCompoundAssignmentOperatorsSample_", + "hideTitleType": false, + "hideSubtitle": false + }, + { + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_BitwiseAndAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample)", + "isEii": false, + "isExtensionMethod": false, + "parent": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample", + "isExternal": false, + "name": [ + { + "lang": "csharp", + "value": "operator &=(UserDefinedCompoundAssignmentOperatorsSample)" + }, + { + "lang": "vb", + "value": "op_BitwiseAndAssignment(UserDefinedCompoundAssignmentOperatorsSample)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample.operator &=(UserDefinedCompoundAssignmentOperatorsSample)" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample.op_BitwiseAndAssignment(UserDefinedCompoundAssignmentOperatorsSample)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator &=(CSharp14.UserDefinedCompoundAssignmentOperatorsSample)" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_BitwiseAndAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public void operator &=(UserDefinedCompoundAssignmentOperatorsSample c)" + }, + { + "lang": "vb", + "value": "Public Function op_BitwiseAndAssignment(c As UserDefinedCompoundAssignmentOperatorsSample)" + } + ], + "parameters": [ + { + "id": "c", + "type": { + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample", + "name": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ] + } + } + ] + }, + "source": { + "remote": { + "path": "samples/csharp/src/CSharp14.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "op_BitwiseAndAssignment", + "path": "src/CSharp14.cs", + "startLine": 68, + "endLine": 0 + }, + "assemblies": [ + "CSharp" + ], + "namespace": "CSharp14", + "overload": { + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_BitwiseAndAssignment*", + "name": [ + { + "lang": "csharp", + "value": "operator &=" + }, + { + "lang": "vb", + "value": "op_BitwiseAndAssignment" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample.operator &=" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample.op_BitwiseAndAssignment" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator &=" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_BitwiseAndAssignment" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "operator &=" + } + ], + "id": "CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_BitwiseAndAssignment_" + }, + "level": 0, + "type": "operator", + "summary": "", + "platform": null, + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_BitwiseAndAssignment_CSharp14_UserDefinedCompoundAssignmentOperatorsSample_.md&value=---%0Auid%3A%20CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_BitwiseAndAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", + "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/csharp/src/CSharp14.cs/#L69", + "description": "", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": [], + "id": "CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_BitwiseAndAssignment_CSharp14_UserDefinedCompoundAssignmentOperatorsSample_", + "hideTitleType": false, + "hideSubtitle": false + }, + { + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_BitwiseOrAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample)", + "isEii": false, + "isExtensionMethod": false, + "parent": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample", + "isExternal": false, + "name": [ + { + "lang": "csharp", + "value": "operator |=(UserDefinedCompoundAssignmentOperatorsSample)" + }, + { + "lang": "vb", + "value": "op_BitwiseOrAssignment(UserDefinedCompoundAssignmentOperatorsSample)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample.operator |=(UserDefinedCompoundAssignmentOperatorsSample)" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample.op_BitwiseOrAssignment(UserDefinedCompoundAssignmentOperatorsSample)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator |=(CSharp14.UserDefinedCompoundAssignmentOperatorsSample)" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_BitwiseOrAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public void operator |=(UserDefinedCompoundAssignmentOperatorsSample c)" + }, + { + "lang": "vb", + "value": "Public Function op_BitwiseOrAssignment(c As UserDefinedCompoundAssignmentOperatorsSample)" + } + ], + "parameters": [ + { + "id": "c", + "type": { + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample", + "name": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ] + } + } + ] + }, + "source": { + "remote": { + "path": "samples/csharp/src/CSharp14.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "op_BitwiseOrAssignment", + "path": "src/CSharp14.cs", + "startLine": 70, + "endLine": 0 + }, + "assemblies": [ + "CSharp" + ], + "namespace": "CSharp14", + "overload": { + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_BitwiseOrAssignment*", + "name": [ + { + "lang": "csharp", + "value": "operator |=" + }, + { + "lang": "vb", + "value": "op_BitwiseOrAssignment" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample.operator |=" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample.op_BitwiseOrAssignment" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator |=" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_BitwiseOrAssignment" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "operator |=" + } + ], + "id": "CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_BitwiseOrAssignment_" + }, + "level": 0, + "type": "operator", + "summary": "", + "platform": null, + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_BitwiseOrAssignment_CSharp14_UserDefinedCompoundAssignmentOperatorsSample_.md&value=---%0Auid%3A%20CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_BitwiseOrAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", + "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/csharp/src/CSharp14.cs/#L71", + "description": "", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": [], + "id": "CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_BitwiseOrAssignment_CSharp14_UserDefinedCompoundAssignmentOperatorsSample_", + "hideTitleType": false, + "hideSubtitle": false + }, + { + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_DecrementAssignment", + "isEii": false, + "isExtensionMethod": false, + "parent": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample", + "isExternal": false, + "name": [ + { + "lang": "csharp", + "value": "operator --()" + }, + { + "lang": "vb", + "value": "op_DecrementAssignment()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample.operator --()" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample.op_DecrementAssignment()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator --()" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_DecrementAssignment()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public void operator --()" + }, + { + "lang": "vb", + "value": "Public Function op_DecrementAssignment()" + } + ] + }, + "source": { + "remote": { + "path": "samples/csharp/src/CSharp14.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "op_DecrementAssignment", + "path": "src/CSharp14.cs", + "startLine": 56, + "endLine": 0 + }, + "assemblies": [ + "CSharp" + ], + "namespace": "CSharp14", + "overload": { + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_DecrementAssignment*", + "name": [ + { + "lang": "csharp", + "value": "operator --" + }, + { + "lang": "vb", + "value": "op_DecrementAssignment" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample.operator --" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample.op_DecrementAssignment" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator --" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_DecrementAssignment" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "operator --" + } + ], + "id": "CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_DecrementAssignment_" + }, + "level": 0, + "type": "operator", + "summary": "", + "platform": null, + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_DecrementAssignment.md&value=---%0Auid%3A%20CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_DecrementAssignment%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", + "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/csharp/src/CSharp14.cs/#L57", + "description": "", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": [], + "id": "CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_DecrementAssignment", + "hideTitleType": false, + "hideSubtitle": false + }, + { + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_DivisionAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample)", + "isEii": false, + "isExtensionMethod": false, + "parent": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample", + "isExternal": false, + "name": [ + { + "lang": "csharp", + "value": "operator /=(UserDefinedCompoundAssignmentOperatorsSample)" + }, + { + "lang": "vb", + "value": "op_DivisionAssignment(UserDefinedCompoundAssignmentOperatorsSample)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample.operator /=(UserDefinedCompoundAssignmentOperatorsSample)" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample.op_DivisionAssignment(UserDefinedCompoundAssignmentOperatorsSample)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator /=(CSharp14.UserDefinedCompoundAssignmentOperatorsSample)" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_DivisionAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public void operator /=(UserDefinedCompoundAssignmentOperatorsSample c)" + }, + { + "lang": "vb", + "value": "Public Function op_DivisionAssignment(c As UserDefinedCompoundAssignmentOperatorsSample)" + } + ], + "parameters": [ + { + "id": "c", + "type": { + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample", + "name": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ] + } + } + ] + }, + "source": { + "remote": { + "path": "samples/csharp/src/CSharp14.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "op_DivisionAssignment", + "path": "src/CSharp14.cs", + "startLine": 64, + "endLine": 0 + }, + "assemblies": [ + "CSharp" + ], + "namespace": "CSharp14", + "overload": { + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_DivisionAssignment*", + "name": [ + { + "lang": "csharp", + "value": "operator /=" + }, + { + "lang": "vb", + "value": "op_DivisionAssignment" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample.operator /=" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample.op_DivisionAssignment" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator /=" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_DivisionAssignment" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "operator /=" + } + ], + "id": "CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_DivisionAssignment_" + }, + "level": 0, + "type": "operator", + "summary": "", + "platform": null, + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_DivisionAssignment_CSharp14_UserDefinedCompoundAssignmentOperatorsSample_.md&value=---%0Auid%3A%20CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_DivisionAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", + "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/csharp/src/CSharp14.cs/#L65", + "description": "", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": [], + "id": "CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_DivisionAssignment_CSharp14_UserDefinedCompoundAssignmentOperatorsSample_", + "hideTitleType": false, + "hideSubtitle": false + }, + { + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_ExclusiveOrAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample)", + "isEii": false, + "isExtensionMethod": false, + "parent": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample", + "isExternal": false, + "name": [ + { + "lang": "csharp", + "value": "operator ^=(UserDefinedCompoundAssignmentOperatorsSample)" + }, + { + "lang": "vb", + "value": "op_ExclusiveOrAssignment(UserDefinedCompoundAssignmentOperatorsSample)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample.operator ^=(UserDefinedCompoundAssignmentOperatorsSample)" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample.op_ExclusiveOrAssignment(UserDefinedCompoundAssignmentOperatorsSample)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator ^=(CSharp14.UserDefinedCompoundAssignmentOperatorsSample)" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_ExclusiveOrAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public void operator ^=(UserDefinedCompoundAssignmentOperatorsSample c)" + }, + { + "lang": "vb", + "value": "Public Function op_ExclusiveOrAssignment(c As UserDefinedCompoundAssignmentOperatorsSample)" + } + ], + "parameters": [ + { + "id": "c", + "type": { + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample", + "name": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ] + } + } + ] + }, + "source": { + "remote": { + "path": "samples/csharp/src/CSharp14.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "op_ExclusiveOrAssignment", + "path": "src/CSharp14.cs", + "startLine": 72, + "endLine": 0 + }, + "assemblies": [ + "CSharp" + ], + "namespace": "CSharp14", + "overload": { + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_ExclusiveOrAssignment*", + "name": [ + { + "lang": "csharp", + "value": "operator ^=" + }, + { + "lang": "vb", + "value": "op_ExclusiveOrAssignment" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample.operator ^=" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample.op_ExclusiveOrAssignment" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator ^=" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_ExclusiveOrAssignment" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "operator ^=" + } + ], + "id": "CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_ExclusiveOrAssignment_" + }, + "level": 0, + "type": "operator", + "summary": "", + "platform": null, + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_ExclusiveOrAssignment_CSharp14_UserDefinedCompoundAssignmentOperatorsSample_.md&value=---%0Auid%3A%20CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_ExclusiveOrAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", + "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/csharp/src/CSharp14.cs/#L73", + "description": "", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": [], + "id": "CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_ExclusiveOrAssignment_CSharp14_UserDefinedCompoundAssignmentOperatorsSample_", + "hideTitleType": false, + "hideSubtitle": false + }, + { + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_IncrementAssignment", + "isEii": false, + "isExtensionMethod": false, + "parent": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample", + "isExternal": false, + "name": [ + { + "lang": "csharp", + "value": "operator ++()" + }, + { + "lang": "vb", + "value": "op_IncrementAssignment()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample.operator ++()" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample.op_IncrementAssignment()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator ++()" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_IncrementAssignment()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public void operator ++()" + }, + { + "lang": "vb", + "value": "Public Function op_IncrementAssignment()" + } + ] + }, + "source": { + "remote": { + "path": "samples/csharp/src/CSharp14.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "op_IncrementAssignment", + "path": "src/CSharp14.cs", + "startLine": 54, + "endLine": 0 + }, + "assemblies": [ + "CSharp" + ], + "namespace": "CSharp14", + "overload": { + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_IncrementAssignment*", + "name": [ + { + "lang": "csharp", + "value": "operator ++" + }, + { + "lang": "vb", + "value": "op_IncrementAssignment" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample.operator ++" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample.op_IncrementAssignment" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator ++" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_IncrementAssignment" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "operator ++" + } + ], + "id": "CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_IncrementAssignment_" + }, + "level": 0, + "type": "operator", + "summary": "", + "platform": null, + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_IncrementAssignment.md&value=---%0Auid%3A%20CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_IncrementAssignment%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", + "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/csharp/src/CSharp14.cs/#L55", + "description": "", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": [], + "id": "CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_IncrementAssignment", + "hideTitleType": false, + "hideSubtitle": false + }, + { + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_LeftShiftAssignment(System.Int32)", + "isEii": false, + "isExtensionMethod": false, + "parent": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample", + "isExternal": false, + "name": [ + { + "lang": "csharp", + "value": "operator <<=(int)" + }, + { + "lang": "vb", + "value": "op_LeftShiftAssignment(Integer)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample.operator <<=(int)" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample.op_LeftShiftAssignment(Integer)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator <<=(int)" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_LeftShiftAssignment(Integer)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public void operator <<=(int shift)" + }, + { + "lang": "vb", + "value": "Public Function op_LeftShiftAssignment(shift As Integer)" + } + ], + "parameters": [ + { + "id": "shift", + "type": { + "uid": "System.Int32", + "name": [ + { + "lang": "csharp", + "value": "int" + }, + { + "lang": "vb", + "value": "Integer" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "int" + }, + { + "lang": "vb", + "value": "Integer" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "int" + }, + { + "lang": "vb", + "value": "Integer" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ] + } + } + ] + }, + "source": { + "remote": { + "path": "samples/csharp/src/CSharp14.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "op_LeftShiftAssignment", + "path": "src/CSharp14.cs", + "startLine": 74, + "endLine": 0 + }, + "assemblies": [ + "CSharp" + ], + "namespace": "CSharp14", + "overload": { + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_LeftShiftAssignment*", + "name": [ + { + "lang": "csharp", + "value": "operator <<=" + }, + { + "lang": "vb", + "value": "op_LeftShiftAssignment" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample.operator <<=" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample.op_LeftShiftAssignment" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator <<=" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_LeftShiftAssignment" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "operator <<=" + } + ], + "id": "CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_LeftShiftAssignment_" + }, + "level": 0, + "type": "operator", + "summary": "", + "platform": null, + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_LeftShiftAssignment_System_Int32_.md&value=---%0Auid%3A%20CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_LeftShiftAssignment(System.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", + "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/csharp/src/CSharp14.cs/#L75", + "description": "", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": [], + "id": "CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_LeftShiftAssignment_System_Int32_", + "hideTitleType": false, + "hideSubtitle": false + }, + { + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_ModulusAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample)", + "isEii": false, + "isExtensionMethod": false, + "parent": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample", + "isExternal": false, + "name": [ + { + "lang": "csharp", + "value": "operator %=(UserDefinedCompoundAssignmentOperatorsSample)" + }, + { + "lang": "vb", + "value": "op_ModulusAssignment(UserDefinedCompoundAssignmentOperatorsSample)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample.operator %=(UserDefinedCompoundAssignmentOperatorsSample)" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample.op_ModulusAssignment(UserDefinedCompoundAssignmentOperatorsSample)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator %=(CSharp14.UserDefinedCompoundAssignmentOperatorsSample)" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_ModulusAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public void operator %=(UserDefinedCompoundAssignmentOperatorsSample c)" + }, + { + "lang": "vb", + "value": "Public Function op_ModulusAssignment(c As UserDefinedCompoundAssignmentOperatorsSample)" + } + ], + "parameters": [ + { + "id": "c", + "type": { + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample", + "name": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ] + } + } + ] + }, + "source": { + "remote": { + "path": "samples/csharp/src/CSharp14.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "op_ModulusAssignment", + "path": "src/CSharp14.cs", + "startLine": 66, + "endLine": 0 + }, + "assemblies": [ + "CSharp" + ], + "namespace": "CSharp14", + "overload": { + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_ModulusAssignment*", + "name": [ + { + "lang": "csharp", + "value": "operator %=" + }, + { + "lang": "vb", + "value": "op_ModulusAssignment" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample.operator %=" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample.op_ModulusAssignment" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator %=" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_ModulusAssignment" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "operator %=" + } + ], + "id": "CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_ModulusAssignment_" + }, + "level": 0, + "type": "operator", + "summary": "", + "platform": null, + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_ModulusAssignment_CSharp14_UserDefinedCompoundAssignmentOperatorsSample_.md&value=---%0Auid%3A%20CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_ModulusAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", + "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/csharp/src/CSharp14.cs/#L67", + "description": "", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": [], + "id": "CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_ModulusAssignment_CSharp14_UserDefinedCompoundAssignmentOperatorsSample_", + "hideTitleType": false, + "hideSubtitle": false + }, + { + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_MultiplicationAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample)", + "isEii": false, + "isExtensionMethod": false, + "parent": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample", + "isExternal": false, + "name": [ + { + "lang": "csharp", + "value": "operator *=(UserDefinedCompoundAssignmentOperatorsSample)" + }, + { + "lang": "vb", + "value": "op_MultiplicationAssignment(UserDefinedCompoundAssignmentOperatorsSample)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample.operator *=(UserDefinedCompoundAssignmentOperatorsSample)" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample.op_MultiplicationAssignment(UserDefinedCompoundAssignmentOperatorsSample)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator *=(CSharp14.UserDefinedCompoundAssignmentOperatorsSample)" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_MultiplicationAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public void operator *=(UserDefinedCompoundAssignmentOperatorsSample c)" + }, + { + "lang": "vb", + "value": "Public Function op_MultiplicationAssignment(c As UserDefinedCompoundAssignmentOperatorsSample)" + } + ], + "parameters": [ + { + "id": "c", + "type": { + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample", + "name": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ] + } + } + ] + }, + "source": { + "remote": { + "path": "samples/csharp/src/CSharp14.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "op_MultiplicationAssignment", + "path": "src/CSharp14.cs", + "startLine": 62, + "endLine": 0 + }, + "assemblies": [ + "CSharp" + ], + "namespace": "CSharp14", + "overload": { + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_MultiplicationAssignment*", + "name": [ + { + "lang": "csharp", + "value": "operator *=" + }, + { + "lang": "vb", + "value": "op_MultiplicationAssignment" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample.operator *=" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample.op_MultiplicationAssignment" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator *=" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_MultiplicationAssignment" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "operator *=" + } + ], + "id": "CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_MultiplicationAssignment_" + }, + "level": 0, + "type": "operator", + "summary": "", + "platform": null, + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_MultiplicationAssignment_CSharp14_UserDefinedCompoundAssignmentOperatorsSample_.md&value=---%0Auid%3A%20CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_MultiplicationAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", + "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/csharp/src/CSharp14.cs/#L63", + "description": "", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": [], + "id": "CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_MultiplicationAssignment_CSharp14_UserDefinedCompoundAssignmentOperatorsSample_", + "hideTitleType": false, + "hideSubtitle": false + }, + { + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_RightShiftAssignment(System.Int32)", + "isEii": false, + "isExtensionMethod": false, + "parent": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample", + "isExternal": false, + "name": [ + { + "lang": "csharp", + "value": "operator >>=(int)" + }, + { + "lang": "vb", + "value": "op_RightShiftAssignment(Integer)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample.operator >>=(int)" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample.op_RightShiftAssignment(Integer)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator >>=(int)" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_RightShiftAssignment(Integer)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public void operator >>=(int shift)" + }, + { + "lang": "vb", + "value": "Public Function op_RightShiftAssignment(shift As Integer)" + } + ], + "parameters": [ + { + "id": "shift", + "type": { + "uid": "System.Int32", + "name": [ + { + "lang": "csharp", + "value": "int" + }, + { + "lang": "vb", + "value": "Integer" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "int" + }, + { + "lang": "vb", + "value": "Integer" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "int" + }, + { + "lang": "vb", + "value": "Integer" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ] + } + } + ] + }, + "source": { + "remote": { + "path": "samples/csharp/src/CSharp14.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "op_RightShiftAssignment", + "path": "src/CSharp14.cs", + "startLine": 76, + "endLine": 0 + }, + "assemblies": [ + "CSharp" + ], + "namespace": "CSharp14", + "overload": { + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_RightShiftAssignment*", + "name": [ + { + "lang": "csharp", + "value": "operator >>=" + }, + { + "lang": "vb", + "value": "op_RightShiftAssignment" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample.operator >>=" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample.op_RightShiftAssignment" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator >>=" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_RightShiftAssignment" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "operator >>=" + } + ], + "id": "CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_RightShiftAssignment_" + }, + "level": 0, + "type": "operator", + "summary": "", + "platform": null, + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_RightShiftAssignment_System_Int32_.md&value=---%0Auid%3A%20CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_RightShiftAssignment(System.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", + "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/csharp/src/CSharp14.cs/#L77", + "description": "", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": [], + "id": "CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_RightShiftAssignment_System_Int32_", + "hideTitleType": false, + "hideSubtitle": false + }, + { + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_SubtractionAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample)", + "isEii": false, + "isExtensionMethod": false, + "parent": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample", + "isExternal": false, + "name": [ + { + "lang": "csharp", + "value": "operator -=(UserDefinedCompoundAssignmentOperatorsSample)" + }, + { + "lang": "vb", + "value": "op_SubtractionAssignment(UserDefinedCompoundAssignmentOperatorsSample)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample.operator -=(UserDefinedCompoundAssignmentOperatorsSample)" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample.op_SubtractionAssignment(UserDefinedCompoundAssignmentOperatorsSample)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator -=(CSharp14.UserDefinedCompoundAssignmentOperatorsSample)" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_SubtractionAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public void operator -=(UserDefinedCompoundAssignmentOperatorsSample c)" + }, + { + "lang": "vb", + "value": "Public Function op_SubtractionAssignment(c As UserDefinedCompoundAssignmentOperatorsSample)" + } + ], + "parameters": [ + { + "id": "c", + "type": { + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample", + "name": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ] + } + } + ] + }, + "source": { + "remote": { + "path": "samples/csharp/src/CSharp14.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "op_SubtractionAssignment", + "path": "src/CSharp14.cs", + "startLine": 60, + "endLine": 0 + }, + "assemblies": [ + "CSharp" + ], + "namespace": "CSharp14", + "overload": { + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_SubtractionAssignment*", + "name": [ + { + "lang": "csharp", + "value": "operator -=" + }, + { + "lang": "vb", + "value": "op_SubtractionAssignment" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample.operator -=" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample.op_SubtractionAssignment" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator -=" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_SubtractionAssignment" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "operator -=" + } + ], + "id": "CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_SubtractionAssignment_" + }, + "level": 0, + "type": "operator", + "summary": "", + "platform": null, + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_SubtractionAssignment_CSharp14_UserDefinedCompoundAssignmentOperatorsSample_.md&value=---%0Auid%3A%20CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_SubtractionAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", + "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/csharp/src/CSharp14.cs/#L61", + "description": "", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": [], + "id": "CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_SubtractionAssignment_CSharp14_UserDefinedCompoundAssignmentOperatorsSample_", + "hideTitleType": false, + "hideSubtitle": false + } + ] + } + ], + "langs": [ + "csharp", + "vb" + ], + "name": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample" + } + ], + "type": "class", + "source": { + "remote": { + "path": "samples/csharp/src/CSharp14.cs", + "branch": "main", + "repo": "https://github.com/dotnet/docfx" + }, + "id": "UserDefinedCompoundAssignmentOperatorsSample", + "path": "src/CSharp14.cs", + "startLine": 48, + "endLine": 0 + }, + "assemblies": [ + "CSharp" + ], + "namespace": { + "uid": "CSharp14", + "isEii": false, + "isExtensionMethod": false, + "href": "CSharp14.html", + "name": [ + { + "lang": "csharp", + "value": "CSharp14" + }, + { + "lang": "vb", + "value": "CSharp14" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "CSharp14" + }, + { + "lang": "vb", + "value": "CSharp14" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14" + }, + { + "lang": "vb", + "value": "CSharp14" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0 + }, + "syntax": { + "content": [ + { + "lang": "csharp", + "value": "public class UserDefinedCompoundAssignmentOperatorsSample" + }, + { + "lang": "vb", + "value": "Public Class UserDefinedCompoundAssignmentOperatorsSample" + } + ] + }, + "inheritance": [ + { + "uid": "System.Object", + "isEii": false, + "isExtensionMethod": false, + "parent": "System", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object", + "name": [ + { + "lang": "csharp", + "value": "object" + }, + { + "lang": "vb", + "value": "Object" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object" + }, + { + "lang": "vb", + "value": "Object" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object" + }, + { + "lang": "vb", + "value": "Object" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0, + "index": 0 + } + ], + "level": 1, + "inheritedMembers": [ + { + "uid": "System.Object.Equals(System.Object)", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)", + "name": [ + { + "lang": "csharp", + "value": "Equals(object)" + }, + { + "lang": "vb", + "value": "Equals(Object)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.Equals(object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.Equals(object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "Equals(object)" + }, + { + "lang": "vb", + "value": "Equals(Object)" + } + ], + "level": 0 + }, + { + "uid": "System.Object.Equals(System.Object,System.Object)", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)", + "name": [ + { + "lang": "csharp", + "value": "Equals(object, object)" + }, + { + "lang": "vb", + "value": "Equals(Object, Object)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.Equals(object, object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object, Object)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.Equals(object, object)" + }, + { + "lang": "vb", + "value": "Object.Equals(Object, Object)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "Equals(object, object)" + }, + { + "lang": "vb", + "value": "Equals(Object, Object)" + } + ], + "level": 0 + }, + { + "uid": "System.Object.GetHashCode", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.gethashcode", + "name": [ + { + "lang": "csharp", + "value": "GetHashCode()" + }, + { + "lang": "vb", + "value": "GetHashCode()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.GetHashCode()" + }, + { + "lang": "vb", + "value": "Object.GetHashCode()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.GetHashCode()" + }, + { + "lang": "vb", + "value": "Object.GetHashCode()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "GetHashCode()" + }, + { + "lang": "vb", + "value": "GetHashCode()" + } + ], + "level": 0 + }, + { + "uid": "System.Object.GetType", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.gettype", + "name": [ + { + "lang": "csharp", + "value": "GetType()" + }, + { + "lang": "vb", + "value": "GetType()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.GetType()" + }, + { + "lang": "vb", + "value": "Object.GetType()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.GetType()" + }, + { + "lang": "vb", + "value": "Object.GetType()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "GetType()" + }, + { + "lang": "vb", + "value": "GetType()" + } + ], + "level": 0 + }, + { + "uid": "System.Object.MemberwiseClone", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone", + "name": [ + { + "lang": "csharp", + "value": "MemberwiseClone()" + }, + { + "lang": "vb", + "value": "MemberwiseClone()" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.MemberwiseClone()" + }, + { + "lang": "vb", + "value": "Object.MemberwiseClone()" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.MemberwiseClone()" + }, + { + "lang": "vb", + "value": "Object.MemberwiseClone()" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "MemberwiseClone()" + }, + { + "lang": "vb", + "value": "MemberwiseClone()" + } + ], + "level": 0 + }, + { + "uid": "System.Object.ReferenceEquals(System.Object,System.Object)", + "isEii": false, + "isExtensionMethod": false, + "parent": "System.Object", + "isExternal": true, + "href": "https://learn.microsoft.com/dotnet/api/system.object.referenceequals", + "name": [ + { + "lang": "csharp", + "value": "ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "ReferenceEquals(Object, Object)" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "object.ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "Object.ReferenceEquals(Object, Object)" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "object.ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "Object.ReferenceEquals(Object, Object)" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "ReferenceEquals(object, object)" + }, + { + "lang": "vb", + "value": "ReferenceEquals(Object, Object)" + } + ], + "level": 0 + } + ], + "_systemKeys": [ + "uid", + "isEii", + "isExtensionMethod", + "parent", + "children", + "href", + "langs", + "name", + "nameWithType", + "fullName", + "type", + "source", + "documentation", + "assemblies", + "namespace", + "summary", + "remarks", + "example", + "syntax", + "overridden", + "overload", + "exceptions", + "seealso", + "see", + "inheritance", + "derivedClasses", + "level", + "implements", + "inheritedMembers", + "extensionMethods", + "conceptual", + "platform", + "attributes", + "additionalNotes" + ], + "_key": "api/CSharp14.UserDefinedCompoundAssignmentOperatorsSample.yml", + "_path": "api/CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html", + "_rel": "../", + "_tocKey": "~/api/toc.yml", + "_tocPath": "api/toc.html", + "_tocRel": "toc.html", + "__global": { + "namespacesInSubtitle": "Namespaces", + "classesInSubtitle": "Classes", + "structsInSubtitle": "Structs", + "interfacesInSubtitle": "Interfaces", + "enumsInSubtitle": "Enums", + "delegatesInSubtitle": "Delegates", + "constructorsInSubtitle": "Constructors", + "fieldsInSubtitle": "Fields", + "propertiesInSubtitle": "Properties", + "methodsInSubtitle": "Methods", + "eventsInSubtitle": "Events", + "operatorsInSubtitle": "Operators", + "eiisInSubtitle": "Explicit Interface Implementations", + "functionsInSubtitle": "Functions", + "variablesInSubtitle": "Variables", + "typeAliasesInSubtitle": "Type Aliases", + "membersInSubtitle": "Members", + "improveThisDoc": "Edit this page", + "viewSource": "View Source", + "inheritance": "Inheritance", + "derived": "Derived", + "inheritedMembers": "Inherited Members", + "package": "Package", + "namespace": "Namespace", + "assembly": "Assembly", + "syntax": "Syntax", + "overrides": "Overrides", + "implements": "Implements", + "remarks": "Remarks", + "examples": "Examples", + "seealso": "See Also", + "declaration": "Declaration", + "parameters": "Parameters", + "typeParameters": "Type Parameters", + "type": "Type", + "name": "Name", + "description": "Description", + "returns": "Returns", + "fieldValue": "Field Value", + "propertyValue": "Property Value", + "eventType": "Event Type", + "variableValue": "Variable Value", + "typeAliasType": "Type Alias Type", + "exceptions": "Exceptions", + "condition": "Condition", + "extensionMethods": "Extension Methods", + "note": "Note", + "warning": "Warning", + "tip": "Tip", + "important": "Important", + "caution": "Caution", + "tocToggleButton": "Show / Hide Table of Contents", + "tocFilter": "Filter by title", + "search": "Search", + "searchResults": "Search Results for", + "searchResultsCount": "{count} results for \"{query}\"", + "searchNoResults": "No results for \"{query}\"", + "pageFirst": "First", + "pagePrev": "Previous", + "pageNext": "Next", + "pageLast": "Last", + "inThisArticle": "In this article", + "nextArticle": "Next", + "prevArticle": "Previous", + "backToTop": "Back to top", + "themeLight": "Light", + "themeDark": "Dark", + "themeAuto": "Auto", + "changeTheme": "Change theme", + "copy": "Copy", + "downloadPdf": "Download PDF", + "_shared": {} + }, + "yamlmime": "ManagedReference", + "docurl": "https://github.com/dotnet/docfx/new/main/apiSpec/new?filename=CSharp14_UserDefinedCompoundAssignmentOperatorsSample.md&value=---%0Auid%3A%20CSharp14.UserDefinedCompoundAssignmentOperatorsSample%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A", + "sourceurl": "https://github.com/dotnet/docfx/blob/main/samples/csharp/src/CSharp14.cs/#L49", + "summary": "", + "description": "", + "remarks": "", + "conceptual": "", + "implements": "", + "example": "", + "seealso": [], + "id": "CSharp14_UserDefinedCompoundAssignmentOperatorsSample", + "hideTitleType": false, + "hideSubtitle": false, + "isClass": true, + "inClass": true, + "_disableToc": false, + "_disableNextArticle": true +} \ No newline at end of file diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp14.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp14.html.view.verified.json new file mode 100644 index 00000000000..26b97b40243 --- /dev/null +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp14.html.view.verified.json @@ -0,0 +1,436 @@ +{ + "uid": "CSharp14", + "isEii": false, + "isExtensionMethod": false, + "children": [ + { + "inClass": true, + "typePropertyName": "inClass", + "id": "classes", + "children": [ + { + "uid": "CSharp14.FieldBackedPropertySample", + "isExtensionMethod": false, + "href": "CSharp14.FieldBackedPropertySample.html", + "name": [ + { + "lang": "csharp", + "value": "FieldBackedPropertySample" + }, + { + "lang": "vb", + "value": "FieldBackedPropertySample" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "FieldBackedPropertySample" + }, + { + "lang": "vb", + "value": "FieldBackedPropertySample" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.FieldBackedPropertySample" + }, + { + "lang": "vb", + "value": "CSharp14.FieldBackedPropertySample" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0, + "summary": "", + "type": "class", + "platform": null, + "isEii": false, + "docurl": "", + "sourceurl": "", + "description": "", + "remarks": "", + "conceptual": "", + "syntax": "", + "implements": "", + "example": "", + "seealso": [], + "id": "CSharp14_FieldBackedPropertySample", + "hideTitleType": false, + "hideSubtitle": false + }, + { + "uid": "CSharp14.SampleClass", + "isExtensionMethod": false, + "parent": "CSharp14", + "href": "CSharp14.SampleClass.html", + "name": [ + { + "lang": "csharp", + "value": "SampleClass" + }, + { + "lang": "vb", + "value": "SampleClass" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "SampleClass" + }, + { + "lang": "vb", + "value": "SampleClass" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.SampleClass" + }, + { + "lang": "vb", + "value": "CSharp14.SampleClass" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0, + "summary": "", + "type": "class", + "platform": null, + "isEii": false, + "docurl": "", + "sourceurl": "", + "description": "", + "remarks": "", + "conceptual": "", + "syntax": "", + "implements": "", + "example": "", + "seealso": [], + "id": "CSharp14_SampleClass", + "hideTitleType": false, + "hideSubtitle": false + }, + { + "uid": "CSharp14.SampleClassExtensions", + "isExtensionMethod": false, + "href": "CSharp14.SampleClassExtensions.html", + "name": [ + { + "lang": "csharp", + "value": "SampleClassExtensions" + }, + { + "lang": "vb", + "value": "SampleClassExtensions" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "SampleClassExtensions" + }, + { + "lang": "vb", + "value": "SampleClassExtensions" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.SampleClassExtensions" + }, + { + "lang": "vb", + "value": "CSharp14.SampleClassExtensions" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0, + "summary": "", + "type": "class", + "platform": null, + "isEii": false, + "docurl": "", + "sourceurl": "", + "description": "", + "remarks": "", + "conceptual": "", + "syntax": "", + "implements": "", + "example": "", + "seealso": [], + "id": "CSharp14_SampleClassExtensions", + "hideTitleType": false, + "hideSubtitle": false + }, + { + "uid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample", + "isExtensionMethod": false, + "parent": "CSharp14", + "href": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html", + "name": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + }, + { + "lang": "vb", + "value": "UserDefinedCompoundAssignmentOperatorsSample" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample" + }, + { + "lang": "vb", + "value": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample" + } + ], + "specName": [ + { + "lang": "csharp", + "value": "" + }, + { + "lang": "vb", + "value": "" + } + ], + "level": 0, + "summary": "", + "type": "class", + "platform": null, + "isEii": false, + "docurl": "", + "sourceurl": "", + "description": "", + "remarks": "", + "conceptual": "", + "syntax": "", + "implements": "", + "example": "", + "seealso": [], + "id": "CSharp14_UserDefinedCompoundAssignmentOperatorsSample", + "hideTitleType": false, + "hideSubtitle": false + } + ] + } + ], + "langs": [ + "csharp", + "vb" + ], + "name": [ + { + "lang": "csharp", + "value": "CSharp14" + }, + { + "lang": "vb", + "value": "CSharp14" + } + ], + "nameWithType": [ + { + "lang": "csharp", + "value": "CSharp14" + }, + { + "lang": "vb", + "value": "CSharp14" + } + ], + "fullName": [ + { + "lang": "csharp", + "value": "CSharp14" + }, + { + "lang": "vb", + "value": "CSharp14" + } + ], + "type": "namespace", + "assemblies": [ + "CSharp" + ], + "level": 0, + "_systemKeys": [ + "uid", + "isEii", + "isExtensionMethod", + "parent", + "children", + "href", + "langs", + "name", + "nameWithType", + "fullName", + "type", + "source", + "documentation", + "assemblies", + "namespace", + "summary", + "remarks", + "example", + "syntax", + "overridden", + "overload", + "exceptions", + "seealso", + "see", + "inheritance", + "derivedClasses", + "level", + "implements", + "inheritedMembers", + "extensionMethods", + "conceptual", + "platform", + "attributes", + "additionalNotes" + ], + "_key": "api/CSharp14.yml", + "_path": "api/CSharp14.html", + "_rel": "../", + "_tocKey": "~/api/toc.yml", + "_tocPath": "api/toc.html", + "_tocRel": "toc.html", + "__global": { + "namespacesInSubtitle": "Namespaces", + "classesInSubtitle": "Classes", + "structsInSubtitle": "Structs", + "interfacesInSubtitle": "Interfaces", + "enumsInSubtitle": "Enums", + "delegatesInSubtitle": "Delegates", + "constructorsInSubtitle": "Constructors", + "fieldsInSubtitle": "Fields", + "propertiesInSubtitle": "Properties", + "methodsInSubtitle": "Methods", + "eventsInSubtitle": "Events", + "operatorsInSubtitle": "Operators", + "eiisInSubtitle": "Explicit Interface Implementations", + "functionsInSubtitle": "Functions", + "variablesInSubtitle": "Variables", + "typeAliasesInSubtitle": "Type Aliases", + "membersInSubtitle": "Members", + "improveThisDoc": "Edit this page", + "viewSource": "View Source", + "inheritance": "Inheritance", + "derived": "Derived", + "inheritedMembers": "Inherited Members", + "package": "Package", + "namespace": "Namespace", + "assembly": "Assembly", + "syntax": "Syntax", + "overrides": "Overrides", + "implements": "Implements", + "remarks": "Remarks", + "examples": "Examples", + "seealso": "See Also", + "declaration": "Declaration", + "parameters": "Parameters", + "typeParameters": "Type Parameters", + "type": "Type", + "name": "Name", + "description": "Description", + "returns": "Returns", + "fieldValue": "Field Value", + "propertyValue": "Property Value", + "eventType": "Event Type", + "variableValue": "Variable Value", + "typeAliasType": "Type Alias Type", + "exceptions": "Exceptions", + "condition": "Condition", + "extensionMethods": "Extension Methods", + "note": "Note", + "warning": "Warning", + "tip": "Tip", + "important": "Important", + "caution": "Caution", + "tocToggleButton": "Show / Hide Table of Contents", + "tocFilter": "Filter by title", + "search": "Search", + "searchResults": "Search Results for", + "searchResultsCount": "{count} results for \"{query}\"", + "searchNoResults": "No results for \"{query}\"", + "pageFirst": "First", + "pagePrev": "Previous", + "pageNext": "Next", + "pageLast": "Last", + "inThisArticle": "In this article", + "nextArticle": "Next", + "prevArticle": "Previous", + "backToTop": "Back to top", + "themeLight": "Light", + "themeDark": "Dark", + "themeAuto": "Auto", + "changeTheme": "Change theme", + "copy": "Copy", + "downloadPdf": "Download PDF", + "_shared": {} + }, + "yamlmime": "ManagedReference", + "docurl": "", + "sourceurl": "", + "summary": "", + "description": "", + "remarks": "", + "conceptual": "", + "syntax": "", + "implements": "", + "example": "", + "seealso": [], + "id": "CSharp14", + "hideTitleType": false, + "hideSubtitle": false, + "isNamespace": true, + "_disableToc": false, + "_disableNextArticle": true +} \ No newline at end of file diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/toc.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/toc.html.view.verified.json index ee35c5361e0..63373bb128b 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/toc.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/toc.html.view.verified.json @@ -253,6 +253,83 @@ "tocHref": null, "level": 2 }, + { + "name": "CSharp13", + "href": "CSharp13.html", + "topicHref": "CSharp13.html", + "topicUid": "CSharp13", + "type": "Namespace", + "items": [ + { + "name": "AllowRefStruct", + "href": "CSharp13.AllowRefStruct-1.html", + "topicHref": "CSharp13.AllowRefStruct-1.html", + "topicUid": "CSharp13.AllowRefStruct`1", + "type": "Class", + "tocHref": null, + "level": 3, + "items": [], + "leaf": true + } + ], + "tocHref": null, + "level": 2 + }, + { + "name": "CSharp14", + "href": "CSharp14.html", + "topicHref": "CSharp14.html", + "topicUid": "CSharp14", + "type": "Namespace", + "items": [ + { + "name": "FieldBackedPropertySample", + "href": "CSharp14.FieldBackedPropertySample.html", + "topicHref": "CSharp14.FieldBackedPropertySample.html", + "topicUid": "CSharp14.FieldBackedPropertySample", + "type": "Class", + "tocHref": null, + "level": 3, + "items": [], + "leaf": true + }, + { + "name": "SampleClass", + "href": "CSharp14.SampleClass.html", + "topicHref": "CSharp14.SampleClass.html", + "topicUid": "CSharp14.SampleClass", + "type": "Class", + "tocHref": null, + "level": 3, + "items": [], + "leaf": true + }, + { + "name": "SampleClassExtensions", + "href": "CSharp14.SampleClassExtensions.html", + "topicHref": "CSharp14.SampleClassExtensions.html", + "topicUid": "CSharp14.SampleClassExtensions", + "type": "Class", + "tocHref": null, + "level": 3, + "items": [], + "leaf": true + }, + { + "name": "UserDefinedCompoundAssignmentOperatorsSample", + "href": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html", + "topicHref": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html", + "topicUid": "CSharp14.UserDefinedCompoundAssignmentOperatorsSample", + "type": "Class", + "tocHref": null, + "level": 3, + "items": [], + "leaf": true + } + ], + "tocHref": null, + "level": 2 + }, { "name": "CSharp8", "href": "CSharp8.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/toc.json.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/toc.json.view.verified.json index acede2d481d..ff3dc2f8ed7 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/toc.json.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/toc.json.view.verified.json @@ -1,3 +1,3 @@ { - "content": "{\"items\":[{\"name\":\"CSharp10\",\"href\":\"CSharp10.html\",\"topicHref\":\"CSharp10.html\",\"topicUid\":\"CSharp10\",\"type\":\"Namespace\",\"items\":[{\"name\":\"ConstantInterpolatedStrings\",\"href\":\"CSharp10.ConstantInterpolatedStrings.html\",\"topicHref\":\"CSharp10.ConstantInterpolatedStrings.html\",\"topicUid\":\"CSharp10.ConstantInterpolatedStrings\",\"type\":\"Class\"},{\"name\":\"Issue7737\",\"href\":\"CSharp10.Issue7737.html\",\"topicHref\":\"CSharp10.Issue7737.html\",\"topicUid\":\"CSharp10.Issue7737\",\"type\":\"Class\"},{\"name\":\"ParameterlessStructConstructors\",\"href\":\"CSharp10.ParameterlessStructConstructors.html\",\"topicHref\":\"CSharp10.ParameterlessStructConstructors.html\",\"topicUid\":\"CSharp10.ParameterlessStructConstructors\",\"type\":\"Struct\"},{\"name\":\"ReadOnlyRecordStruct\",\"href\":\"CSharp10.ReadOnlyRecordStruct.html\",\"topicHref\":\"CSharp10.ReadOnlyRecordStruct.html\",\"topicUid\":\"CSharp10.ReadOnlyRecordStruct\",\"type\":\"Struct\"},{\"name\":\"RecordClass\",\"href\":\"CSharp10.RecordClass.html\",\"topicHref\":\"CSharp10.RecordClass.html\",\"topicUid\":\"CSharp10.RecordClass\",\"type\":\"Class\"},{\"name\":\"RecordStruct\",\"href\":\"CSharp10.RecordStruct.html\",\"topicHref\":\"CSharp10.RecordStruct.html\",\"topicUid\":\"CSharp10.RecordStruct\",\"type\":\"Struct\"}]},{\"name\":\"CSharp11\",\"href\":\"CSharp11.html\",\"topicHref\":\"CSharp11.html\",\"topicUid\":\"CSharp11\",\"type\":\"Namespace\",\"items\":[{\"name\":\"CheckedUserDefinedOperators\",\"href\":\"CSharp11.CheckedUserDefinedOperators-1.html\",\"topicHref\":\"CSharp11.CheckedUserDefinedOperators-1.html\",\"topicUid\":\"CSharp11.CheckedUserDefinedOperators`1\",\"type\":\"Interface\"},{\"name\":\"RequiredModifier\",\"href\":\"CSharp11.RequiredModifier.html\",\"topicHref\":\"CSharp11.RequiredModifier.html\",\"topicUid\":\"CSharp11.RequiredModifier\",\"type\":\"Class\"},{\"name\":\"ScopedModifier\",\"href\":\"CSharp11.ScopedModifier.html\",\"topicHref\":\"CSharp11.ScopedModifier.html\",\"topicUid\":\"CSharp11.ScopedModifier\",\"type\":\"Class\"},{\"name\":\"StaticAbstractMembersInInterfaces\",\"href\":\"CSharp11.StaticAbstractMembersInInterfaces.html\",\"topicHref\":\"CSharp11.StaticAbstractMembersInInterfaces.html\",\"topicUid\":\"CSharp11.StaticAbstractMembersInInterfaces\",\"type\":\"Class\"},{\"name\":\"StaticAbstractMembersInInterfaces.IGetNext\",\"href\":\"CSharp11.StaticAbstractMembersInInterfaces.IGetNext-1.html\",\"topicHref\":\"CSharp11.StaticAbstractMembersInInterfaces.IGetNext-1.html\",\"topicUid\":\"CSharp11.StaticAbstractMembersInInterfaces.IGetNext`1\",\"type\":\"Interface\"},{\"name\":\"StaticAbstractMembersInInterfaces.RepeatSequence\",\"href\":\"CSharp11.StaticAbstractMembersInInterfaces.RepeatSequence.html\",\"topicHref\":\"CSharp11.StaticAbstractMembersInInterfaces.RepeatSequence.html\",\"topicUid\":\"CSharp11.StaticAbstractMembersInInterfaces.RepeatSequence\",\"type\":\"Struct\"}]},{\"name\":\"CSharp12\",\"href\":\"CSharp12.html\",\"topicHref\":\"CSharp12.html\",\"topicUid\":\"CSharp12\",\"type\":\"Namespace\",\"items\":[{\"name\":\"CollectionExpressions\",\"href\":\"CSharp12.CollectionExpressions.html\",\"topicHref\":\"CSharp12.CollectionExpressions.html\",\"topicUid\":\"CSharp12.CollectionExpressions\",\"type\":\"Class\"},{\"name\":\"DefaultLambdaParameters\",\"href\":\"CSharp12.DefaultLambdaParameters.html\",\"topicHref\":\"CSharp12.DefaultLambdaParameters.html\",\"topicUid\":\"CSharp12.DefaultLambdaParameters\",\"type\":\"Class\"},{\"name\":\"InlineArrays\",\"href\":\"CSharp12.InlineArrays.html\",\"topicHref\":\"CSharp12.InlineArrays.html\",\"topicUid\":\"CSharp12.InlineArrays\",\"type\":\"Struct\"},{\"name\":\"PrimaryConstructors\",\"href\":\"CSharp12.PrimaryConstructors.html\",\"topicHref\":\"CSharp12.PrimaryConstructors.html\",\"topicUid\":\"CSharp12.PrimaryConstructors\",\"type\":\"Class\"},{\"name\":\"PrimaryConstructors.BankAccount\",\"href\":\"CSharp12.PrimaryConstructors.BankAccount.html\",\"topicHref\":\"CSharp12.PrimaryConstructors.BankAccount.html\",\"topicUid\":\"CSharp12.PrimaryConstructors.BankAccount\",\"type\":\"Class\"},{\"name\":\"PrimaryConstructors.CheckAccount\",\"href\":\"CSharp12.PrimaryConstructors.CheckAccount.html\",\"topicHref\":\"CSharp12.PrimaryConstructors.CheckAccount.html\",\"topicUid\":\"CSharp12.PrimaryConstructors.CheckAccount\",\"type\":\"Class\"},{\"name\":\"PrimaryConstructors.Distance\",\"href\":\"CSharp12.PrimaryConstructors.Distance.html\",\"topicHref\":\"CSharp12.PrimaryConstructors.Distance.html\",\"topicUid\":\"CSharp12.PrimaryConstructors.Distance\",\"type\":\"Struct\"},{\"name\":\"RefReadOnlyParameters\",\"href\":\"CSharp12.RefReadOnlyParameters.html\",\"topicHref\":\"CSharp12.RefReadOnlyParameters.html\",\"topicUid\":\"CSharp12.RefReadOnlyParameters\",\"type\":\"Class\"}]},{\"name\":\"CSharp8\",\"href\":\"CSharp8.html\",\"topicHref\":\"CSharp8.html\",\"topicUid\":\"CSharp8\",\"type\":\"Namespace\",\"items\":[{\"name\":\"DefaultInterfaceMembers\",\"href\":\"CSharp8.DefaultInterfaceMembers.html\",\"topicHref\":\"CSharp8.DefaultInterfaceMembers.html\",\"topicUid\":\"CSharp8.DefaultInterfaceMembers\",\"type\":\"Interface\"},{\"name\":\"DefaultInterfaceMembers.IA\",\"href\":\"CSharp8.DefaultInterfaceMembers.IA.html\",\"topicHref\":\"CSharp8.DefaultInterfaceMembers.IA.html\",\"topicUid\":\"CSharp8.DefaultInterfaceMembers.IA\",\"type\":\"Interface\"},{\"name\":\"DefaultInterfaceMembers.Nested\",\"href\":\"CSharp8.DefaultInterfaceMembers.Nested.html\",\"topicHref\":\"CSharp8.DefaultInterfaceMembers.Nested.html\",\"topicUid\":\"CSharp8.DefaultInterfaceMembers.Nested\",\"type\":\"Class\"},{\"name\":\"DisposableRefStructs\",\"href\":\"CSharp8.DisposableRefStructs.html\",\"topicHref\":\"CSharp8.DisposableRefStructs.html\",\"topicUid\":\"CSharp8.DisposableRefStructs\",\"type\":\"Struct\"},{\"name\":\"Issue4007\",\"href\":\"CSharp8.Issue4007.html\",\"topicHref\":\"CSharp8.Issue4007.html\",\"topicUid\":\"CSharp8.Issue4007\",\"type\":\"Class\"},{\"name\":\"Misc\",\"href\":\"CSharp8.Misc.html\",\"topicHref\":\"CSharp8.Misc.html\",\"topicUid\":\"CSharp8.Misc\",\"type\":\"Class\"},{\"name\":\"NullableReferenceTypes\",\"href\":\"CSharp8.NullableReferenceTypes.html\",\"topicHref\":\"CSharp8.NullableReferenceTypes.html\",\"topicUid\":\"CSharp8.NullableReferenceTypes\",\"type\":\"Class\"},{\"name\":\"ReadOnlyMembers\",\"href\":\"CSharp8.ReadOnlyMembers.html\",\"topicHref\":\"CSharp8.ReadOnlyMembers.html\",\"topicUid\":\"CSharp8.ReadOnlyMembers\",\"type\":\"Struct\"}]},{\"name\":\"CSharp9\",\"href\":\"CSharp9.html\",\"topicHref\":\"CSharp9.html\",\"topicUid\":\"CSharp9\",\"type\":\"Namespace\",\"items\":[{\"name\":\"FunctionPointers\",\"href\":\"CSharp9.FunctionPointers.html\",\"topicHref\":\"CSharp9.FunctionPointers.html\",\"topicUid\":\"CSharp9.FunctionPointers\",\"type\":\"Class\"},{\"name\":\"InitOnlySetters\",\"href\":\"CSharp9.InitOnlySetters.html\",\"topicHref\":\"CSharp9.InitOnlySetters.html\",\"topicUid\":\"CSharp9.InitOnlySetters\",\"type\":\"Class\"},{\"name\":\"NativeSizedIntegers\",\"href\":\"CSharp9.NativeSizedIntegers.html\",\"topicHref\":\"CSharp9.NativeSizedIntegers.html\",\"topicUid\":\"CSharp9.NativeSizedIntegers\",\"type\":\"Class\"},{\"name\":\"RecordTypes\",\"href\":\"CSharp9.RecordTypes.html\",\"topicHref\":\"CSharp9.RecordTypes.html\",\"topicUid\":\"CSharp9.RecordTypes\",\"type\":\"Class\"},{\"name\":\"RecordTypes.Person\",\"href\":\"CSharp9.RecordTypes.Person.html\",\"topicHref\":\"CSharp9.RecordTypes.Person.html\",\"topicUid\":\"CSharp9.RecordTypes.Person\",\"type\":\"Class\"},{\"name\":\"RecordTypes.Teacher\",\"href\":\"CSharp9.RecordTypes.Teacher.html\",\"topicHref\":\"CSharp9.RecordTypes.Teacher.html\",\"topicUid\":\"CSharp9.RecordTypes.Teacher\",\"type\":\"Class\"}]}],\"memberLayout\":\"SamePage\"}" + "content": "{\"items\":[{\"name\":\"CSharp10\",\"href\":\"CSharp10.html\",\"topicHref\":\"CSharp10.html\",\"topicUid\":\"CSharp10\",\"type\":\"Namespace\",\"items\":[{\"name\":\"ConstantInterpolatedStrings\",\"href\":\"CSharp10.ConstantInterpolatedStrings.html\",\"topicHref\":\"CSharp10.ConstantInterpolatedStrings.html\",\"topicUid\":\"CSharp10.ConstantInterpolatedStrings\",\"type\":\"Class\"},{\"name\":\"Issue7737\",\"href\":\"CSharp10.Issue7737.html\",\"topicHref\":\"CSharp10.Issue7737.html\",\"topicUid\":\"CSharp10.Issue7737\",\"type\":\"Class\"},{\"name\":\"ParameterlessStructConstructors\",\"href\":\"CSharp10.ParameterlessStructConstructors.html\",\"topicHref\":\"CSharp10.ParameterlessStructConstructors.html\",\"topicUid\":\"CSharp10.ParameterlessStructConstructors\",\"type\":\"Struct\"},{\"name\":\"ReadOnlyRecordStruct\",\"href\":\"CSharp10.ReadOnlyRecordStruct.html\",\"topicHref\":\"CSharp10.ReadOnlyRecordStruct.html\",\"topicUid\":\"CSharp10.ReadOnlyRecordStruct\",\"type\":\"Struct\"},{\"name\":\"RecordClass\",\"href\":\"CSharp10.RecordClass.html\",\"topicHref\":\"CSharp10.RecordClass.html\",\"topicUid\":\"CSharp10.RecordClass\",\"type\":\"Class\"},{\"name\":\"RecordStruct\",\"href\":\"CSharp10.RecordStruct.html\",\"topicHref\":\"CSharp10.RecordStruct.html\",\"topicUid\":\"CSharp10.RecordStruct\",\"type\":\"Struct\"}]},{\"name\":\"CSharp11\",\"href\":\"CSharp11.html\",\"topicHref\":\"CSharp11.html\",\"topicUid\":\"CSharp11\",\"type\":\"Namespace\",\"items\":[{\"name\":\"CheckedUserDefinedOperators\",\"href\":\"CSharp11.CheckedUserDefinedOperators-1.html\",\"topicHref\":\"CSharp11.CheckedUserDefinedOperators-1.html\",\"topicUid\":\"CSharp11.CheckedUserDefinedOperators`1\",\"type\":\"Interface\"},{\"name\":\"RequiredModifier\",\"href\":\"CSharp11.RequiredModifier.html\",\"topicHref\":\"CSharp11.RequiredModifier.html\",\"topicUid\":\"CSharp11.RequiredModifier\",\"type\":\"Class\"},{\"name\":\"ScopedModifier\",\"href\":\"CSharp11.ScopedModifier.html\",\"topicHref\":\"CSharp11.ScopedModifier.html\",\"topicUid\":\"CSharp11.ScopedModifier\",\"type\":\"Class\"},{\"name\":\"StaticAbstractMembersInInterfaces\",\"href\":\"CSharp11.StaticAbstractMembersInInterfaces.html\",\"topicHref\":\"CSharp11.StaticAbstractMembersInInterfaces.html\",\"topicUid\":\"CSharp11.StaticAbstractMembersInInterfaces\",\"type\":\"Class\"},{\"name\":\"StaticAbstractMembersInInterfaces.IGetNext\",\"href\":\"CSharp11.StaticAbstractMembersInInterfaces.IGetNext-1.html\",\"topicHref\":\"CSharp11.StaticAbstractMembersInInterfaces.IGetNext-1.html\",\"topicUid\":\"CSharp11.StaticAbstractMembersInInterfaces.IGetNext`1\",\"type\":\"Interface\"},{\"name\":\"StaticAbstractMembersInInterfaces.RepeatSequence\",\"href\":\"CSharp11.StaticAbstractMembersInInterfaces.RepeatSequence.html\",\"topicHref\":\"CSharp11.StaticAbstractMembersInInterfaces.RepeatSequence.html\",\"topicUid\":\"CSharp11.StaticAbstractMembersInInterfaces.RepeatSequence\",\"type\":\"Struct\"}]},{\"name\":\"CSharp12\",\"href\":\"CSharp12.html\",\"topicHref\":\"CSharp12.html\",\"topicUid\":\"CSharp12\",\"type\":\"Namespace\",\"items\":[{\"name\":\"CollectionExpressions\",\"href\":\"CSharp12.CollectionExpressions.html\",\"topicHref\":\"CSharp12.CollectionExpressions.html\",\"topicUid\":\"CSharp12.CollectionExpressions\",\"type\":\"Class\"},{\"name\":\"DefaultLambdaParameters\",\"href\":\"CSharp12.DefaultLambdaParameters.html\",\"topicHref\":\"CSharp12.DefaultLambdaParameters.html\",\"topicUid\":\"CSharp12.DefaultLambdaParameters\",\"type\":\"Class\"},{\"name\":\"InlineArrays\",\"href\":\"CSharp12.InlineArrays.html\",\"topicHref\":\"CSharp12.InlineArrays.html\",\"topicUid\":\"CSharp12.InlineArrays\",\"type\":\"Struct\"},{\"name\":\"PrimaryConstructors\",\"href\":\"CSharp12.PrimaryConstructors.html\",\"topicHref\":\"CSharp12.PrimaryConstructors.html\",\"topicUid\":\"CSharp12.PrimaryConstructors\",\"type\":\"Class\"},{\"name\":\"PrimaryConstructors.BankAccount\",\"href\":\"CSharp12.PrimaryConstructors.BankAccount.html\",\"topicHref\":\"CSharp12.PrimaryConstructors.BankAccount.html\",\"topicUid\":\"CSharp12.PrimaryConstructors.BankAccount\",\"type\":\"Class\"},{\"name\":\"PrimaryConstructors.CheckAccount\",\"href\":\"CSharp12.PrimaryConstructors.CheckAccount.html\",\"topicHref\":\"CSharp12.PrimaryConstructors.CheckAccount.html\",\"topicUid\":\"CSharp12.PrimaryConstructors.CheckAccount\",\"type\":\"Class\"},{\"name\":\"PrimaryConstructors.Distance\",\"href\":\"CSharp12.PrimaryConstructors.Distance.html\",\"topicHref\":\"CSharp12.PrimaryConstructors.Distance.html\",\"topicUid\":\"CSharp12.PrimaryConstructors.Distance\",\"type\":\"Struct\"},{\"name\":\"RefReadOnlyParameters\",\"href\":\"CSharp12.RefReadOnlyParameters.html\",\"topicHref\":\"CSharp12.RefReadOnlyParameters.html\",\"topicUid\":\"CSharp12.RefReadOnlyParameters\",\"type\":\"Class\"}]},{\"name\":\"CSharp13\",\"href\":\"CSharp13.html\",\"topicHref\":\"CSharp13.html\",\"topicUid\":\"CSharp13\",\"type\":\"Namespace\",\"items\":[{\"name\":\"AllowRefStruct\",\"href\":\"CSharp13.AllowRefStruct-1.html\",\"topicHref\":\"CSharp13.AllowRefStruct-1.html\",\"topicUid\":\"CSharp13.AllowRefStruct`1\",\"type\":\"Class\"}]},{\"name\":\"CSharp14\",\"href\":\"CSharp14.html\",\"topicHref\":\"CSharp14.html\",\"topicUid\":\"CSharp14\",\"type\":\"Namespace\",\"items\":[{\"name\":\"FieldBackedPropertySample\",\"href\":\"CSharp14.FieldBackedPropertySample.html\",\"topicHref\":\"CSharp14.FieldBackedPropertySample.html\",\"topicUid\":\"CSharp14.FieldBackedPropertySample\",\"type\":\"Class\"},{\"name\":\"SampleClass\",\"href\":\"CSharp14.SampleClass.html\",\"topicHref\":\"CSharp14.SampleClass.html\",\"topicUid\":\"CSharp14.SampleClass\",\"type\":\"Class\"},{\"name\":\"SampleClassExtensions\",\"href\":\"CSharp14.SampleClassExtensions.html\",\"topicHref\":\"CSharp14.SampleClassExtensions.html\",\"topicUid\":\"CSharp14.SampleClassExtensions\",\"type\":\"Class\"},{\"name\":\"UserDefinedCompoundAssignmentOperatorsSample\",\"href\":\"CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html\",\"topicHref\":\"CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html\",\"topicUid\":\"CSharp14.UserDefinedCompoundAssignmentOperatorsSample\",\"type\":\"Class\"}]},{\"name\":\"CSharp8\",\"href\":\"CSharp8.html\",\"topicHref\":\"CSharp8.html\",\"topicUid\":\"CSharp8\",\"type\":\"Namespace\",\"items\":[{\"name\":\"DefaultInterfaceMembers\",\"href\":\"CSharp8.DefaultInterfaceMembers.html\",\"topicHref\":\"CSharp8.DefaultInterfaceMembers.html\",\"topicUid\":\"CSharp8.DefaultInterfaceMembers\",\"type\":\"Interface\"},{\"name\":\"DefaultInterfaceMembers.IA\",\"href\":\"CSharp8.DefaultInterfaceMembers.IA.html\",\"topicHref\":\"CSharp8.DefaultInterfaceMembers.IA.html\",\"topicUid\":\"CSharp8.DefaultInterfaceMembers.IA\",\"type\":\"Interface\"},{\"name\":\"DefaultInterfaceMembers.Nested\",\"href\":\"CSharp8.DefaultInterfaceMembers.Nested.html\",\"topicHref\":\"CSharp8.DefaultInterfaceMembers.Nested.html\",\"topicUid\":\"CSharp8.DefaultInterfaceMembers.Nested\",\"type\":\"Class\"},{\"name\":\"DisposableRefStructs\",\"href\":\"CSharp8.DisposableRefStructs.html\",\"topicHref\":\"CSharp8.DisposableRefStructs.html\",\"topicUid\":\"CSharp8.DisposableRefStructs\",\"type\":\"Struct\"},{\"name\":\"Issue4007\",\"href\":\"CSharp8.Issue4007.html\",\"topicHref\":\"CSharp8.Issue4007.html\",\"topicUid\":\"CSharp8.Issue4007\",\"type\":\"Class\"},{\"name\":\"Misc\",\"href\":\"CSharp8.Misc.html\",\"topicHref\":\"CSharp8.Misc.html\",\"topicUid\":\"CSharp8.Misc\",\"type\":\"Class\"},{\"name\":\"NullableReferenceTypes\",\"href\":\"CSharp8.NullableReferenceTypes.html\",\"topicHref\":\"CSharp8.NullableReferenceTypes.html\",\"topicUid\":\"CSharp8.NullableReferenceTypes\",\"type\":\"Class\"},{\"name\":\"ReadOnlyMembers\",\"href\":\"CSharp8.ReadOnlyMembers.html\",\"topicHref\":\"CSharp8.ReadOnlyMembers.html\",\"topicUid\":\"CSharp8.ReadOnlyMembers\",\"type\":\"Struct\"}]},{\"name\":\"CSharp9\",\"href\":\"CSharp9.html\",\"topicHref\":\"CSharp9.html\",\"topicUid\":\"CSharp9\",\"type\":\"Namespace\",\"items\":[{\"name\":\"FunctionPointers\",\"href\":\"CSharp9.FunctionPointers.html\",\"topicHref\":\"CSharp9.FunctionPointers.html\",\"topicUid\":\"CSharp9.FunctionPointers\",\"type\":\"Class\"},{\"name\":\"InitOnlySetters\",\"href\":\"CSharp9.InitOnlySetters.html\",\"topicHref\":\"CSharp9.InitOnlySetters.html\",\"topicUid\":\"CSharp9.InitOnlySetters\",\"type\":\"Class\"},{\"name\":\"NativeSizedIntegers\",\"href\":\"CSharp9.NativeSizedIntegers.html\",\"topicHref\":\"CSharp9.NativeSizedIntegers.html\",\"topicUid\":\"CSharp9.NativeSizedIntegers\",\"type\":\"Class\"},{\"name\":\"RecordTypes\",\"href\":\"CSharp9.RecordTypes.html\",\"topicHref\":\"CSharp9.RecordTypes.html\",\"topicUid\":\"CSharp9.RecordTypes\",\"type\":\"Class\"},{\"name\":\"RecordTypes.Person\",\"href\":\"CSharp9.RecordTypes.Person.html\",\"topicHref\":\"CSharp9.RecordTypes.Person.html\",\"topicUid\":\"CSharp9.RecordTypes.Person\",\"type\":\"Class\"},{\"name\":\"RecordTypes.Teacher\",\"href\":\"CSharp9.RecordTypes.Teacher.html\",\"topicHref\":\"CSharp9.RecordTypes.Teacher.html\",\"topicUid\":\"CSharp9.RecordTypes.Teacher\",\"type\":\"Class\"}]}],\"memberLayout\":\"SamePage\"}" } \ No newline at end of file diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/toc.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/toc.verified.json index af867ac689c..b730db372be 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/toc.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/toc.verified.json @@ -1,2 +1,2 @@  -{"items":[{"name":"CSharp10","href":"CSharp10.html","topicHref":"CSharp10.html","topicUid":"CSharp10","type":"Namespace","items":[{"name":"ConstantInterpolatedStrings","href":"CSharp10.ConstantInterpolatedStrings.html","topicHref":"CSharp10.ConstantInterpolatedStrings.html","topicUid":"CSharp10.ConstantInterpolatedStrings","type":"Class"},{"name":"Issue7737","href":"CSharp10.Issue7737.html","topicHref":"CSharp10.Issue7737.html","topicUid":"CSharp10.Issue7737","type":"Class"},{"name":"ParameterlessStructConstructors","href":"CSharp10.ParameterlessStructConstructors.html","topicHref":"CSharp10.ParameterlessStructConstructors.html","topicUid":"CSharp10.ParameterlessStructConstructors","type":"Struct"},{"name":"ReadOnlyRecordStruct","href":"CSharp10.ReadOnlyRecordStruct.html","topicHref":"CSharp10.ReadOnlyRecordStruct.html","topicUid":"CSharp10.ReadOnlyRecordStruct","type":"Struct"},{"name":"RecordClass","href":"CSharp10.RecordClass.html","topicHref":"CSharp10.RecordClass.html","topicUid":"CSharp10.RecordClass","type":"Class"},{"name":"RecordStruct","href":"CSharp10.RecordStruct.html","topicHref":"CSharp10.RecordStruct.html","topicUid":"CSharp10.RecordStruct","type":"Struct"}]},{"name":"CSharp11","href":"CSharp11.html","topicHref":"CSharp11.html","topicUid":"CSharp11","type":"Namespace","items":[{"name":"CheckedUserDefinedOperators","href":"CSharp11.CheckedUserDefinedOperators-1.html","topicHref":"CSharp11.CheckedUserDefinedOperators-1.html","topicUid":"CSharp11.CheckedUserDefinedOperators`1","type":"Interface"},{"name":"RequiredModifier","href":"CSharp11.RequiredModifier.html","topicHref":"CSharp11.RequiredModifier.html","topicUid":"CSharp11.RequiredModifier","type":"Class"},{"name":"ScopedModifier","href":"CSharp11.ScopedModifier.html","topicHref":"CSharp11.ScopedModifier.html","topicUid":"CSharp11.ScopedModifier","type":"Class"},{"name":"StaticAbstractMembersInInterfaces","href":"CSharp11.StaticAbstractMembersInInterfaces.html","topicHref":"CSharp11.StaticAbstractMembersInInterfaces.html","topicUid":"CSharp11.StaticAbstractMembersInInterfaces","type":"Class"},{"name":"StaticAbstractMembersInInterfaces.IGetNext","href":"CSharp11.StaticAbstractMembersInInterfaces.IGetNext-1.html","topicHref":"CSharp11.StaticAbstractMembersInInterfaces.IGetNext-1.html","topicUid":"CSharp11.StaticAbstractMembersInInterfaces.IGetNext`1","type":"Interface"},{"name":"StaticAbstractMembersInInterfaces.RepeatSequence","href":"CSharp11.StaticAbstractMembersInInterfaces.RepeatSequence.html","topicHref":"CSharp11.StaticAbstractMembersInInterfaces.RepeatSequence.html","topicUid":"CSharp11.StaticAbstractMembersInInterfaces.RepeatSequence","type":"Struct"}]},{"name":"CSharp12","href":"CSharp12.html","topicHref":"CSharp12.html","topicUid":"CSharp12","type":"Namespace","items":[{"name":"CollectionExpressions","href":"CSharp12.CollectionExpressions.html","topicHref":"CSharp12.CollectionExpressions.html","topicUid":"CSharp12.CollectionExpressions","type":"Class"},{"name":"DefaultLambdaParameters","href":"CSharp12.DefaultLambdaParameters.html","topicHref":"CSharp12.DefaultLambdaParameters.html","topicUid":"CSharp12.DefaultLambdaParameters","type":"Class"},{"name":"InlineArrays","href":"CSharp12.InlineArrays.html","topicHref":"CSharp12.InlineArrays.html","topicUid":"CSharp12.InlineArrays","type":"Struct"},{"name":"PrimaryConstructors","href":"CSharp12.PrimaryConstructors.html","topicHref":"CSharp12.PrimaryConstructors.html","topicUid":"CSharp12.PrimaryConstructors","type":"Class"},{"name":"PrimaryConstructors.BankAccount","href":"CSharp12.PrimaryConstructors.BankAccount.html","topicHref":"CSharp12.PrimaryConstructors.BankAccount.html","topicUid":"CSharp12.PrimaryConstructors.BankAccount","type":"Class"},{"name":"PrimaryConstructors.CheckAccount","href":"CSharp12.PrimaryConstructors.CheckAccount.html","topicHref":"CSharp12.PrimaryConstructors.CheckAccount.html","topicUid":"CSharp12.PrimaryConstructors.CheckAccount","type":"Class"},{"name":"PrimaryConstructors.Distance","href":"CSharp12.PrimaryConstructors.Distance.html","topicHref":"CSharp12.PrimaryConstructors.Distance.html","topicUid":"CSharp12.PrimaryConstructors.Distance","type":"Struct"},{"name":"RefReadOnlyParameters","href":"CSharp12.RefReadOnlyParameters.html","topicHref":"CSharp12.RefReadOnlyParameters.html","topicUid":"CSharp12.RefReadOnlyParameters","type":"Class"}]},{"name":"CSharp8","href":"CSharp8.html","topicHref":"CSharp8.html","topicUid":"CSharp8","type":"Namespace","items":[{"name":"DefaultInterfaceMembers","href":"CSharp8.DefaultInterfaceMembers.html","topicHref":"CSharp8.DefaultInterfaceMembers.html","topicUid":"CSharp8.DefaultInterfaceMembers","type":"Interface"},{"name":"DefaultInterfaceMembers.IA","href":"CSharp8.DefaultInterfaceMembers.IA.html","topicHref":"CSharp8.DefaultInterfaceMembers.IA.html","topicUid":"CSharp8.DefaultInterfaceMembers.IA","type":"Interface"},{"name":"DefaultInterfaceMembers.Nested","href":"CSharp8.DefaultInterfaceMembers.Nested.html","topicHref":"CSharp8.DefaultInterfaceMembers.Nested.html","topicUid":"CSharp8.DefaultInterfaceMembers.Nested","type":"Class"},{"name":"DisposableRefStructs","href":"CSharp8.DisposableRefStructs.html","topicHref":"CSharp8.DisposableRefStructs.html","topicUid":"CSharp8.DisposableRefStructs","type":"Struct"},{"name":"Issue4007","href":"CSharp8.Issue4007.html","topicHref":"CSharp8.Issue4007.html","topicUid":"CSharp8.Issue4007","type":"Class"},{"name":"Misc","href":"CSharp8.Misc.html","topicHref":"CSharp8.Misc.html","topicUid":"CSharp8.Misc","type":"Class"},{"name":"NullableReferenceTypes","href":"CSharp8.NullableReferenceTypes.html","topicHref":"CSharp8.NullableReferenceTypes.html","topicUid":"CSharp8.NullableReferenceTypes","type":"Class"},{"name":"ReadOnlyMembers","href":"CSharp8.ReadOnlyMembers.html","topicHref":"CSharp8.ReadOnlyMembers.html","topicUid":"CSharp8.ReadOnlyMembers","type":"Struct"}]},{"name":"CSharp9","href":"CSharp9.html","topicHref":"CSharp9.html","topicUid":"CSharp9","type":"Namespace","items":[{"name":"FunctionPointers","href":"CSharp9.FunctionPointers.html","topicHref":"CSharp9.FunctionPointers.html","topicUid":"CSharp9.FunctionPointers","type":"Class"},{"name":"InitOnlySetters","href":"CSharp9.InitOnlySetters.html","topicHref":"CSharp9.InitOnlySetters.html","topicUid":"CSharp9.InitOnlySetters","type":"Class"},{"name":"NativeSizedIntegers","href":"CSharp9.NativeSizedIntegers.html","topicHref":"CSharp9.NativeSizedIntegers.html","topicUid":"CSharp9.NativeSizedIntegers","type":"Class"},{"name":"RecordTypes","href":"CSharp9.RecordTypes.html","topicHref":"CSharp9.RecordTypes.html","topicUid":"CSharp9.RecordTypes","type":"Class"},{"name":"RecordTypes.Person","href":"CSharp9.RecordTypes.Person.html","topicHref":"CSharp9.RecordTypes.Person.html","topicUid":"CSharp9.RecordTypes.Person","type":"Class"},{"name":"RecordTypes.Teacher","href":"CSharp9.RecordTypes.Teacher.html","topicHref":"CSharp9.RecordTypes.Teacher.html","topicUid":"CSharp9.RecordTypes.Teacher","type":"Class"}]}],"memberLayout":"SamePage"} +{"items":[{"name":"CSharp10","href":"CSharp10.html","topicHref":"CSharp10.html","topicUid":"CSharp10","type":"Namespace","items":[{"name":"ConstantInterpolatedStrings","href":"CSharp10.ConstantInterpolatedStrings.html","topicHref":"CSharp10.ConstantInterpolatedStrings.html","topicUid":"CSharp10.ConstantInterpolatedStrings","type":"Class"},{"name":"Issue7737","href":"CSharp10.Issue7737.html","topicHref":"CSharp10.Issue7737.html","topicUid":"CSharp10.Issue7737","type":"Class"},{"name":"ParameterlessStructConstructors","href":"CSharp10.ParameterlessStructConstructors.html","topicHref":"CSharp10.ParameterlessStructConstructors.html","topicUid":"CSharp10.ParameterlessStructConstructors","type":"Struct"},{"name":"ReadOnlyRecordStruct","href":"CSharp10.ReadOnlyRecordStruct.html","topicHref":"CSharp10.ReadOnlyRecordStruct.html","topicUid":"CSharp10.ReadOnlyRecordStruct","type":"Struct"},{"name":"RecordClass","href":"CSharp10.RecordClass.html","topicHref":"CSharp10.RecordClass.html","topicUid":"CSharp10.RecordClass","type":"Class"},{"name":"RecordStruct","href":"CSharp10.RecordStruct.html","topicHref":"CSharp10.RecordStruct.html","topicUid":"CSharp10.RecordStruct","type":"Struct"}]},{"name":"CSharp11","href":"CSharp11.html","topicHref":"CSharp11.html","topicUid":"CSharp11","type":"Namespace","items":[{"name":"CheckedUserDefinedOperators","href":"CSharp11.CheckedUserDefinedOperators-1.html","topicHref":"CSharp11.CheckedUserDefinedOperators-1.html","topicUid":"CSharp11.CheckedUserDefinedOperators`1","type":"Interface"},{"name":"RequiredModifier","href":"CSharp11.RequiredModifier.html","topicHref":"CSharp11.RequiredModifier.html","topicUid":"CSharp11.RequiredModifier","type":"Class"},{"name":"ScopedModifier","href":"CSharp11.ScopedModifier.html","topicHref":"CSharp11.ScopedModifier.html","topicUid":"CSharp11.ScopedModifier","type":"Class"},{"name":"StaticAbstractMembersInInterfaces","href":"CSharp11.StaticAbstractMembersInInterfaces.html","topicHref":"CSharp11.StaticAbstractMembersInInterfaces.html","topicUid":"CSharp11.StaticAbstractMembersInInterfaces","type":"Class"},{"name":"StaticAbstractMembersInInterfaces.IGetNext","href":"CSharp11.StaticAbstractMembersInInterfaces.IGetNext-1.html","topicHref":"CSharp11.StaticAbstractMembersInInterfaces.IGetNext-1.html","topicUid":"CSharp11.StaticAbstractMembersInInterfaces.IGetNext`1","type":"Interface"},{"name":"StaticAbstractMembersInInterfaces.RepeatSequence","href":"CSharp11.StaticAbstractMembersInInterfaces.RepeatSequence.html","topicHref":"CSharp11.StaticAbstractMembersInInterfaces.RepeatSequence.html","topicUid":"CSharp11.StaticAbstractMembersInInterfaces.RepeatSequence","type":"Struct"}]},{"name":"CSharp12","href":"CSharp12.html","topicHref":"CSharp12.html","topicUid":"CSharp12","type":"Namespace","items":[{"name":"CollectionExpressions","href":"CSharp12.CollectionExpressions.html","topicHref":"CSharp12.CollectionExpressions.html","topicUid":"CSharp12.CollectionExpressions","type":"Class"},{"name":"DefaultLambdaParameters","href":"CSharp12.DefaultLambdaParameters.html","topicHref":"CSharp12.DefaultLambdaParameters.html","topicUid":"CSharp12.DefaultLambdaParameters","type":"Class"},{"name":"InlineArrays","href":"CSharp12.InlineArrays.html","topicHref":"CSharp12.InlineArrays.html","topicUid":"CSharp12.InlineArrays","type":"Struct"},{"name":"PrimaryConstructors","href":"CSharp12.PrimaryConstructors.html","topicHref":"CSharp12.PrimaryConstructors.html","topicUid":"CSharp12.PrimaryConstructors","type":"Class"},{"name":"PrimaryConstructors.BankAccount","href":"CSharp12.PrimaryConstructors.BankAccount.html","topicHref":"CSharp12.PrimaryConstructors.BankAccount.html","topicUid":"CSharp12.PrimaryConstructors.BankAccount","type":"Class"},{"name":"PrimaryConstructors.CheckAccount","href":"CSharp12.PrimaryConstructors.CheckAccount.html","topicHref":"CSharp12.PrimaryConstructors.CheckAccount.html","topicUid":"CSharp12.PrimaryConstructors.CheckAccount","type":"Class"},{"name":"PrimaryConstructors.Distance","href":"CSharp12.PrimaryConstructors.Distance.html","topicHref":"CSharp12.PrimaryConstructors.Distance.html","topicUid":"CSharp12.PrimaryConstructors.Distance","type":"Struct"},{"name":"RefReadOnlyParameters","href":"CSharp12.RefReadOnlyParameters.html","topicHref":"CSharp12.RefReadOnlyParameters.html","topicUid":"CSharp12.RefReadOnlyParameters","type":"Class"}]},{"name":"CSharp13","href":"CSharp13.html","topicHref":"CSharp13.html","topicUid":"CSharp13","type":"Namespace","items":[{"name":"AllowRefStruct","href":"CSharp13.AllowRefStruct-1.html","topicHref":"CSharp13.AllowRefStruct-1.html","topicUid":"CSharp13.AllowRefStruct`1","type":"Class"}]},{"name":"CSharp14","href":"CSharp14.html","topicHref":"CSharp14.html","topicUid":"CSharp14","type":"Namespace","items":[{"name":"FieldBackedPropertySample","href":"CSharp14.FieldBackedPropertySample.html","topicHref":"CSharp14.FieldBackedPropertySample.html","topicUid":"CSharp14.FieldBackedPropertySample","type":"Class"},{"name":"SampleClass","href":"CSharp14.SampleClass.html","topicHref":"CSharp14.SampleClass.html","topicUid":"CSharp14.SampleClass","type":"Class"},{"name":"SampleClassExtensions","href":"CSharp14.SampleClassExtensions.html","topicHref":"CSharp14.SampleClassExtensions.html","topicUid":"CSharp14.SampleClassExtensions","type":"Class"},{"name":"UserDefinedCompoundAssignmentOperatorsSample","href":"CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html","topicHref":"CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html","topicUid":"CSharp14.UserDefinedCompoundAssignmentOperatorsSample","type":"Class"}]},{"name":"CSharp8","href":"CSharp8.html","topicHref":"CSharp8.html","topicUid":"CSharp8","type":"Namespace","items":[{"name":"DefaultInterfaceMembers","href":"CSharp8.DefaultInterfaceMembers.html","topicHref":"CSharp8.DefaultInterfaceMembers.html","topicUid":"CSharp8.DefaultInterfaceMembers","type":"Interface"},{"name":"DefaultInterfaceMembers.IA","href":"CSharp8.DefaultInterfaceMembers.IA.html","topicHref":"CSharp8.DefaultInterfaceMembers.IA.html","topicUid":"CSharp8.DefaultInterfaceMembers.IA","type":"Interface"},{"name":"DefaultInterfaceMembers.Nested","href":"CSharp8.DefaultInterfaceMembers.Nested.html","topicHref":"CSharp8.DefaultInterfaceMembers.Nested.html","topicUid":"CSharp8.DefaultInterfaceMembers.Nested","type":"Class"},{"name":"DisposableRefStructs","href":"CSharp8.DisposableRefStructs.html","topicHref":"CSharp8.DisposableRefStructs.html","topicUid":"CSharp8.DisposableRefStructs","type":"Struct"},{"name":"Issue4007","href":"CSharp8.Issue4007.html","topicHref":"CSharp8.Issue4007.html","topicUid":"CSharp8.Issue4007","type":"Class"},{"name":"Misc","href":"CSharp8.Misc.html","topicHref":"CSharp8.Misc.html","topicUid":"CSharp8.Misc","type":"Class"},{"name":"NullableReferenceTypes","href":"CSharp8.NullableReferenceTypes.html","topicHref":"CSharp8.NullableReferenceTypes.html","topicUid":"CSharp8.NullableReferenceTypes","type":"Class"},{"name":"ReadOnlyMembers","href":"CSharp8.ReadOnlyMembers.html","topicHref":"CSharp8.ReadOnlyMembers.html","topicUid":"CSharp8.ReadOnlyMembers","type":"Struct"}]},{"name":"CSharp9","href":"CSharp9.html","topicHref":"CSharp9.html","topicUid":"CSharp9","type":"Namespace","items":[{"name":"FunctionPointers","href":"CSharp9.FunctionPointers.html","topicHref":"CSharp9.FunctionPointers.html","topicUid":"CSharp9.FunctionPointers","type":"Class"},{"name":"InitOnlySetters","href":"CSharp9.InitOnlySetters.html","topicHref":"CSharp9.InitOnlySetters.html","topicUid":"CSharp9.InitOnlySetters","type":"Class"},{"name":"NativeSizedIntegers","href":"CSharp9.NativeSizedIntegers.html","topicHref":"CSharp9.NativeSizedIntegers.html","topicUid":"CSharp9.NativeSizedIntegers","type":"Class"},{"name":"RecordTypes","href":"CSharp9.RecordTypes.html","topicHref":"CSharp9.RecordTypes.html","topicUid":"CSharp9.RecordTypes","type":"Class"},{"name":"RecordTypes.Person","href":"CSharp9.RecordTypes.Person.html","topicHref":"CSharp9.RecordTypes.Person.html","topicUid":"CSharp9.RecordTypes.Person","type":"Class"},{"name":"RecordTypes.Teacher","href":"CSharp9.RecordTypes.Teacher.html","topicHref":"CSharp9.RecordTypes.Teacher.html","topicUid":"CSharp9.RecordTypes.Teacher","type":"Class"}]}],"memberLayout":"SamePage"} diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/xrefmap.verified.yml b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/xrefmap.verified.yml index 263135a76c7..989b66df950 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/xrefmap.verified.yml +++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/xrefmap.verified.yml @@ -1017,6 +1017,349 @@ references: isSpec: "True" fullName: CSharp12.RefReadOnlyParameters.Foo nameWithType: RefReadOnlyParameters.Foo +- uid: CSharp13 + name: CSharp13 + href: api/CSharp13.html + commentId: N:CSharp13 + fullName: CSharp13 + nameWithType: CSharp13 +- uid: CSharp13.AllowRefStruct`1 + name: AllowRefStruct + href: api/CSharp13.AllowRefStruct-1.html + commentId: T:CSharp13.AllowRefStruct`1 + name.vb: AllowRefStruct(Of T) + fullName: CSharp13.AllowRefStruct + fullName.vb: CSharp13.AllowRefStruct(Of T) + nameWithType: AllowRefStruct + nameWithType.vb: AllowRefStruct(Of T) +- uid: CSharp13.AllowRefStruct`1.Method(`0) + name: Method(scoped T) + href: api/CSharp13.AllowRefStruct-1.html#CSharp13_AllowRefStruct_1_Method__0_ + commentId: M:CSharp13.AllowRefStruct`1.Method(`0) + name.vb: Method(T) + fullName: CSharp13.AllowRefStruct.Method(scoped T) + fullName.vb: CSharp13.AllowRefStruct(Of T).Method(T) + nameWithType: AllowRefStruct.Method(scoped T) + nameWithType.vb: AllowRefStruct(Of T).Method(T) +- uid: CSharp13.AllowRefStruct`1.Method* + name: Method + href: api/CSharp13.AllowRefStruct-1.html#CSharp13_AllowRefStruct_1_Method_ + commentId: Overload:CSharp13.AllowRefStruct`1.Method + isSpec: "True" + fullName: CSharp13.AllowRefStruct.Method + fullName.vb: CSharp13.AllowRefStruct(Of T).Method + nameWithType: AllowRefStruct.Method + nameWithType.vb: AllowRefStruct(Of T).Method +- uid: CSharp14 + name: CSharp14 + href: api/CSharp14.html + commentId: N:CSharp14 + fullName: CSharp14 + nameWithType: CSharp14 +- uid: CSharp14.FieldBackedPropertySample + name: FieldBackedPropertySample + href: api/CSharp14.FieldBackedPropertySample.html + commentId: T:CSharp14.FieldBackedPropertySample + fullName: CSharp14.FieldBackedPropertySample + nameWithType: FieldBackedPropertySample +- uid: CSharp14.FieldBackedPropertySample.FieldBackedProperty + name: FieldBackedProperty + href: api/CSharp14.FieldBackedPropertySample.html#CSharp14_FieldBackedPropertySample_FieldBackedProperty + commentId: P:CSharp14.FieldBackedPropertySample.FieldBackedProperty + fullName: CSharp14.FieldBackedPropertySample.FieldBackedProperty + nameWithType: FieldBackedPropertySample.FieldBackedProperty +- uid: CSharp14.FieldBackedPropertySample.FieldBackedProperty* + name: FieldBackedProperty + href: api/CSharp14.FieldBackedPropertySample.html#CSharp14_FieldBackedPropertySample_FieldBackedProperty_ + commentId: Overload:CSharp14.FieldBackedPropertySample.FieldBackedProperty + isSpec: "True" + fullName: CSharp14.FieldBackedPropertySample.FieldBackedProperty + nameWithType: FieldBackedPropertySample.FieldBackedProperty +- uid: CSharp14.SampleClass + name: SampleClass + href: api/CSharp14.SampleClass.html + commentId: T:CSharp14.SampleClass + fullName: CSharp14.SampleClass + nameWithType: SampleClass +- uid: CSharp14.SampleClass.Value + name: Value + href: api/CSharp14.SampleClass.html#CSharp14_SampleClass_Value + commentId: P:CSharp14.SampleClass.Value + fullName: CSharp14.SampleClass.Value + nameWithType: SampleClass.Value +- uid: CSharp14.SampleClass.Value* + name: Value + href: api/CSharp14.SampleClass.html#CSharp14_SampleClass_Value_ + commentId: Overload:CSharp14.SampleClass.Value + isSpec: "True" + fullName: CSharp14.SampleClass.Value + nameWithType: SampleClass.Value +- uid: CSharp14.SampleClassExtensions + name: SampleClassExtensions + href: api/CSharp14.SampleClassExtensions.html + commentId: T:CSharp14.SampleClassExtensions + fullName: CSharp14.SampleClassExtensions + nameWithType: SampleClassExtensions +- uid: CSharp14.UserDefinedCompoundAssignmentOperatorsSample + name: UserDefinedCompoundAssignmentOperatorsSample + href: api/CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html + commentId: T:CSharp14.UserDefinedCompoundAssignmentOperatorsSample + fullName: CSharp14.UserDefinedCompoundAssignmentOperatorsSample + nameWithType: UserDefinedCompoundAssignmentOperatorsSample +- uid: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.ToString + name: ToString() + href: api/CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html#CSharp14_UserDefinedCompoundAssignmentOperatorsSample_ToString + commentId: M:CSharp14.UserDefinedCompoundAssignmentOperatorsSample.ToString + fullName: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.ToString() + nameWithType: UserDefinedCompoundAssignmentOperatorsSample.ToString() +- uid: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.ToString* + name: ToString + href: api/CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html#CSharp14_UserDefinedCompoundAssignmentOperatorsSample_ToString_ + commentId: Overload:CSharp14.UserDefinedCompoundAssignmentOperatorsSample.ToString + isSpec: "True" + fullName: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.ToString + nameWithType: UserDefinedCompoundAssignmentOperatorsSample.ToString +- uid: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.Value + name: Value + href: api/CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html#CSharp14_UserDefinedCompoundAssignmentOperatorsSample_Value + commentId: P:CSharp14.UserDefinedCompoundAssignmentOperatorsSample.Value + fullName: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.Value + nameWithType: UserDefinedCompoundAssignmentOperatorsSample.Value +- uid: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.Value* + name: Value + href: api/CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html#CSharp14_UserDefinedCompoundAssignmentOperatorsSample_Value_ + commentId: Overload:CSharp14.UserDefinedCompoundAssignmentOperatorsSample.Value + isSpec: "True" + fullName: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.Value + nameWithType: UserDefinedCompoundAssignmentOperatorsSample.Value +- uid: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_AdditionAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample) + name: operator +=(UserDefinedCompoundAssignmentOperatorsSample) + href: api/CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html#CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_AdditionAssignment_CSharp14_UserDefinedCompoundAssignmentOperatorsSample_ + commentId: M:CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_AdditionAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample) + name.vb: op_AdditionAssignment(UserDefinedCompoundAssignmentOperatorsSample) + fullName: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator +=(CSharp14.UserDefinedCompoundAssignmentOperatorsSample) + fullName.vb: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_AdditionAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample) + nameWithType: UserDefinedCompoundAssignmentOperatorsSample.operator +=(UserDefinedCompoundAssignmentOperatorsSample) + nameWithType.vb: UserDefinedCompoundAssignmentOperatorsSample.op_AdditionAssignment(UserDefinedCompoundAssignmentOperatorsSample) +- uid: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_AdditionAssignment* + name: operator += + href: api/CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html#CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_AdditionAssignment_ + commentId: Overload:CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_AdditionAssignment + isSpec: "True" + name.vb: op_AdditionAssignment + fullName: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator += + fullName.vb: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_AdditionAssignment + nameWithType: UserDefinedCompoundAssignmentOperatorsSample.operator += + nameWithType.vb: UserDefinedCompoundAssignmentOperatorsSample.op_AdditionAssignment +- uid: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_BitwiseAndAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample) + name: operator &=(UserDefinedCompoundAssignmentOperatorsSample) + href: api/CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html#CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_BitwiseAndAssignment_CSharp14_UserDefinedCompoundAssignmentOperatorsSample_ + commentId: M:CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_BitwiseAndAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample) + name.vb: op_BitwiseAndAssignment(UserDefinedCompoundAssignmentOperatorsSample) + fullName: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator &=(CSharp14.UserDefinedCompoundAssignmentOperatorsSample) + fullName.vb: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_BitwiseAndAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample) + nameWithType: UserDefinedCompoundAssignmentOperatorsSample.operator &=(UserDefinedCompoundAssignmentOperatorsSample) + nameWithType.vb: UserDefinedCompoundAssignmentOperatorsSample.op_BitwiseAndAssignment(UserDefinedCompoundAssignmentOperatorsSample) +- uid: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_BitwiseAndAssignment* + name: operator &= + href: api/CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html#CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_BitwiseAndAssignment_ + commentId: Overload:CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_BitwiseAndAssignment + isSpec: "True" + name.vb: op_BitwiseAndAssignment + fullName: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator &= + fullName.vb: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_BitwiseAndAssignment + nameWithType: UserDefinedCompoundAssignmentOperatorsSample.operator &= + nameWithType.vb: UserDefinedCompoundAssignmentOperatorsSample.op_BitwiseAndAssignment +- uid: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_BitwiseOrAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample) + name: operator |=(UserDefinedCompoundAssignmentOperatorsSample) + href: api/CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html#CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_BitwiseOrAssignment_CSharp14_UserDefinedCompoundAssignmentOperatorsSample_ + commentId: M:CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_BitwiseOrAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample) + name.vb: op_BitwiseOrAssignment(UserDefinedCompoundAssignmentOperatorsSample) + fullName: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator |=(CSharp14.UserDefinedCompoundAssignmentOperatorsSample) + fullName.vb: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_BitwiseOrAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample) + nameWithType: UserDefinedCompoundAssignmentOperatorsSample.operator |=(UserDefinedCompoundAssignmentOperatorsSample) + nameWithType.vb: UserDefinedCompoundAssignmentOperatorsSample.op_BitwiseOrAssignment(UserDefinedCompoundAssignmentOperatorsSample) +- uid: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_BitwiseOrAssignment* + name: operator |= + href: api/CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html#CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_BitwiseOrAssignment_ + commentId: Overload:CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_BitwiseOrAssignment + isSpec: "True" + name.vb: op_BitwiseOrAssignment + fullName: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator |= + fullName.vb: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_BitwiseOrAssignment + nameWithType: UserDefinedCompoundAssignmentOperatorsSample.operator |= + nameWithType.vb: UserDefinedCompoundAssignmentOperatorsSample.op_BitwiseOrAssignment +- uid: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_DecrementAssignment + name: operator --() + href: api/CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html#CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_DecrementAssignment + commentId: M:CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_DecrementAssignment + name.vb: op_DecrementAssignment() + fullName: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator --() + fullName.vb: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_DecrementAssignment() + nameWithType: UserDefinedCompoundAssignmentOperatorsSample.operator --() + nameWithType.vb: UserDefinedCompoundAssignmentOperatorsSample.op_DecrementAssignment() +- uid: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_DecrementAssignment* + name: operator -- + href: api/CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html#CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_DecrementAssignment_ + commentId: Overload:CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_DecrementAssignment + isSpec: "True" + name.vb: op_DecrementAssignment + fullName: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator -- + fullName.vb: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_DecrementAssignment + nameWithType: UserDefinedCompoundAssignmentOperatorsSample.operator -- + nameWithType.vb: UserDefinedCompoundAssignmentOperatorsSample.op_DecrementAssignment +- uid: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_DivisionAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample) + name: operator /=(UserDefinedCompoundAssignmentOperatorsSample) + href: api/CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html#CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_DivisionAssignment_CSharp14_UserDefinedCompoundAssignmentOperatorsSample_ + commentId: M:CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_DivisionAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample) + name.vb: op_DivisionAssignment(UserDefinedCompoundAssignmentOperatorsSample) + fullName: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator /=(CSharp14.UserDefinedCompoundAssignmentOperatorsSample) + fullName.vb: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_DivisionAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample) + nameWithType: UserDefinedCompoundAssignmentOperatorsSample.operator /=(UserDefinedCompoundAssignmentOperatorsSample) + nameWithType.vb: UserDefinedCompoundAssignmentOperatorsSample.op_DivisionAssignment(UserDefinedCompoundAssignmentOperatorsSample) +- uid: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_DivisionAssignment* + name: operator /= + href: api/CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html#CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_DivisionAssignment_ + commentId: Overload:CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_DivisionAssignment + isSpec: "True" + name.vb: op_DivisionAssignment + fullName: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator /= + fullName.vb: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_DivisionAssignment + nameWithType: UserDefinedCompoundAssignmentOperatorsSample.operator /= + nameWithType.vb: UserDefinedCompoundAssignmentOperatorsSample.op_DivisionAssignment +- uid: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_ExclusiveOrAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample) + name: operator ^=(UserDefinedCompoundAssignmentOperatorsSample) + href: api/CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html#CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_ExclusiveOrAssignment_CSharp14_UserDefinedCompoundAssignmentOperatorsSample_ + commentId: M:CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_ExclusiveOrAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample) + name.vb: op_ExclusiveOrAssignment(UserDefinedCompoundAssignmentOperatorsSample) + fullName: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator ^=(CSharp14.UserDefinedCompoundAssignmentOperatorsSample) + fullName.vb: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_ExclusiveOrAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample) + nameWithType: UserDefinedCompoundAssignmentOperatorsSample.operator ^=(UserDefinedCompoundAssignmentOperatorsSample) + nameWithType.vb: UserDefinedCompoundAssignmentOperatorsSample.op_ExclusiveOrAssignment(UserDefinedCompoundAssignmentOperatorsSample) +- uid: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_ExclusiveOrAssignment* + name: operator ^= + href: api/CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html#CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_ExclusiveOrAssignment_ + commentId: Overload:CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_ExclusiveOrAssignment + isSpec: "True" + name.vb: op_ExclusiveOrAssignment + fullName: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator ^= + fullName.vb: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_ExclusiveOrAssignment + nameWithType: UserDefinedCompoundAssignmentOperatorsSample.operator ^= + nameWithType.vb: UserDefinedCompoundAssignmentOperatorsSample.op_ExclusiveOrAssignment +- uid: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_IncrementAssignment + name: operator ++() + href: api/CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html#CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_IncrementAssignment + commentId: M:CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_IncrementAssignment + name.vb: op_IncrementAssignment() + fullName: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator ++() + fullName.vb: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_IncrementAssignment() + nameWithType: UserDefinedCompoundAssignmentOperatorsSample.operator ++() + nameWithType.vb: UserDefinedCompoundAssignmentOperatorsSample.op_IncrementAssignment() +- uid: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_IncrementAssignment* + name: operator ++ + href: api/CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html#CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_IncrementAssignment_ + commentId: Overload:CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_IncrementAssignment + isSpec: "True" + name.vb: op_IncrementAssignment + fullName: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator ++ + fullName.vb: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_IncrementAssignment + nameWithType: UserDefinedCompoundAssignmentOperatorsSample.operator ++ + nameWithType.vb: UserDefinedCompoundAssignmentOperatorsSample.op_IncrementAssignment +- uid: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_LeftShiftAssignment(System.Int32) + name: operator <<=(int) + href: api/CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html#CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_LeftShiftAssignment_System_Int32_ + commentId: M:CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_LeftShiftAssignment(System.Int32) + name.vb: op_LeftShiftAssignment(Integer) + fullName: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator <<=(int) + fullName.vb: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_LeftShiftAssignment(Integer) + nameWithType: UserDefinedCompoundAssignmentOperatorsSample.operator <<=(int) + nameWithType.vb: UserDefinedCompoundAssignmentOperatorsSample.op_LeftShiftAssignment(Integer) +- uid: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_LeftShiftAssignment* + name: operator <<= + href: api/CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html#CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_LeftShiftAssignment_ + commentId: Overload:CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_LeftShiftAssignment + isSpec: "True" + name.vb: op_LeftShiftAssignment + fullName: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator <<= + fullName.vb: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_LeftShiftAssignment + nameWithType: UserDefinedCompoundAssignmentOperatorsSample.operator <<= + nameWithType.vb: UserDefinedCompoundAssignmentOperatorsSample.op_LeftShiftAssignment +- uid: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_ModulusAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample) + name: operator %=(UserDefinedCompoundAssignmentOperatorsSample) + href: api/CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html#CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_ModulusAssignment_CSharp14_UserDefinedCompoundAssignmentOperatorsSample_ + commentId: M:CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_ModulusAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample) + name.vb: op_ModulusAssignment(UserDefinedCompoundAssignmentOperatorsSample) + fullName: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator %=(CSharp14.UserDefinedCompoundAssignmentOperatorsSample) + fullName.vb: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_ModulusAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample) + nameWithType: UserDefinedCompoundAssignmentOperatorsSample.operator %=(UserDefinedCompoundAssignmentOperatorsSample) + nameWithType.vb: UserDefinedCompoundAssignmentOperatorsSample.op_ModulusAssignment(UserDefinedCompoundAssignmentOperatorsSample) +- uid: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_ModulusAssignment* + name: operator %= + href: api/CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html#CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_ModulusAssignment_ + commentId: Overload:CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_ModulusAssignment + isSpec: "True" + name.vb: op_ModulusAssignment + fullName: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator %= + fullName.vb: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_ModulusAssignment + nameWithType: UserDefinedCompoundAssignmentOperatorsSample.operator %= + nameWithType.vb: UserDefinedCompoundAssignmentOperatorsSample.op_ModulusAssignment +- uid: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_MultiplicationAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample) + name: operator *=(UserDefinedCompoundAssignmentOperatorsSample) + href: api/CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html#CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_MultiplicationAssignment_CSharp14_UserDefinedCompoundAssignmentOperatorsSample_ + commentId: M:CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_MultiplicationAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample) + name.vb: op_MultiplicationAssignment(UserDefinedCompoundAssignmentOperatorsSample) + fullName: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator *=(CSharp14.UserDefinedCompoundAssignmentOperatorsSample) + fullName.vb: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_MultiplicationAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample) + nameWithType: UserDefinedCompoundAssignmentOperatorsSample.operator *=(UserDefinedCompoundAssignmentOperatorsSample) + nameWithType.vb: UserDefinedCompoundAssignmentOperatorsSample.op_MultiplicationAssignment(UserDefinedCompoundAssignmentOperatorsSample) +- uid: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_MultiplicationAssignment* + name: operator *= + href: api/CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html#CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_MultiplicationAssignment_ + commentId: Overload:CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_MultiplicationAssignment + isSpec: "True" + name.vb: op_MultiplicationAssignment + fullName: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator *= + fullName.vb: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_MultiplicationAssignment + nameWithType: UserDefinedCompoundAssignmentOperatorsSample.operator *= + nameWithType.vb: UserDefinedCompoundAssignmentOperatorsSample.op_MultiplicationAssignment +- uid: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_RightShiftAssignment(System.Int32) + name: operator >>=(int) + href: api/CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html#CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_RightShiftAssignment_System_Int32_ + commentId: M:CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_RightShiftAssignment(System.Int32) + name.vb: op_RightShiftAssignment(Integer) + fullName: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator >>=(int) + fullName.vb: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_RightShiftAssignment(Integer) + nameWithType: UserDefinedCompoundAssignmentOperatorsSample.operator >>=(int) + nameWithType.vb: UserDefinedCompoundAssignmentOperatorsSample.op_RightShiftAssignment(Integer) +- uid: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_RightShiftAssignment* + name: operator >>= + href: api/CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html#CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_RightShiftAssignment_ + commentId: Overload:CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_RightShiftAssignment + isSpec: "True" + name.vb: op_RightShiftAssignment + fullName: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator >>= + fullName.vb: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_RightShiftAssignment + nameWithType: UserDefinedCompoundAssignmentOperatorsSample.operator >>= + nameWithType.vb: UserDefinedCompoundAssignmentOperatorsSample.op_RightShiftAssignment +- uid: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_SubtractionAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample) + name: operator -=(UserDefinedCompoundAssignmentOperatorsSample) + href: api/CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html#CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_SubtractionAssignment_CSharp14_UserDefinedCompoundAssignmentOperatorsSample_ + commentId: M:CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_SubtractionAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample) + name.vb: op_SubtractionAssignment(UserDefinedCompoundAssignmentOperatorsSample) + fullName: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator -=(CSharp14.UserDefinedCompoundAssignmentOperatorsSample) + fullName.vb: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_SubtractionAssignment(CSharp14.UserDefinedCompoundAssignmentOperatorsSample) + nameWithType: UserDefinedCompoundAssignmentOperatorsSample.operator -=(UserDefinedCompoundAssignmentOperatorsSample) + nameWithType.vb: UserDefinedCompoundAssignmentOperatorsSample.op_SubtractionAssignment(UserDefinedCompoundAssignmentOperatorsSample) +- uid: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_SubtractionAssignment* + name: operator -= + href: api/CSharp14.UserDefinedCompoundAssignmentOperatorsSample.html#CSharp14_UserDefinedCompoundAssignmentOperatorsSample_op_SubtractionAssignment_ + commentId: Overload:CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_SubtractionAssignment + isSpec: "True" + name.vb: op_SubtractionAssignment + fullName: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.operator -= + fullName.vb: CSharp14.UserDefinedCompoundAssignmentOperatorsSample.op_SubtractionAssignment + nameWithType: UserDefinedCompoundAssignmentOperatorsSample.operator -= + nameWithType.vb: UserDefinedCompoundAssignmentOperatorsSample.op_SubtractionAssignment - uid: CSharp8 name: CSharp8 href: api/CSharp8.html diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.SourceGenerator.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.SourceGenerator.html.view.verified.json index 6f889917e39..26276662795 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.SourceGenerator.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.SourceGenerator.html.view.verified.json @@ -173,7 +173,7 @@ "BuildFromProject" ], "namespace": "BuildFromProject", - "remarks": "

Pattern:

\n
abc|def

\n
Options:<br />\n<pre><code class="lang-csharp">RegexOptions.IgnoreCase</code></pre><br />\nExplanation:<br />\n<pre><code class="lang-csharp">○ Match with 2 alternative expressions, atomically.\n○ Match a sequence of expressions.\n    ○ Match a character in the set [Aa].\n    ○ Match a character in the set [Bb].\n    ○ Match a character in the set [Cc].\n○ Match a sequence of expressions.\n    ○ Match a character in the set [Dd].\n    ○ Match a character in the set [Ee].\n    ○ Match a character in the set [Ff].</code></pre>\n
\n", + "remarks": "

Pattern:

\n
abc|def
\n
\nOptions:
\n
RegexOptions.IgnoreCase
\n
\nExplanation:
\n
○ Match with 2 alternative expressions, atomically.\n    ○ Match a sequence of expressions.\n        ○ Match a character in the set [Aa].\n        ○ Match a character in the set [Bb].\n        ○ Match a character in the set [Cc].\n    ○ Match a sequence of expressions.\n        ○ Match a character in the set [Dd].\n        ○ Match a character in the set [Ee].\n        ○ Match a character in the set [Ff].
\n", "example": [], "overload": { "uid": "BuildFromProject.SourceGenerator.GeneratedRegex*", @@ -540,8 +540,8 @@ "type": "class", "source": { "id": "SourceGenerator", - "path": "{SolutionDirectory}samples/seed/dotnet/project/Project/obj/Release/net10.0/Microsoft.Extensions.Logging.Generators/Microsoft.Extensions.Logging.Generators.LoggerMessageGenerator/LoggerMessage.g.cs", - "startLine": 5, + "path": "{SolutionDirectory}samples/seed/dotnet/project/Project/obj/Release/net10.0/System.Text.RegularExpressions.Generator/System.Text.RegularExpressions.Generator.RegexGenerator/RegexGenerator.g.cs", + "startLine": 6, "endLine": 0 }, "assemblies": [ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/toc.pdf.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/toc.pdf.verified.json index eb30bcb1098..017e969ccfe 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/toc.pdf.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/toc.pdf.verified.json @@ -4633,7 +4633,7 @@ }, { "Number": 49, - "Text": "49 / 90\nNamespace: BuildFromProject\nAssembly: BuildFromProject.dll\nInheritance\nobject\uF1C5 SourceGenerator\nInherited Members\nobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,\nobject.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,\nobject.ToString()\uF1C5\nMethods\nReturns\nRegex\uF1C5\nRemarks\nPattern:\nClass SourceGenerator\npublic static class SourceGenerator\n\uF12C\nGeneratedRegex()\n[GeneratedRegex(\"abc|def\", RegexOptions.IgnoreCase)]\npublic static Regex GeneratedRegex()\nabc|def\nOptions:
\n
RegexOptions.IgnoreCase

\nExplanation:
\n
○ Match with 2 alternative expressions, atomically.",
+      "Text": "49 / 90\nNamespace: BuildFromProject\nAssembly: BuildFromProject.dll\nInheritance\nobject\uF1C5 SourceGenerator\nInherited Members\nobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,\nobject.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,\nobject.ToString()\uF1C5\nMethods\nReturns\nRegex\uF1C5\nRemarks\nPattern:\nOptions:\nClass SourceGenerator\npublic static class SourceGenerator\n\uF12C\nGeneratedRegex()\n[GeneratedRegex(\"abc|def\", RegexOptions.IgnoreCase)]\npublic static Regex GeneratedRegex()\nabc|def\nRegexOptions.IgnoreCase",
       "Links": [
         {
           "Uri": "https://learn.microsoft.com/dotnet/api/system.object"
@@ -4747,7 +4747,7 @@
     },
     {
       "Number": 50,
-      "Text": "50 / 90\nLogger API that generated by LoggerMessageGenerator.\nParameters\nlogger ILogger\uF1C5\ntext string\uF1C5\n○ Match a sequence of expressions.\n○ Match a character in the set [Aa].\n○ Match a character in the set [Bb].\n○ Match a character in the set [Cc].\n○ Match a sequence of expressions.\n○ Match a character in the set [Dd].\n○ Match a character in the set [Ee].\n○ Match a character in the set [Ff].
\nLog(ILogger, string)\n[LoggerMessage(EventId = 0, Level = LogLevel.Critical, Message = \"Log: {text}\")]\npublic static void Log(ILogger logger, string text)", + "Text": "50 / 90\nExplanation:\nLogger API that generated by LoggerMessageGenerator.\nParameters\nlogger ILogger\uF1C5\ntext string\uF1C5\n○ Match with 2 alternative expressions, atomically.\n○ Match a sequence of expressions.\n○ Match a character in the set [Aa].\n○ Match a character in the set [Bb].\n○ Match a character in the set [Cc].\n○ Match a sequence of expressions.\n○ Match a character in the set [Dd].\n○ Match a character in the set [Ee].\n○ Match a character in the set [Ff].\nLog(ILogger, string)\n[LoggerMessage(EventId = 0, Level = LogLevel.Critical, Message = \"Log: {text}\")]\npublic static void Log(ILogger logger, string text)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger" diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/apipage/BuildFromProject.SourceGenerator.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/apipage/BuildFromProject.SourceGenerator.html.view.verified.json index 88ae3ad9e94..11c1a61cbb2 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/apipage/BuildFromProject.SourceGenerator.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/apipage/BuildFromProject.SourceGenerator.html.view.verified.json @@ -5,7 +5,7 @@ "pdf": true, "pdfTocPage": true, "title": "Class SourceGenerator", - "content": "

Class SourceGenerator

\r\n
\r\n
Namespace
BuildFromProject
Assembly
BuildFromProject.dll
\r\n
public static class SourceGenerator

Inheritance

\r\n
\nobject\n
\n\n\r\n

Inherited Members

\r\n\n\n\n\n\n\n\n\r\n

Methods

GeneratedRegex()

\r\n
[GeneratedRegex("abc|def", RegexOptions.IgnoreCase)]\npublic static Regex GeneratedRegex()

Returns

Regex
\r\n
\r\n\r\n\r\n\r\n

Remarks

Pattern:

\n
abc|def

\n
Options:<br />\n<pre><code class="lang-csharp">RegexOptions.IgnoreCase</code></pre><br />\nExplanation:<br />\n<pre><code class="lang-csharp">○ Match with 2 alternative expressions, atomically.\n○ Match a sequence of expressions.\n    ○ Match a character in the set [Aa].\n    ○ Match a character in the set [Bb].\n    ○ Match a character in the set [Cc].\n○ Match a sequence of expressions.\n    ○ Match a character in the set [Dd].\n    ○ Match a character in the set [Ee].\n    ○ Match a character in the set [Ff].</code></pre>\n
\n

Log(ILogger, string)

\r\n

Logger API that generated by LoggerMessageGenerator.

\n
[LoggerMessage(EventId = 0, Level = LogLevel.Critical, Message = "Log: {text}")]\npublic static void Log(ILogger logger, string text)

Parameters

logger ILogger
\r\n
\r\n\r\n\r\n\r\n
text string
\r\n
\r\n\r\n\r\n\r\n
", + "content": "

Class SourceGenerator

\r\n
\r\n
Namespace
BuildFromProject
Assembly
BuildFromProject.dll
\r\n
public static class SourceGenerator

Inheritance

\r\n
\nobject\n
\n\n\r\n

Inherited Members

\r\n\n\n\n\n\n\n\n\r\n

Methods

GeneratedRegex()

\r\n
[GeneratedRegex("abc|def", RegexOptions.IgnoreCase)]\npublic static Regex GeneratedRegex()

Returns

Regex
\r\n
\r\n\r\n\r\n\r\n

Remarks

Pattern:

\n
abc|def
\n
\nOptions:
\n
RegexOptions.IgnoreCase
\n
\nExplanation:
\n
○ Match with 2 alternative expressions, atomically.\n    ○ Match a sequence of expressions.\n        ○ Match a character in the set [Aa].\n        ○ Match a character in the set [Bb].\n        ○ Match a character in the set [Cc].\n    ○ Match a sequence of expressions.\n        ○ Match a character in the set [Dd].\n        ○ Match a character in the set [Ee].\n        ○ Match a character in the set [Ff].
\n

Log(ILogger, string)

\r\n

Logger API that generated by LoggerMessageGenerator.

\n
[LoggerMessage(EventId = 0, Level = LogLevel.Critical, Message = "Log: {text}")]\npublic static void Log(ILogger logger, string text)

Parameters

logger ILogger
\r\n
\r\n\r\n\r\n\r\n
text string
\r\n
\r\n\r\n\r\n\r\n
", "yamlmime": "ApiPage", "_disableNextArticle": true, "_key": "obj/apipage/BuildFromProject.SourceGenerator.yml", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/apipage/toc.pdf.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/apipage/toc.pdf.verified.json index e7ddae114e0..baabe21696a 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/apipage/toc.pdf.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/apipage/toc.pdf.verified.json @@ -3820,7 +3820,7 @@ }, { "Number": 48, - "Text": "48 / 96\nNamespace: BuildFromProject\nAssembly: BuildFromProject.dll\nInheritance\nobject\uF1C5 SourceGenerator\nInherited Members\nobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 ,\nobject.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 ,\nobject.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5\nMethods\nReturns\nRegex\uF1C5\nRemarks\nPattern:\nClass SourceGenerator\npublic static class SourceGenerator\n\uF12C\nGeneratedRegex()\n[GeneratedRegex(\"abc|def\", RegexOptions.IgnoreCase)]\npublic static Regex GeneratedRegex()\nabc|def\nOptions:
\n
RegexOptions.IgnoreCase

", + "Text": "48 / 96\nNamespace: BuildFromProject\nAssembly: BuildFromProject.dll\nInheritance\nobject\uF1C5 SourceGenerator\nInherited Members\nobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 ,\nobject.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 ,\nobject.ReferenceEquals(object?, object?)\uF1C5 , object.ToString()\uF1C5\nMethods\nReturns\nRegex\uF1C5\nRemarks\nPattern:\nOptions:\nClass SourceGenerator\npublic static class SourceGenerator\n\uF12C\nGeneratedRegex()\n[GeneratedRegex(\"abc|def\", RegexOptions.IgnoreCase)]\npublic static Regex GeneratedRegex()\nabc|def", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/system.object" @@ -3925,7 +3925,7 @@ }, { "Number": 49, - "Text": "49 / 96\nLogger API that generated by LoggerMessageGenerator.\nParameters\nlogger ILogger\uF1C5\ntext string\uF1C5\nExplanation:
\n
○ Match with 2 alternative expressions, atomically.\n○ Match a sequence of expressions.\n○ Match a character in the set [Aa].\n○ Match a character in the set [Bb].\n○ Match a character in the set [Cc].\n○ Match a sequence of expressions.\n○ Match a character in the set [Dd].\n○ Match a character in the set [Ee].\n○ Match a character in the set [Ff].
\nLog(ILogger, string)\n[LoggerMessage(EventId = 0, Level = LogLevel.Critical, Message = \"Log: {text}\")]\npublic static void Log(ILogger logger, string text)", + "Text": "49 / 96\nExplanation:\nLogger API that generated by LoggerMessageGenerator.\nParameters\nlogger ILogger\uF1C5\ntext string\uF1C5\nRegexOptions.IgnoreCase\n○ Match with 2 alternative expressions, atomically.\n○ Match a sequence of expressions.\n○ Match a character in the set [Aa].\n○ Match a character in the set [Bb].\n○ Match a character in the set [Cc].\n○ Match a sequence of expressions.\n○ Match a character in the set [Dd].\n○ Match a character in the set [Ee].\n○ Match a character in the set [Ff].\nLog(ILogger, string)\n[LoggerMessage(EventId = 0, Level = LogLevel.Critical, Message = \"Log: {text}\")]\npublic static void Log(ILogger logger, string text)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger" diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/index.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/index.verified.json index 029426b88de..2fe05791f17 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/index.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/index.verified.json @@ -157,7 +157,7 @@ "api/BuildFromProject.SourceGenerator.html": { "href": "api/BuildFromProject.SourceGenerator.html", "title": "Class SourceGenerator | docfx seed website", - "summary": "Class SourceGenerator Namespace BuildFromProject Assembly BuildFromProject.dll public static class SourceGenerator Inheritance object SourceGenerator Inherited Members object.Equals(object) object.Equals(object, object) object.GetHashCode() object.GetType() object.MemberwiseClone() object.ReferenceEquals(object, object) object.ToString() Methods GeneratedRegex() [GeneratedRegex(\"abc|def\", RegexOptions.IgnoreCase)] public static Regex GeneratedRegex() Returns Regex Remarks Pattern: abc|def Options:
RegexOptions.IgnoreCase

Explanation:
○ Match with 2 alternative expressions, atomically. ○ Match a sequence of expressions. ○ Match a character in the set [Aa]. ○ Match a character in the set [Bb]. ○ Match a character in the set [Cc]. ○ Match a sequence of expressions. ○ Match a character in the set [Dd]. ○ Match a character in the set [Ee]. ○ Match a character in the set [Ff].
Log(ILogger, string) Logger API that generated by LoggerMessageGenerator. [LoggerMessage(EventId = 0, Level = LogLevel.Critical, Message = \"Log: {text}\")] public static void Log(ILogger logger, string text) Parameters logger ILogger text string" + "summary": "Class SourceGenerator Namespace BuildFromProject Assembly BuildFromProject.dll public static class SourceGenerator Inheritance object SourceGenerator Inherited Members object.Equals(object) object.Equals(object, object) object.GetHashCode() object.GetType() object.MemberwiseClone() object.ReferenceEquals(object, object) object.ToString() Methods GeneratedRegex() [GeneratedRegex(\"abc|def\", RegexOptions.IgnoreCase)] public static Regex GeneratedRegex() Returns Regex Remarks Pattern: abc|def Options: RegexOptions.IgnoreCase Explanation: ○ Match with 2 alternative expressions, atomically. ○ Match a sequence of expressions. ○ Match a character in the set [Aa]. ○ Match a character in the set [Bb]. ○ Match a character in the set [Cc]. ○ Match a sequence of expressions. ○ Match a character in the set [Dd]. ○ Match a character in the set [Ee]. ○ Match a character in the set [Ff]. Log(ILogger, string) Logger API that generated by LoggerMessageGenerator. [LoggerMessage(EventId = 0, Level = LogLevel.Critical, Message = \"Log: {text}\")] public static void Log(ILogger logger, string text) Parameters logger ILogger text string" }, "api/BuildFromProject.html": { "href": "api/BuildFromProject.html", @@ -447,7 +447,7 @@ "apipage/BuildFromProject.SourceGenerator.html": { "href": "apipage/BuildFromProject.SourceGenerator.html", "title": "Class SourceGenerator | docfx seed website", - "summary": "Class SourceGenerator Namespace BuildFromProject Assembly BuildFromProject.dll public static class SourceGenerator Inheritance object SourceGenerator Inherited Members object.Equals(object?) object.Equals(object?, object?) object.GetHashCode() object.GetType() object.MemberwiseClone() object.ReferenceEquals(object?, object?) object.ToString() Methods GeneratedRegex() [GeneratedRegex(\"abc|def\", RegexOptions.IgnoreCase)] public static Regex GeneratedRegex() Returns Regex Remarks Pattern: abc|def Options:
RegexOptions.IgnoreCase

Explanation:
○ Match with 2 alternative expressions, atomically. ○ Match a sequence of expressions. ○ Match a character in the set [Aa]. ○ Match a character in the set [Bb]. ○ Match a character in the set [Cc]. ○ Match a sequence of expressions. ○ Match a character in the set [Dd]. ○ Match a character in the set [Ee]. ○ Match a character in the set [Ff].
Log(ILogger, string) Logger API that generated by LoggerMessageGenerator. [LoggerMessage(EventId = 0, Level = LogLevel.Critical, Message = \"Log: {text}\")] public static void Log(ILogger logger, string text) Parameters logger ILogger text string" + "summary": "Class SourceGenerator Namespace BuildFromProject Assembly BuildFromProject.dll public static class SourceGenerator Inheritance object SourceGenerator Inherited Members object.Equals(object?) object.Equals(object?, object?) object.GetHashCode() object.GetType() object.MemberwiseClone() object.ReferenceEquals(object?, object?) object.ToString() Methods GeneratedRegex() [GeneratedRegex(\"abc|def\", RegexOptions.IgnoreCase)] public static Regex GeneratedRegex() Returns Regex Remarks Pattern: abc|def Options: RegexOptions.IgnoreCase Explanation: ○ Match with 2 alternative expressions, atomically. ○ Match a sequence of expressions. ○ Match a character in the set [Aa]. ○ Match a character in the set [Bb]. ○ Match a character in the set [Cc]. ○ Match a sequence of expressions. ○ Match a character in the set [Dd]. ○ Match a character in the set [Ee]. ○ Match a character in the set [Ff]. Log(ILogger, string) Logger API that generated by LoggerMessageGenerator. [LoggerMessage(EventId = 0, Level = LogLevel.Critical, Message = \"Log: {text}\")] public static void Log(ILogger logger, string text) Parameters logger ILogger text string" }, "apipage/BuildFromProject.html": { "href": "apipage/BuildFromProject.html", @@ -772,7 +772,7 @@ "md/BuildFromProject.SourceGenerator.html": { "href": "md/BuildFromProject.SourceGenerator.html", "title": "Class SourceGenerator | docfx seed website", - "summary": "Class SourceGenerator Namespace: BuildFromProject Assembly: BuildFromProject.dll public static class SourceGenerator Inheritance object ← SourceGenerator Inherited Members object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString() Methods GeneratedRegex() [GeneratedRegex(\"abc|def\", RegexOptions.IgnoreCase)] public static Regex GeneratedRegex() Returns Regex Remarks Pattern: abc|def Options:
RegexOptions.IgnoreCase

Explanation:
○ Match with 2 alternative expressions, atomically. ○ Match a sequence of expressions. ○ Match a character in the set [Aa]. ○ Match a character in the set [Bb]. ○ Match a character in the set [Cc]. ○ Match a sequence of expressions. ○ Match a character in the set [Dd]. ○ Match a character in the set [Ee]. ○ Match a character in the set [Ff].
Log(ILogger, string) Logger API that generated by LoggerMessageGenerator. [LoggerMessage(EventId = 0, Level = LogLevel.Critical, Message = \"Log: {text}\")] public static void Log(ILogger logger, string text) Parameters logger ILogger text string" + "summary": "Class SourceGenerator Namespace: BuildFromProject Assembly: BuildFromProject.dll public static class SourceGenerator Inheritance object ← SourceGenerator Inherited Members object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString() Methods GeneratedRegex() [GeneratedRegex(\"abc|def\", RegexOptions.IgnoreCase)] public static Regex GeneratedRegex() Returns Regex Remarks Pattern: abc|def Options: RegexOptions.IgnoreCase Explanation: ○ Match with 2 alternative expressions, atomically. ○ Match a sequence of expressions. ○ Match a character in the set [Aa]. ○ Match a character in the set [Bb]. ○ Match a character in the set [Cc]. ○ Match a sequence of expressions. ○ Match a character in the set [Dd]. ○ Match a character in the set [Ee]. ○ Match a character in the set [Ff]. Log(ILogger, string) Logger API that generated by LoggerMessageGenerator. [LoggerMessage(EventId = 0, Level = LogLevel.Critical, Message = \"Log: {text}\")] public static void Log(ILogger logger, string text) Parameters logger ILogger text string" }, "md/BuildFromProject.html": { "href": "md/BuildFromProject.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.SourceGenerator.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.SourceGenerator.html.view.verified.json index 7c17faacd75..691d1d582fd 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.SourceGenerator.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/BuildFromProject.SourceGenerator.html.view.verified.json @@ -1,5 +1,5 @@ { - "conceptual": "\n

Namespace: BuildFromProject
\nAssembly: BuildFromProject.dll

\n
public static class SourceGenerator\n
\n

Inheritance

\n

object ←\nSourceGenerator

\n

Inherited Members

\n

object.Equals(object?),\nobject.Equals(object?, object?),\nobject.GetHashCode(),\nobject.GetType(),\nobject.MemberwiseClone(),\nobject.ReferenceEquals(object?, object?),\nobject.ToString()

\n

Methods

\n

GeneratedRegex()

\n
[GeneratedRegex("abc|def", RegexOptions.IgnoreCase)]\npublic static Regex GeneratedRegex()\n
\n

Returns

\n

Regex

\n

Remarks

\n

Pattern:

\n
abc|def

\n
Options:<br />\n<pre><code class="lang-csharp">RegexOptions.IgnoreCase</code></pre><br />\nExplanation:<br />\n<pre><code class="lang-csharp">○ Match with 2 alternative expressions, atomically.\n○ Match a sequence of expressions.\n    ○ Match a character in the set [Aa].\n    ○ Match a character in the set [Bb].\n    ○ Match a character in the set [Cc].\n○ Match a sequence of expressions.\n    ○ Match a character in the set [Dd].\n    ○ Match a character in the set [Ee].\n    ○ Match a character in the set [Ff].</code></pre>\n
\n

Log(ILogger, string)

\n

Logger API that generated by LoggerMessageGenerator.

\n
[LoggerMessage(EventId = 0, Level = LogLevel.Critical, Message = "Log: {text}")]\npublic static void Log(ILogger logger, string text)\n
\n

Parameters

\n

logger ILogger

\n

text string

\n", + "conceptual": "\n

Namespace: BuildFromProject
\nAssembly: BuildFromProject.dll

\n
public static class SourceGenerator\n
\n

Inheritance

\n

object ←\nSourceGenerator

\n

Inherited Members

\n

object.Equals(object?),\nobject.Equals(object?, object?),\nobject.GetHashCode(),\nobject.GetType(),\nobject.MemberwiseClone(),\nobject.ReferenceEquals(object?, object?),\nobject.ToString()

\n

Methods

\n

GeneratedRegex()

\n
[GeneratedRegex("abc|def", RegexOptions.IgnoreCase)]\npublic static Regex GeneratedRegex()\n
\n

Returns

\n

Regex

\n

Remarks

\n

Pattern:

\n
abc|def
\n
\nOptions:
\n
RegexOptions.IgnoreCase
\n
\nExplanation:
\n
○ Match with 2 alternative expressions, atomically.\n    ○ Match a sequence of expressions.\n        ○ Match a character in the set [Aa].\n        ○ Match a character in the set [Bb].\n        ○ Match a character in the set [Cc].\n    ○ Match a sequence of expressions.\n        ○ Match a character in the set [Dd].\n        ○ Match a character in the set [Ee].\n        ○ Match a character in the set [Ff].
\n

Log(ILogger, string)

\n

Logger API that generated by LoggerMessageGenerator.

\n
[LoggerMessage(EventId = 0, Level = LogLevel.Critical, Message = "Log: {text}")]\npublic static void Log(ILogger logger, string text)\n
\n

Parameters

\n

logger ILogger

\n

text string

\n", "type": "Conceptual", "source": { "startLine": 0, @@ -17,7 +17,7 @@ "pdfTocPage": true, "rawTitle": "

Class SourceGenerator

", "title": " Class SourceGenerator", - "wordCount": 141, + "wordCount": 136, "_key": "obj/md/BuildFromProject.SourceGenerator.md", "_navKey": "~/toc.yml", "_navPath": "toc.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Cat-2.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Cat-2.html.view.verified.json index b2815df73c6..df48daf2fce 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Cat-2.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/CatLibrary.Cat-2.html.view.verified.json @@ -1,5 +1,5 @@ { - "conceptual": "\n

Namespace: CatLibrary
\nAssembly: CatLibrary.dll

\n

Here's main class of this Demo.

\n

You can see mostly type of article within this class and you for more detail, please see the remarks.

\n

\n

this class is a template class. It has two Generic parameter. they are: T and K.

\n

The extension method of this class can refer to class

\n
[Serializable]\n[Obsolete]\npublic class Cat<T, K> : ICat, IAnimal where T : class, new() where K : struct\n
\n

Type Parameters

\n

T

\n

This type should be class and can new instance.

\n

K

\n

This type is a struct type, class type can't be used for this parameter.

\n

Inheritance

\n

object ←\nCat<T, K>

\n

Implements

\n

ICat,\nIAnimal

\n

Inherited Members

\n

object.Equals(object?),\nobject.Equals(object?, object?),\nobject.GetHashCode(),\nobject.GetType(),\nobject.MemberwiseClone(),\nobject.ReferenceEquals(object?, object?),\nobject.ToString()

\n

Extension Methods

\n

ICatExtension.Play(ICat, ContainersRefType.ColorType),\nICatExtension.Sleep(ICat, long)

\n

Examples

\n

Here's example of how to create an instance of this class. As T is limited with class and K is limited with struct.

\n
var a = new Cat(object, int)();\nint catNumber = new int();\nunsafe\n{\n    a.GetFeetLength(catNumber);\n}
\n

As you see, here we bring in pointer so we need to add unsafe keyword.

\n

Remarks

\n

Here's all the content you can see in this class.

\n

Constructors

\n

Cat()

\n

Default constructor.

\n
public Cat()\n
\n

Cat(T)

\n

Constructor with one generic parameter.

\n
public Cat(T ownType)\n
\n

Parameters

\n

ownType T

\n

This parameter type defined by class.

\n

Cat(string, out int, string, bool)

\n

It's a complex constructor. The parameter will have some attributes.

\n
public Cat(string nickName, out int age, string realName, bool isHealthy)\n
\n

Parameters

\n

nickName string

\n

it's string type.

\n

age int

\n

It's an out and ref parameter.

\n

realName string

\n

It's an out paramter.

\n

isHealthy bool

\n

It's an in parameter.

\n

Fields

\n

isHealthy

\n

Field with attribute.

\n
[ContextStatic]\n[NonSerialized]\n[Obsolete]\npublic bool isHealthy\n
\n

Field Value

\n

bool

\n

Properties

\n

Age

\n

Hint cat's age.

\n
[Obsolete]\nprotected int Age { get; set; }\n
\n

Property Value

\n

int

\n

Name

\n

EII property.

\n
public string Name { get; }\n
\n

Property Value

\n

string

\n

this[string]

\n

This is index property of Cat. You can see that the visibility is different between get and set method.

\n
public int this[string a] { protected get; set; }\n
\n

Property Value

\n

int

\n

Methods

\n

CalculateFood(DateTime)

\n

It's a method with complex return type.

\n
public Dictionary<string, List<int>> CalculateFood(DateTime date)\n
\n

Parameters

\n

date DateTime

\n

Date time to now.

\n

Returns

\n

Dictionary<string, List<int>>

\n

It's a relationship map of different kind food.

\n

Equals(object)

\n

Override the method of Object.Equals(object obj).

\n
public override bool Equals(object obj)\n
\n

Parameters

\n

obj object

\n

Can pass any class type.

\n

Returns

\n

bool

\n

The return value tell you whehter the compare operation is successful.

\n

GetTailLength(int*, params object[])

\n

It's an unsafe method.\nAs you see, catName is a pointer, so we need to add unsafe keyword.

\n
public long GetTailLength(int* catName, params object[] parameters)\n
\n

Parameters

\n

catName int*

\n

Thie represent for cat name length.

\n

parameters object[]

\n

Optional parameters.

\n

Returns

\n

long

\n

Return cat tail's length.

\n

Jump(T, K, ref bool)

\n

This method have attribute above it.

\n
[Conditional("Debug")]\npublic void Jump(T ownType, K anotherOwnType, ref bool cheat)\n
\n

Parameters

\n

ownType T

\n

Type come from class define.

\n

anotherOwnType K

\n

Type come from class define.

\n

cheat bool

\n

Hint whether this cat has cheat mode.

\n

Exceptions

\n

ArgumentException

\n

This is an argument exception

\n

ownEat

\n

Eat event of this cat

\n
[Obsolete("This _event handler_ is deprecated.")]\npublic event EventHandler ownEat\n
\n

Event Type

\n

EventHandler

\n

Operators

\n

operator +(Cat<T, K>, int)

\n

Addition operator of this class.

\n
public static int operator +(Cat<T, K> lsr, int rsr)\n
\n

Parameters

\n

lsr Cat<T, K>

\n

..

\n

rsr int

\n

~~

\n

Returns

\n

int

\n

Result with int type.

\n

explicit operator Tom(Cat<T, K>)

\n

Expilicit operator of this class.

\n

It means this cat can evolve to change to Tom. Tom and Jerry.

\n
public static explicit operator Tom(Cat<T, K> src)\n
\n

Parameters

\n

src Cat<T, K>

\n

Instance of this class.

\n

Returns

\n

Tom

\n

Advanced class type of cat.

\n

operator -(Cat<T, K>, int)

\n

Similar with operaotr +, refer to that topic.

\n
public static int operator -(Cat<T, K> lsr, int rsr)\n
\n

Parameters

\n

lsr Cat<T, K>

\n

rsr int

\n

Returns

\n

int

\n", + "conceptual": "\n

Namespace: CatLibrary
\nAssembly: CatLibrary.dll

\n

Here's main class of this Demo.

\n

You can see mostly type of article within this class and you for more detail, please see the remarks.

\n

\n

this class is a template class. It has two Generic parameter. they are: T and K.

\n

The extension method of this class can refer to class

\n
[Serializable]\n[Obsolete]\npublic class Cat<T, K> : ICat, IAnimal where T : class, new() where K : struct\n
\n

Type Parameters

\n

T

\n

This type should be class and can new instance.

\n

K

\n

This type is a struct type, class type can't be used for this parameter.

\n

Inheritance

\n

object ←\nCat<T, K>

\n

Implements

\n

ICat,\nIAnimal

\n

Inherited Members

\n

object.Equals(object?),\nobject.Equals(object?, object?),\nobject.GetHashCode(),\nobject.GetType(),\nobject.MemberwiseClone(),\nobject.ReferenceEquals(object?, object?),\nobject.ToString()

\n

Extension Methods

\n

ICatExtension.Play(ICat, ContainersRefType.ColorType),\nICatExtension.Sleep(ICat, long)

\n

Examples

\n

Here's example of how to create an instance of this class. As T is limited with class and K is limited with struct.

\n
var a = new Cat(object, int)();\nint catNumber = new int();\nunsafe\n{\n    a.GetFeetLength(catNumber);\n}
\n

As you see, here we bring in pointer so we need to add unsafe keyword.

\n

Remarks

\n

Here's all the content you can see in this class.

\n

Constructors

\n

Cat()

\n

Default constructor.

\n
public Cat()\n
\n

Cat(T)

\n

Constructor with one generic parameter.

\n
public Cat(T ownType)\n
\n

Parameters

\n

ownType T

\n

This parameter type defined by class.

\n

Cat(string, out int, string, bool)

\n

It's a complex constructor. The parameter will have some attributes.

\n
public Cat(string nickName, out int age, string realName, bool isHealthy)\n
\n

Parameters

\n

nickName string

\n

it's string type.

\n

age int

\n

It's an out and ref parameter.

\n

realName string

\n

It's an out paramter.

\n

isHealthy bool

\n

It's an in parameter.

\n

Fields

\n

isHealthy

\n

Field with attribute.

\n
[ContextStatic]\n[NonSerialized]\n[Obsolete]\npublic bool isHealthy\n
\n

Field Value

\n

bool

\n

Properties

\n

Age

\n

Hint cat's age.

\n
[Obsolete]\nprotected int Age { get; set; }\n
\n

Property Value

\n

int

\n

Name

\n

EII property.

\n
public string Name { get; }\n
\n

Property Value

\n

string

\n

this[string]

\n

This is index property of Cat. You can see that the visibility is different between get and set method.

\n
public int this[string a] { protected get; set; }\n
\n

Property Value

\n

int

\n

Methods

\n

CalculateFood(DateTime)

\n

It's a method with complex return type.

\n
public Dictionary<string, List<int>> CalculateFood(DateTime date)\n
\n

Parameters

\n

date DateTime

\n

Date time to now.

\n

Returns

\n

Dictionary<string, List<int>>

\n

It's a relationship map of different kind food.

\n

Equals(object)

\n

Override the method of Object.Equals(object obj).

\n
public override bool Equals(object obj)\n
\n

Parameters

\n

obj object

\n

Can pass any class type.

\n

Returns

\n

bool

\n

The return value tell you whehter the compare operation is successful.

\n

GetTailLength(int*, params object[])

\n

It's an unsafe method.\nAs you see, catName is a pointer, so we need to add unsafe keyword.

\n
public long GetTailLength(int* catName, params object[] parameters)\n
\n

Parameters

\n

catName int*

\n

Thie represent for cat name length.

\n

parameters object[]

\n

Optional parameters.

\n

Returns

\n

long

\n

Return cat tail's length.

\n

Jump(T, K, ref bool)

\n

This method have attribute above it.

\n
[Conditional("Debug")]\npublic void Jump(T ownType, K anotherOwnType, ref bool cheat)\n
\n

Parameters

\n

ownType T

\n

Type come from class define.

\n

anotherOwnType K

\n

Type come from class define.

\n

cheat bool

\n

Hint whether this cat has cheat mode.

\n

Exceptions

\n

ArgumentException

\n

This is an argument exception

\n

ownEat

\n

Eat event of this cat

\n
[Obsolete("This _event handler_ is deprecated.")]\npublic event EventHandler ownEat\n
\n

Event Type

\n

EventHandler

\n

Operators

\n

operator +(Cat<T, K>, int)

\n

Addition operator of this class.

\n
public static int operator +(Cat<T, K> lsr, int rsr)\n
\n

Parameters

\n

lsr Cat<T, K>

\n

..

\n

rsr int

\n

~~

\n

Returns

\n

int

\n

Result with int type.

\n

explicit operator Tom(Cat<T, K>)

\n

Expilicit operator of this class.

\n

It means this cat can evolve to change to Tom. Tom and Jerry.

\n
public static explicit operator Tom(Cat<T, K> src)\n
\n

Parameters

\n

src Cat<T, K>

\n

Instance of this class.

\n

Returns

\n

Tom

\n

Advanced class type of cat.

\n

operator -(Cat<T, K>, int)

\n

Similar with operaotr +, refer to that topic.

\n
public static int operator -(Cat<T, K> lsr, int rsr)\n
\n

Parameters

\n

lsr Cat<T, K>

\n

rsr int

\n

Returns

\n

int

\n", "type": "Conceptual", "source": { "startLine": 0, diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/toc.pdf.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/toc.pdf.verified.json index 83cbe18f2bb..f5a593fe4fb 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/toc.pdf.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/md/toc.pdf.verified.json @@ -3766,7 +3766,7 @@ }, { "Number": 42, - "Text": "42 / 87\nClass SourceGenerator\nNamespace: BuildFromProject\nAssembly: BuildFromProject.dll\nInheritance\nobject\uF1C5 ← SourceGenerator\nInherited Members\nobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 ,\nobject.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object?, object?)\uF1C5 ,\nobject.ToString()\uF1C5\nMethods\nGeneratedRegex()\nReturns\nRegex\uF1C5\nRemarks\nPattern:\npublic static class SourceGenerator\n[GeneratedRegex(\"abc|def\", RegexOptions.IgnoreCase)]\npublic static Regex GeneratedRegex()\nabc|def\nOptions:
\n
RegexOptions.IgnoreCase

\nExplanation:
\n
○ Match with 2 alternative expressions, atomically.\n○ Match a sequence of expressions.\n○ Match a character in the set [Aa].\n○ Match a character in the set [Bb].\n○ Match a character in the set [Cc].",
+      "Text": "42 / 87\nClass SourceGenerator\nNamespace: BuildFromProject\nAssembly: BuildFromProject.dll\nInheritance\nobject\uF1C5 ← SourceGenerator\nInherited Members\nobject.Equals(object?)\uF1C5 , object.Equals(object?, object?)\uF1C5 , object.GetHashCode()\uF1C5 ,\nobject.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object?, object?)\uF1C5 ,\nobject.ToString()\uF1C5\nMethods\nGeneratedRegex()\nReturns\nRegex\uF1C5\nRemarks\nPattern:\nOptions:\nExplanation:\npublic static class SourceGenerator\n[GeneratedRegex(\"abc|def\", RegexOptions.IgnoreCase)]\npublic static Regex GeneratedRegex()\nabc|def\nRegexOptions.IgnoreCase\n○ Match with 2 alternative expressions, atomically.\n○ Match a sequence of expressions.",
       "Links": [
         {
           "Uri": "https://learn.microsoft.com/dotnet/api/system.object"
@@ -3871,7 +3871,7 @@
     },
     {
       "Number": 43,
-      "Text": "43 / 87\nLog(ILogger, string)\nLogger API that generated by LoggerMessageGenerator.\nParameters\nlogger ILogger\uF1C5\ntext string\uF1C5\n○ Match a sequence of expressions.\n○ Match a character in the set [Dd].\n○ Match a character in the set [Ee].\n○ Match a character in the set [Ff].
\n[LoggerMessage(EventId = 0, Level = LogLevel.Critical, Message = \"Log: {text}\")]\npublic static void Log(ILogger logger, string text)", + "Text": "43 / 87\nLog(ILogger, string)\nLogger API that generated by LoggerMessageGenerator.\nParameters\nlogger ILogger\uF1C5\ntext string\uF1C5\n○ Match a character in the set [Aa].\n○ Match a character in the set [Bb].\n○ Match a character in the set [Cc].\n○ Match a sequence of expressions.\n○ Match a character in the set [Dd].\n○ Match a character in the set [Ee].\n○ Match a character in the set [Ff].\n[LoggerMessage(EventId = 0, Level = LogLevel.Critical, Message = \"Log: {text}\")]\npublic static void Log(ILogger logger, string text)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger" diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/pdf/toc.pdf.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/pdf/toc.pdf.verified.json index e71a0fd18af..b60df86fc5a 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/pdf/toc.pdf.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/pdf/toc.pdf.verified.json @@ -4914,7 +4914,7 @@ }, { "Number": 66, - "Text": "66 / 133\nNamespace: BuildFromProject\nAssembly: BuildFromProject.dll\nInheritance\nobject\uF1C5 SourceGenerator\nInherited Members\nobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,\nobject.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,\nobject.ToString()\uF1C5\nMethods\nReturns\nRegex\uF1C5\nRemarks\nPattern:\nClass SourceGenerator\npublic static class SourceGenerator\n\uF12C\nGeneratedRegex()\n[GeneratedRegex(\"abc|def\", RegexOptions.IgnoreCase)]\npublic static Regex GeneratedRegex()\nabc|def\nOptions:
\n
RegexOptions.IgnoreCase

\nExplanation:
\n
○ Match with 2 alternative expressions, atomically.",
+      "Text": "66 / 133\nNamespace: BuildFromProject\nAssembly: BuildFromProject.dll\nInheritance\nobject\uF1C5 SourceGenerator\nInherited Members\nobject.Equals(object)\uF1C5 , object.Equals(object, object)\uF1C5 , object.GetHashCode()\uF1C5 ,\nobject.GetType()\uF1C5 , object.MemberwiseClone()\uF1C5 , object.ReferenceEquals(object, object)\uF1C5 ,\nobject.ToString()\uF1C5\nMethods\nReturns\nRegex\uF1C5\nRemarks\nPattern:\nOptions:\nClass SourceGenerator\npublic static class SourceGenerator\n\uF12C\nGeneratedRegex()\n[GeneratedRegex(\"abc|def\", RegexOptions.IgnoreCase)]\npublic static Regex GeneratedRegex()\nabc|def\nRegexOptions.IgnoreCase",
       "Links": [
         {
           "Uri": "https://learn.microsoft.com/dotnet/api/system.object"
@@ -5028,7 +5028,7 @@
     },
     {
       "Number": 67,
-      "Text": "67 / 133\nLogger API that generated by LoggerMessageGenerator.\nParameters\nlogger ILogger\uF1C5\ntext string\uF1C5\n○ Match a sequence of expressions.\n○ Match a character in the set [Aa].\n○ Match a character in the set [Bb].\n○ Match a character in the set [Cc].\n○ Match a sequence of expressions.\n○ Match a character in the set [Dd].\n○ Match a character in the set [Ee].\n○ Match a character in the set [Ff].
\nLog(ILogger, string)\n[LoggerMessage(EventId = 0, Level = LogLevel.Critical, Message = \"Log: {text}\")]\npublic static void Log(ILogger logger, string text)", + "Text": "67 / 133\nExplanation:\nLogger API that generated by LoggerMessageGenerator.\nParameters\nlogger ILogger\uF1C5\ntext string\uF1C5\n○ Match with 2 alternative expressions, atomically.\n○ Match a sequence of expressions.\n○ Match a character in the set [Aa].\n○ Match a character in the set [Bb].\n○ Match a character in the set [Cc].\n○ Match a sequence of expressions.\n○ Match a character in the set [Dd].\n○ Match a character in the set [Ee].\n○ Match a character in the set [Ff].\nLog(ILogger, string)\n[LoggerMessage(EventId = 0, Level = LogLevel.Critical, Message = \"Log: {text}\")]\npublic static void Log(ILogger logger, string text)", "Links": [ { "Uri": "https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger" diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedMarkdown/BuildFromProject.SourceGenerator.verified.md b/test/docfx.Snapshot.Tests/SamplesTest.SeedMarkdown/BuildFromProject.SourceGenerator.verified.md index fe8dd865e7d..6e1f8067491 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.SeedMarkdown/BuildFromProject.SourceGenerator.verified.md +++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedMarkdown/BuildFromProject.SourceGenerator.verified.md @@ -38,11 +38,18 @@ public static Regex GeneratedRegex() #### Remarks Pattern:
-
abc|def

- Options:
-
RegexOptions.IgnoreCase

- Explanation:
-
○ Match with 2 alternative expressions, atomically.
+
+
abc|def
+ +
+Options:
+ +
RegexOptions.IgnoreCase
+ +
+Explanation:
+ +
○ Match with 2 alternative expressions, atomically.
     ○ Match a sequence of expressions.
         ○ Match a character in the set [Aa].
         ○ Match a character in the set [Bb].
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedMarkdown/CatLibrary.Cat-2.verified.md b/test/docfx.Snapshot.Tests/SamplesTest.SeedMarkdown/CatLibrary.Cat-2.verified.md
index 655c1c89678..17b5a6a68ce 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.SeedMarkdown/CatLibrary.Cat-2.verified.md
+++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedMarkdown/CatLibrary.Cat-2.verified.md
@@ -53,12 +53,14 @@ This type is a struct type, class type can't be used for this parameter.
 ## Examples
 
 

Here's example of how to create an instance of this class. As T is limited with class and K is limited with struct.

+
var a = new Cat(object, int)();
 int catNumber = new int();
 unsafe
 {
     a.GetFeetLength(catNumber);
 }
+

As you see, here we bring in pointer so we need to add unsafe keyword.

## Remarks