From 473d8277ac592324bd358f8332bee8fbe25d57fd Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue, 5 Nov 2024 08:03:48 +0000
Subject: [PATCH 01/70] build(deps-dev): bump the typescript-eslint group in
/templates with 2 updates (#10363)
build(deps-dev): bump the typescript-eslint group
Bumps the typescript-eslint group in /templates with 2 updates: [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) and [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser).
Updates `@typescript-eslint/eslint-plugin` from 8.12.2 to 8.13.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.13.0/packages/eslint-plugin)
Updates `@typescript-eslint/parser` from 8.12.2 to 8.13.0
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.13.0/packages/parser)
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: typescript-eslint
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: typescript-eslint
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
templates/package-lock.json | 88 ++++++++++++++++++-------------------
templates/package.json | 4 +-
2 files changed, 46 insertions(+), 46 deletions(-)
diff --git a/templates/package-lock.json b/templates/package-lock.json
index 2dd1fcb7bfb..81f6a513640 100644
--- a/templates/package-lock.json
+++ b/templates/package-lock.json
@@ -32,8 +32,8 @@
},
"devDependencies": {
"@types/lunr": "^2.3.7",
- "@typescript-eslint/eslint-plugin": "^8.12.2",
- "@typescript-eslint/parser": "^8.12.2",
+ "@typescript-eslint/eslint-plugin": "^8.13.0",
+ "@typescript-eslint/parser": "^8.13.0",
"browser-sync": "^3.0.3",
"esbuild": "~0.24.0",
"esbuild-sass-plugin": "~3.3.1",
@@ -932,16 +932,16 @@
"integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw=="
},
"node_modules/@typescript-eslint/eslint-plugin": {
- "version": "8.12.2",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.12.2.tgz",
- "integrity": "sha512-gQxbxM8mcxBwaEmWdtLCIGLfixBMHhQjBqR8sVWNTPpcj45WlYL2IObS/DNMLH1DBP0n8qz+aiiLTGfopPEebw==",
+ "version": "8.13.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.13.0.tgz",
+ "integrity": "sha512-nQtBLiZYMUPkclSeC3id+x4uVd1SGtHuElTxL++SfP47jR0zfkZBJHc+gL4qPsgTuypz0k8Y2GheaDYn6Gy3rg==",
"dev": true,
"dependencies": {
"@eslint-community/regexpp": "^4.10.0",
- "@typescript-eslint/scope-manager": "8.12.2",
- "@typescript-eslint/type-utils": "8.12.2",
- "@typescript-eslint/utils": "8.12.2",
- "@typescript-eslint/visitor-keys": "8.12.2",
+ "@typescript-eslint/scope-manager": "8.13.0",
+ "@typescript-eslint/type-utils": "8.13.0",
+ "@typescript-eslint/utils": "8.13.0",
+ "@typescript-eslint/visitor-keys": "8.13.0",
"graphemer": "^1.4.0",
"ignore": "^5.3.1",
"natural-compare": "^1.4.0",
@@ -965,15 +965,15 @@
}
},
"node_modules/@typescript-eslint/parser": {
- "version": "8.12.2",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.12.2.tgz",
- "integrity": "sha512-MrvlXNfGPLH3Z+r7Tk+Z5moZAc0dzdVjTgUgwsdGweH7lydysQsnSww3nAmsq8blFuRD5VRlAr9YdEFw3e6PBw==",
+ "version": "8.13.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.13.0.tgz",
+ "integrity": "sha512-w0xp+xGg8u/nONcGw1UXAr6cjCPU1w0XVyBs6Zqaj5eLmxkKQAByTdV/uGgNN5tVvN/kKpoQlP2cL7R+ajZZIQ==",
"dev": true,
"dependencies": {
- "@typescript-eslint/scope-manager": "8.12.2",
- "@typescript-eslint/types": "8.12.2",
- "@typescript-eslint/typescript-estree": "8.12.2",
- "@typescript-eslint/visitor-keys": "8.12.2",
+ "@typescript-eslint/scope-manager": "8.13.0",
+ "@typescript-eslint/types": "8.13.0",
+ "@typescript-eslint/typescript-estree": "8.13.0",
+ "@typescript-eslint/visitor-keys": "8.13.0",
"debug": "^4.3.4"
},
"engines": {
@@ -993,13 +993,13 @@
}
},
"node_modules/@typescript-eslint/scope-manager": {
- "version": "8.12.2",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.12.2.tgz",
- "integrity": "sha512-gPLpLtrj9aMHOvxJkSbDBmbRuYdtiEbnvO25bCMza3DhMjTQw0u7Y1M+YR5JPbMsXXnSPuCf5hfq0nEkQDL/JQ==",
+ "version": "8.13.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.13.0.tgz",
+ "integrity": "sha512-XsGWww0odcUT0gJoBZ1DeulY1+jkaHUciUq4jKNv4cpInbvvrtDoyBH9rE/n2V29wQJPk8iCH1wipra9BhmiMA==",
"dev": true,
"dependencies": {
- "@typescript-eslint/types": "8.12.2",
- "@typescript-eslint/visitor-keys": "8.12.2"
+ "@typescript-eslint/types": "8.13.0",
+ "@typescript-eslint/visitor-keys": "8.13.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -1010,13 +1010,13 @@
}
},
"node_modules/@typescript-eslint/type-utils": {
- "version": "8.12.2",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.12.2.tgz",
- "integrity": "sha512-bwuU4TAogPI+1q/IJSKuD4shBLc/d2vGcRT588q+jzayQyjVK2X6v/fbR4InY2U2sgf8MEvVCqEWUzYzgBNcGQ==",
+ "version": "8.13.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.13.0.tgz",
+ "integrity": "sha512-Rqnn6xXTR316fP4D2pohZenJnp+NwQ1mo7/JM+J1LWZENSLkJI8ID8QNtlvFeb0HnFSK94D6q0cnMX6SbE5/vA==",
"dev": true,
"dependencies": {
- "@typescript-eslint/typescript-estree": "8.12.2",
- "@typescript-eslint/utils": "8.12.2",
+ "@typescript-eslint/typescript-estree": "8.13.0",
+ "@typescript-eslint/utils": "8.13.0",
"debug": "^4.3.4",
"ts-api-utils": "^1.3.0"
},
@@ -1034,9 +1034,9 @@
}
},
"node_modules/@typescript-eslint/types": {
- "version": "8.12.2",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.12.2.tgz",
- "integrity": "sha512-VwDwMF1SZ7wPBUZwmMdnDJ6sIFk4K4s+ALKLP6aIQsISkPv8jhiw65sAK6SuWODN/ix+m+HgbYDkH+zLjrzvOA==",
+ "version": "8.13.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.13.0.tgz",
+ "integrity": "sha512-4cyFErJetFLckcThRUFdReWJjVsPCqyBlJTi6IDEpc1GWCIIZRFxVppjWLIMcQhNGhdWJJRYFHpHoDWvMlDzng==",
"dev": true,
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -1047,13 +1047,13 @@
}
},
"node_modules/@typescript-eslint/typescript-estree": {
- "version": "8.12.2",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.12.2.tgz",
- "integrity": "sha512-mME5MDwGe30Pq9zKPvyduyU86PH7aixwqYR2grTglAdB+AN8xXQ1vFGpYaUSJ5o5P/5znsSBeNcs5g5/2aQwow==",
+ "version": "8.13.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.13.0.tgz",
+ "integrity": "sha512-v7SCIGmVsRK2Cy/LTLGN22uea6SaUIlpBcO/gnMGT/7zPtxp90bphcGf4fyrCQl3ZtiBKqVTG32hb668oIYy1g==",
"dev": true,
"dependencies": {
- "@typescript-eslint/types": "8.12.2",
- "@typescript-eslint/visitor-keys": "8.12.2",
+ "@typescript-eslint/types": "8.13.0",
+ "@typescript-eslint/visitor-keys": "8.13.0",
"debug": "^4.3.4",
"fast-glob": "^3.3.2",
"is-glob": "^4.0.3",
@@ -1075,15 +1075,15 @@
}
},
"node_modules/@typescript-eslint/utils": {
- "version": "8.12.2",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.12.2.tgz",
- "integrity": "sha512-UTTuDIX3fkfAz6iSVa5rTuSfWIYZ6ATtEocQ/umkRSyC9O919lbZ8dcH7mysshrCdrAM03skJOEYaBugxN+M6A==",
+ "version": "8.13.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.13.0.tgz",
+ "integrity": "sha512-A1EeYOND6Uv250nybnLZapeXpYMl8tkzYUxqmoKAWnI4sei3ihf2XdZVd+vVOmHGcp3t+P7yRrNsyyiXTvShFQ==",
"dev": true,
"dependencies": {
"@eslint-community/eslint-utils": "^4.4.0",
- "@typescript-eslint/scope-manager": "8.12.2",
- "@typescript-eslint/types": "8.12.2",
- "@typescript-eslint/typescript-estree": "8.12.2"
+ "@typescript-eslint/scope-manager": "8.13.0",
+ "@typescript-eslint/types": "8.13.0",
+ "@typescript-eslint/typescript-estree": "8.13.0"
},
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -1097,12 +1097,12 @@
}
},
"node_modules/@typescript-eslint/visitor-keys": {
- "version": "8.12.2",
- "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.12.2.tgz",
- "integrity": "sha512-PChz8UaKQAVNHghsHcPyx1OMHoFRUEA7rJSK/mDhdq85bk+PLsUHUBqTQTFt18VJZbmxBovM65fezlheQRsSDA==",
+ "version": "8.13.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.13.0.tgz",
+ "integrity": "sha512-7N/+lztJqH4Mrf0lb10R/CbI1EaAMMGyF5y0oJvFoAhafwgiRA7TXyd8TFn8FC8k5y2dTsYogg238qavRGNnlw==",
"dev": true,
"dependencies": {
- "@typescript-eslint/types": "8.12.2",
+ "@typescript-eslint/types": "8.13.0",
"eslint-visitor-keys": "^3.4.3"
},
"engines": {
diff --git a/templates/package.json b/templates/package.json
index 294817e7768..55dd78f663d 100644
--- a/templates/package.json
+++ b/templates/package.json
@@ -41,8 +41,8 @@
},
"devDependencies": {
"@types/lunr": "^2.3.7",
- "@typescript-eslint/eslint-plugin": "^8.12.2",
- "@typescript-eslint/parser": "^8.12.2",
+ "@typescript-eslint/eslint-plugin": "^8.13.0",
+ "@typescript-eslint/parser": "^8.13.0",
"browser-sync": "^3.0.3",
"esbuild": "~0.24.0",
"esbuild-sass-plugin": "~3.3.1",
From 8997fdb84a846de5e2b4d19d89842dbbf3dc6afc Mon Sep 17 00:00:00 2001
From: Simon Cropp
Date: Tue, 5 Nov 2024 23:27:10 +1100
Subject: [PATCH 02/70] chore: remove redundant ass (#10362)
---
test/docfx.Tests/PublicApiContractTest.cs | 4 ----
1 file changed, 4 deletions(-)
diff --git a/test/docfx.Tests/PublicApiContractTest.cs b/test/docfx.Tests/PublicApiContractTest.cs
index 5a3c43f1b6c..d54d39da116 100644
--- a/test/docfx.Tests/PublicApiContractTest.cs
+++ b/test/docfx.Tests/PublicApiContractTest.cs
@@ -14,10 +14,6 @@ public static Task TestPublicApiContract()
var assemblies = new HashSet();
GetAssemblies(typeof(Docset).Assembly);
-
- var ass = assemblies.Select(x => x.GetName().Name).OrderBy(x => x).ToArray();
-
-
var publicApi = string.Join('\n', assemblies
.OrderBy(a => a.FullName)
.Select(a => a.GeneratePublicApi(new() { IncludeAssemblyAttributes = false })));
From 0aa88cfd213b1eca67ba6a8b50a6a0e5f0f191fa Mon Sep 17 00:00:00 2001
From: Simon Cropp
Date: Tue, 5 Nov 2024 23:27:35 +1100
Subject: [PATCH 03/70] chore: remove redundant Directory.Exists (#10361)
---
src/Docfx.Build/TemplateProcessors/TemplateManager.cs | 2 +-
src/Docfx.Common/FileAbstractLayer/FileWriterBase.cs | 6 ++----
test/Docfx.Build.Tests/TemplateManagerUnitTest.cs | 2 +-
3 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/src/Docfx.Build/TemplateProcessors/TemplateManager.cs b/src/Docfx.Build/TemplateProcessors/TemplateManager.cs
index 0cb5d0836a2..40f422f120b 100644
--- a/src/Docfx.Build/TemplateProcessors/TemplateManager.cs
+++ b/src/Docfx.Build/TemplateProcessors/TemplateManager.cs
@@ -124,7 +124,7 @@ private static void Copy(Action streamHandler, string filePath, bool ove
try
{
var subfolder = Path.GetDirectoryName(filePath);
- if (!string.IsNullOrEmpty(subfolder) && !Directory.Exists(subfolder))
+ if (!string.IsNullOrEmpty(subfolder))
{
Directory.CreateDirectory(subfolder);
}
diff --git a/src/Docfx.Common/FileAbstractLayer/FileWriterBase.cs b/src/Docfx.Common/FileAbstractLayer/FileWriterBase.cs
index 48ec883686a..f68ccb4567a 100644
--- a/src/Docfx.Common/FileAbstractLayer/FileWriterBase.cs
+++ b/src/Docfx.Common/FileAbstractLayer/FileWriterBase.cs
@@ -28,9 +28,7 @@ protected internal static void EnsureFolder(string folder)
{
return;
}
- if (!Directory.Exists(folder))
- {
- Directory.CreateDirectory(folder);
- }
+
+ Directory.CreateDirectory(folder);
}
}
diff --git a/test/Docfx.Build.Tests/TemplateManagerUnitTest.cs b/test/Docfx.Build.Tests/TemplateManagerUnitTest.cs
index a97a85ea613..2a72b1c83a0 100644
--- a/test/Docfx.Build.Tests/TemplateManagerUnitTest.cs
+++ b/test/Docfx.Build.Tests/TemplateManagerUnitTest.cs
@@ -585,7 +585,7 @@ private static void WriteTemplate(string cwd, params Tuple[] fil
var filePath = Path.Combine(cwd ?? string.Empty, file.Item1);
var directory = Path.GetDirectoryName(filePath);
- if (!string.IsNullOrEmpty(directory) && !Directory.Exists(directory))
+ if (!string.IsNullOrEmpty(directory))
Directory.CreateDirectory(directory);
File.WriteAllText(filePath, file.Item2);
}
From 58f7386b78fe7af9655e701ce7b91a80aedca453 Mon Sep 17 00:00:00 2001
From: Simon Cropp
Date: Tue, 5 Nov 2024 23:27:57 +1100
Subject: [PATCH 04/70] chore: use file based YamlUtility.Deserialize (#10359)
---
src/Docfx.Build/XRefMaps/XRefMapDownloader.cs | 3 +--
test/docfx.Tests/JsonSchemaTest.cs | 3 +--
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/Docfx.Build/XRefMaps/XRefMapDownloader.cs b/src/Docfx.Build/XRefMaps/XRefMapDownloader.cs
index 5a83901afd8..4c523ddb876 100644
--- a/src/Docfx.Build/XRefMaps/XRefMapDownloader.cs
+++ b/src/Docfx.Build/XRefMaps/XRefMapDownloader.cs
@@ -147,8 +147,7 @@ private static async ValueTask ReadLocalFileAsync(string filePat
case ".yml":
default:
{
- using var sr = File.OpenText(filePath);
- return YamlUtility.Deserialize(sr);
+ return YamlUtility.Deserialize(filePath);
}
}
}
diff --git a/test/docfx.Tests/JsonSchemaTest.cs b/test/docfx.Tests/JsonSchemaTest.cs
index 1f09a6ab4e4..aeed970aa31 100644
--- a/test/docfx.Tests/JsonSchemaTest.cs
+++ b/test/docfx.Tests/JsonSchemaTest.cs
@@ -163,8 +163,7 @@ private static JsonElement LoadAsJsonElement(string path)
var doc = JsonDocument.Parse(File.OpenRead(filePath), JsonSchemaUtility.DefaultJsonDocumentOptions);
return doc.RootElement;
case ".yml":
- var yaml = File.ReadAllText(filePath);
- var yamlObject = YamlUtility.Deserialize(new StringReader(yaml));
+ var yamlObject = YamlUtility.Deserialize(filePath);
var serializer = new SerializerBuilder()
.JsonCompatible()
From e14408b643ac5ecf13424979259b9f196b57c998 Mon Sep 17 00:00:00 2001
From: Simon Cropp
Date: Tue, 5 Nov 2024 23:28:26 +1100
Subject: [PATCH 05/70] chore: raw strings in InclusionTest (#10355)
---
.../InclusionTest.cs | 686 ++++++++++--------
1 file changed, 397 insertions(+), 289 deletions(-)
diff --git a/test/Docfx.MarkdigEngine.Tests/InclusionTest.cs b/test/Docfx.MarkdigEngine.Tests/InclusionTest.cs
index d10bb7f7668..2c27735c078 100644
--- a/test/Docfx.MarkdigEngine.Tests/InclusionTest.cs
+++ b/test/Docfx.MarkdigEngine.Tests/InclusionTest.cs
@@ -17,47 +17,55 @@ public class InclusionTest
[Trait("Related", "Inclusion")]
public void TestBlockLevelInclusion_General()
{
- var root = @"
-# Hello World
+ var root = """
-Test Include File
+ # Hello World
-[!include[refa](a.md)]
+ Test Include File
-[!include[refa](a.md) ]
+ [!include[refa](a.md)]
-";
+ [!include[refa](a.md) ]
- var refa = @"---
-title: include file
-description: include file
----
-# Hello Include File A
+ """;
-This is a file A included by another file. [!include[refb](b.md)] [!include[refb](b.md) ]
+ var refa = """
+ ---
+ title: include file
+ description: include file
+ ---
-";
+ # Hello Include File A
- var refb = @"---
-title: include file
-description: include file
----
+ This is a file A included by another file. [!include[refb](b.md)] [!include[refb](b.md) ]
-# Hello Include File B
-";
+
+ """;
+
+ var refb = """
+ ---
+ title: include file
+ description: include file
+ ---
+
+ # Hello Include File B
+
+ """;
TestUtility.WriteToFile("r/root.md", root);
TestUtility.WriteToFile("r/a.md", refa);
TestUtility.WriteToFile("r/b.md", refb);
var result = TestUtility.MarkupWithoutSourceInfo(root, "r/root.md");
- var expected = @"Hello World
-Test Include File
-Hello Include File A
-This is a file A included by another file. # Hello Include File B [!includerefb ]
+ var expected = """
+ Hello World
+ Test Include File
+ Hello Include File A
+ This is a file A included by another file. # Hello Include File B [!includerefb ]
-[!includerefa ]
-";
+ [!includerefa ]
+
+ """;
Assert.Equal(expected.Replace("\r\n", "\n"), result.Html);
var dependency = result.Dependency;
@@ -69,30 +77,36 @@ Test Include File
[Trait("Related", "IncludeFile")]
public void TestBlockLevelInclusion_Escape()
{
- var root = @"
-# Hello World
+ var root = """
+
+ # Hello World
+
+ Test Include File
+
+ [!include[refa](a\(x\).md)]
-Test Include File
-[!include[refa](a\(x\).md)]
+ """;
-";
+ var refa = """
- var refa = @"
-# Hello Include File A
+ # Hello Include File A
-This is a file A included by another file.
-";
+ This is a file A included by another file.
+
+ """;
TestUtility.WriteToFile("r/root.md", root);
TestUtility.WriteToFile("r/a(x).md", refa);
var result = TestUtility.MarkupWithoutSourceInfo(root, "r/root.md");
- var expected = @"Hello World
-Test Include File
-Hello Include File A
-This is a file A included by another file.
-";
+ var expected = """
+ Hello World
+ Test Include File
+ Hello Include File A
+ This is a file A included by another file.
+
+ """;
Assert.Equal(expected.Replace("\r\n", "\n"), result.Html);
var dependency = result.Dependency;
@@ -104,30 +118,36 @@ This is a file A included by another file.
[Trait("Related", "Inclusion")]
public void TestBlockLevelInclusion_RelativePath()
{
- var root = @"
-# Hello World
+ var root = """
+
+ # Hello World
+
+ Test Include File
-Test Include File
+ [!include[refa](~/r/a.md)]
-[!include[refa](~/r/a.md)]
-";
+ """;
- var refa = @"
-# Hello Include File A
+ var refa = """
-This is a file A included by another file.
-";
+ # Hello Include File A
+
+ This is a file A included by another file.
+
+ """;
TestUtility.WriteToFile("r/root.md", root);
TestUtility.WriteToFile("r/a.md", refa);
var result = TestUtility.MarkupWithoutSourceInfo(root, "r/root.md");
- var expected = @"Hello World
-Test Include File
-Hello Include File A
-This is a file A included by another file.
-";
+ var expected = """
+ Hello World
+ Test Include File
+ Hello Include File A
+ This is a file A included by another file.
+
+ """;
Assert.Equal(expected.Replace("\r\n", "\n"), result.Html);
var dependency = result.Dependency;
@@ -139,29 +159,35 @@ This is a file A included by another file.
[Trait("Related", "Inclusion")]
public void TestBlockLevelInclusion_CycleInclude()
{
- var root = @"
-# Hello World
+ var root = """
-Test Include File
+ # Hello World
-[!include[refa](a.md)]
+ Test Include File
-";
+ [!include[refa](a.md)]
- var refa = @"
-# Hello Include File A
-This is a file A included by another file.
+ """;
-[!include[refb](b.md)]
+ var refa = """
-";
+ # Hello Include File A
- var refb = @"
-# Hello Include File B
+ This is a file A included by another file.
-[!include[refa](a.md)]
-";
+ [!include[refb](b.md)]
+
+
+ """;
+
+ var refb = """
+
+ # Hello Include File B
+
+ [!include[refa](a.md)]
+
+ """;
TestUtility.WriteToFile("r/root.md", root);
TestUtility.WriteToFile("r/a.md", refa);
TestUtility.WriteToFile("r/b.md", refb);
@@ -169,12 +195,14 @@ This is a file A included by another file.
var listener = new TestLoggerListener();
Logger.RegisterListener(listener);
var result = TestUtility.MarkupWithoutSourceInfo(root, "r/root.md");
- var expected = @"Hello World
-Test Include File
-Hello Include File A
-This is a file A included by another file.
-Hello Include File B
-[!include[refa](a.md)]";
+ var expected = """
+ Hello World
+ Test Include File
+ Hello Include File A
+ This is a file A included by another file.
+ Hello Include File B
+ [!include[refa](a.md)]
+ """;
Assert.Equal(expected.Replace("\r\n", "\n"), result.Html);
Logger.UnregisterListener(listener);
@@ -187,13 +215,15 @@ This is a file A included by another file.
[Trait("Related", "Inclusion")]
public void TestInlineLevelInclusion_General()
{
- var root = @"
-# Hello World
+ var root = """
+
+ # Hello World
-Test Inline Included File: \\[!include[refa](~/r/a.md)].
+ Test Inline Included File: \\[!include[refa](~/r/a.md)].
-Test Escaped Inline Included File: \[!include[refa](~/r/a.md)].
-";
+ Test Escaped Inline Included File: \[!include[refa](~/r/a.md)].
+
+ """;
var refa = "This is a **included** token";
@@ -201,10 +231,12 @@ public void TestInlineLevelInclusion_General()
TestUtility.WriteToFile("r/a.md", refa);
var result = TestUtility.MarkupWithoutSourceInfo(root, "r/root.md"); ;
- var expected = @"Hello World
-Test Inline Included File: \This is a included token.
-Test Escaped Inline Included File: [!includerefa ].
-";
+ var expected = """
+ Hello World
+ Test Inline Included File: \This is a included token.
+ Test Escaped Inline Included File: [!includerefa ].
+
+ """;
Assert.Equal(expected.Replace("\r\n", "\n"), result.Html);
var dependency = result.Dependency;
@@ -216,12 +248,14 @@ public void TestInlineLevelInclusion_General()
[Trait("Related", "Inclusion")]
public void TestInlineLevelInclusion_CycleInclude()
{
- var root = @"
-# Hello World
+ var root = """
+
+ # Hello World
+
+ Test Inline Included File: [!include[refa](~/r/a.md)].
-Test Inline Included File: [!include[refa](~/r/a.md)].
-";
+ """;
var refa = "This is a **included** token with [!include[root](~/r/root.md)]";
@@ -229,9 +263,11 @@ public void TestInlineLevelInclusion_CycleInclude()
TestUtility.WriteToFile("r/a.md", refa);
var result = TestUtility.MarkupWithoutSourceInfo(root, "r/root.md");
- var expected = @"Hello World
-Test Inline Included File: This is a included token with [!include[root](~/r/root.md)].
-";
+ var expected = """
+ Hello World
+ Test Inline Included File: This is a included token with [!include[root](~/r/root.md)].
+
+ """;
Assert.Equal(expected.Replace("\r\n", "\n"), result.Html);
}
@@ -240,24 +276,30 @@ public void TestInlineLevelInclusion_CycleInclude()
[Trait("Related", "Inclusion")]
public void TestInlineLevelInclusion_Block()
{
- var root = @"
-# Hello World
+ var root = """
+
+ # Hello World
+
+ Test Inline Included File: [!include[refa](~/r/a.md)].
-Test Inline Included File: [!include[refa](~/r/a.md)].
-";
+ """;
- var refa = @"## This is a included token
+ var refa = """
+ ## This is a included token
-block content in Inline Inclusion.";
+ block content in Inline Inclusion.
+ """;
TestUtility.WriteToFile("r/root.md", root);
TestUtility.WriteToFile("r/a.md", refa);
var result = TestUtility.MarkupWithoutSourceInfo(root, "r/root.md");
- var expected = @"Hello World
-Test Inline Included File: ## This is a included tokenblock content in Inline Inclusion..
-";
+ var expected = """
+ Hello World
+ Test Inline Included File: ## This is a included tokenblock content in Inline Inclusion..
+
+ """;
Assert.Equal(expected.Replace("\r\n", "\n"), result.Html);
var dependency = result.Dependency;
@@ -285,21 +327,25 @@ public void TestBlockLevelInclusion()
// |- link2.md
// |- md
// |- c.md
- var root = @"
-[!include[linkAndRefRoot](b/linkAndRefRoot.md)]
-[!include[refc](a/refc.md ""This is root"")]
-[!include[refc_using_cache](a/refc.md)]
-[!include[empty](empty.md)]
-[!include[external](http://microsoft.com/a.md)]";
-
- var linkAndRefRoot = @"
-Paragraph1
-[link](a.md)
-[!include-[link2](../link/link2.md)]
-![Image](img/img.jpg)
-[!include-[root](../root.md)]";
+ var root = """
+
+ [!include[linkAndRefRoot](b/linkAndRefRoot.md)]
+ [!include[refc](a/refc.md "This is root")]
+ [!include[refc_using_cache](a/refc.md)]
+ [!include[empty](empty.md)]
+ [!include[external](http://microsoft.com/a.md)]
+ """;
+
+ var linkAndRefRoot = """
+
+ Paragraph1
+ [link](a.md)
+ [!include-[link2](../link/link2.md)]
+ ![Image](img/img.jpg)
+ [!include-[root](../root.md)]
+ """;
var link2 = "[link](md/c.md)";
- var refc = @"[!include[c](../c/c.md ""This is root"")]";
+ var refc = """[!include[c](../c/c.md "This is root")]""";
var c = "**Hello**";
TestUtility.WriteToFile("r/root.md", root);
@@ -310,14 +356,16 @@ public void TestBlockLevelInclusion()
TestUtility.WriteToFile("r/empty.md", string.Empty);
var marked = TestUtility.MarkupWithoutSourceInfo(root, "r/root.md");
var dependency = marked.Dependency;
- var expected = @"Paragraph1
-link
-link
-
-[!include[root](../root.md)]
-Hello
-Hello
-[!include[external](http://microsoft.com/a.md)]".Replace("\r\n", "\n");
+ var expected = """
+ Paragraph1
+ link
+ link
+
+ [!include[root](../root.md)]
+ Hello
+ Hello
+ [!include[external](http://microsoft.com/a.md)]
+ """.Replace("\r\n", "\n");
Assert.Equal(expected, marked.Html);
Assert.Equal(
@@ -348,31 +396,41 @@ public void TestBlockLevelInclusionWithSameFile()
// |- d.md
// |- img
// | |- img.jpg
- var r = @"
-[!include[](a/a.md)]
-[!include[](c/d/d.md)]
-";
- var a = @"
-[!include[](../b/token.md)]";
- var token = @"
-![](../img/img.jpg)
-[](#anchor)
-[a](../a/a.md)
-[](invalid.md)
-[d](../c/d/d.md#anchor)
-";
- var d = @"
-[!include[](../../b/token.md)]";
+ var r = """
+
+ [!include[](a/a.md)]
+ [!include[](c/d/d.md)]
+
+ """;
+ var a = """
+
+ [!include[](../b/token.md)]
+ """;
+ var token = """
+
+ ![](../img/img.jpg)
+ [](#anchor)
+ [a](../a/a.md)
+ [](invalid.md)
+ [d](../c/d/d.md#anchor)
+
+ """;
+ var d = """
+
+ [!include[](../../b/token.md)]
+ """;
TestUtility.WriteToFile("r/r.md", r);
TestUtility.WriteToFile("r/a/a.md", a);
TestUtility.WriteToFile("r/b/token.md", token);
TestUtility.WriteToFile("r/c/d/d.md", d);
var marked = TestUtility.MarkupWithoutSourceInfo(a, "r/a/a.md");
- var expected = @"
-
-a
-
-d
".Replace("\r\n", "\n") + "\n";
+ var expected = """
+
+
+ a
+
+ d
+ """.Replace("\r\n", "\n") + "\n";
var dependency = marked.Dependency;
Assert.Equal(expected, marked.Html);
Assert.Equal(
@@ -430,24 +488,30 @@ public void TestFallback_Inclusion_random_name()
// 1. Prepare data
var uniqueFolderName = Path.GetRandomFileName();
- var root = $@"1markdown root.md main content start.
+ var root = $"""
+ 1markdown root.md main content start.
-[!include[a](a_folder_{uniqueFolderName}/a_{uniqueFolderName}.md ""This is a.md"")]
+ [!include[a](a_folder_{uniqueFolderName}/a_{uniqueFolderName}.md "This is a.md")]
-markdown root.md main content end.";
+ markdown root.md main content end.
+ """;
- var a = $@"1markdown a.md main content start.
+ var a = $"""
+ 1markdown a.md main content start.
-[!include[token1](../token_folder_{uniqueFolderName}/token1_{uniqueFolderName}.md ""This is token1.md"")]
-[!include[token1](../token_folder_{uniqueFolderName}/token2_{uniqueFolderName}.md ""This is token2.md"")]
+ [!include[token1](../token_folder_{uniqueFolderName}/token1_{uniqueFolderName}.md "This is token1.md")]
+ [!include[token1](../token_folder_{uniqueFolderName}/token2_{uniqueFolderName}.md "This is token2.md")]
-markdown a.md main content end.";
+ markdown a.md main content end.
+ """;
- var token1 = $@"1markdown token1.md content start.
+ var token1 = $"""
+ 1markdown token1.md content start.
-[!include[token2](token2_{uniqueFolderName}.md ""This is token2.md"")]
+ [!include[token2](token2_{uniqueFolderName}.md "This is token2.md")]
-markdown token1.md content end.";
+ markdown token1.md content end.
+ """;
var token2 = "**1markdown token2.md main content**";
@@ -466,15 +530,17 @@ public void TestFallback_Inclusion_random_name()
var marked = service.Markup("place", "holder");
var dependency = marked.Dependency;
- Assert.Equal(@"1markdown root.md main content start.
-1markdown a.md main content start.
-1markdown token1.md content start.
-1markdown token2.md main content
-markdown token1.md content end.
-1markdown token2.md main content
-markdown a.md main content end.
-markdown root.md main content end.
-".Replace("\r\n", "\n"), marked.Html);
+ Assert.Equal("""
+ 1markdown root.md main content start.
+ 1markdown a.md main content start.
+ 1markdown token1.md content start.
+ 1markdown token2.md main content
+ markdown token1.md content end.
+ 1markdown token2.md main content
+ markdown a.md main content end.
+ markdown root.md main content end.
+
+ """.Replace("\r\n", "\n"), marked.Html);
Assert.Equal(
new[] { $"../fallback_folder_{uniqueFolderName}/token_folder_{uniqueFolderName}/token2_{uniqueFolderName}.md", $"a_folder_{uniqueFolderName}/a_{uniqueFolderName}.md", $"token_folder_{uniqueFolderName}/token1_{uniqueFolderName}.md", $"token_folder_{uniqueFolderName}/token2_{uniqueFolderName}.md" },
dependency.OrderBy(x => x).ToArray());
@@ -497,37 +563,41 @@ public void TestFallback_InclusionWithCodeFences()
// |- sample2.cs
// 1. Prepare data
- var root = @"markdown root.md main content start.
+ var root = """
+ markdown root.md main content start.
-markdown a content in root.md content start
+ markdown a content in root.md content start
-[!include[a](a_folder/a.md ""This is a.md"")]
+ [!include[a](a_folder/a.md "This is a.md")]
-markdown a content in root.md content end
+ markdown a content in root.md content end
-sample 1 code in root.md content start
+ sample 1 code in root.md content start
-[!CODE-cs[this is sample 1 code](code_folder/sample1.cs)]
+ [!CODE-cs[this is sample 1 code](code_folder/sample1.cs)]
-sample 1 code in root.md content end
+ sample 1 code in root.md content end
-sample 2 code in root.md content start
+ sample 2 code in root.md content start
-[!CODE-cs[this is sample 2 code](code_folder/sample2.cs)]
+ [!CODE-cs[this is sample 2 code](code_folder/sample2.cs)]
-sample 2 code in root.md content end
+ sample 2 code in root.md content end
-markdown root.md main content end.";
+ markdown root.md main content end.
+ """;
- var a = @"markdown a.md main content start.
+ var a = """
+ markdown a.md main content start.
-code_in_a code in a.md content start
+ code_in_a code in a.md content start
-[!CODE-cs[this is code_in_a code](code_in_a.cs)]
+ [!CODE-cs[this is code_in_a code](code_in_a.cs)]
-code_in_a in a.md content end
+ code_in_a in a.md content end
-markdown a.md a.md content end.";
+ markdown a.md a.md content end.
+ """;
var code_in_a = "namespace code_in_a{}";
@@ -553,22 +623,24 @@ code_in_a in a.md content end
//var rootMarked = service.Markup(Path.Combine(Directory.GetCurrentDirectory(), $"{uniqueFolderName}/root_folder"), root, fallbackFolders, "root.md");
var rootMarked = service.Markup("place", "holder");
var rootDependency = rootMarked.Dependency;
- Assert.Equal(@"markdown root.md main content start.
-markdown a content in root.md content start
-markdown a.md main content start.
-code_in_a code in a.md content start
-namespace code_in_a{}
-
code_in_a in a.md content end
-markdown a.md a.md content end.
-markdown a content in root.md content end
-sample 1 code in root.md content start
-namespace sample1{}
-
sample 1 code in root.md content end
-sample 2 code in root.md content start
-namespace sample2{}
-
sample 2 code in root.md content end
-markdown root.md main content end.
-".Replace("\r\n", "\n"), rootMarked.Html);
+ Assert.Equal("""
+ markdown root.md main content start.
+ markdown a content in root.md content start
+ markdown a.md main content start.
+ code_in_a code in a.md content start
+ namespace code_in_a{}
+
code_in_a in a.md content end
+ markdown a.md a.md content end.
+ markdown a content in root.md content end
+ sample 1 code in root.md content start
+ namespace sample1{}
+
sample 1 code in root.md content end
+ sample 2 code in root.md content start
+ namespace sample2{}
+
sample 2 code in root.md content end
+ markdown root.md main content end.
+
+ """.Replace("\r\n", "\n"), rootMarked.Html);
Assert.Equal(
new[] { "../fallback_folder/a_folder/code_in_a.cs", "../fallback_folder/code_folder/sample2.cs", "a_folder/a.md", "a_folder/code_in_a.cs", "code_folder/sample1.cs", "code_folder/sample2.cs" },
rootDependency.OrderBy(x => x).ToArray());
@@ -577,12 +649,14 @@ code_in_a in a.md content end
//var aMarked = service.Markup(Path.Combine(Directory.GetCurrentDirectory(), $"{uniqueFolderName}/root_folder"), a, fallbackFolders, "a_folder/a.md");
var aMarked = service.Markup("place", "holder");
var aDependency = aMarked.Dependency;
- Assert.Equal(@"markdown a.md main content start.
-code_in_a code in a.md content start
-namespace code_in_a{}
-
code_in_a in a.md content end
-markdown a.md a.md content end.
-".Replace("\r\n", "\n"), aMarked.Html);
+ Assert.Equal("""
+ markdown a.md main content start.
+ code_in_a code in a.md content start
+ namespace code_in_a{}
+
code_in_a in a.md content end
+ markdown a.md a.md content end.
+
+ """.Replace("\r\n", "\n"), aMarked.Html);
Assert.Equal(
new[] { "../../fallback_folder/a_folder/code_in_a.cs", "code_in_a.cs" },
aDependency.OrderBy(x => x).ToArray());
@@ -595,13 +669,15 @@ code_in_a in a.md content end
public void TestInclusion_InlineLevel()
{
// 1. Prepare data
- var root = @"
-Inline [!include[ref1](ref1.md ""This is root"")]
-Inline [!include[ref3](ref3.md ""This is root"")]
-";
+ var root = """
- var ref1 = @"[!include[ref2](ref2.md ""This is root"")]";
- var ref2 = @"## Inline inclusion do not parse header [!include[root](root.md ""This is root"")]";
+ Inline [!include[ref1](ref1.md "This is root")]
+ Inline [!include[ref3](ref3.md "This is root")]
+
+ """;
+
+ var ref1 = """[!include[ref2](ref2.md "This is root")]""";
+ var ref2 = """## Inline inclusion do not parse header [!include[root](root.md "This is root")]""";
var ref3 = "**Hello** ";
File.WriteAllText("root.md", root);
File.WriteAllText("ref1.md", ref1);
@@ -623,17 +699,21 @@ public void TestInclusion_InlineLevel()
public void TestBlockInclude_ShouldExcludeBracketInRegex()
{
// 1. Prepare data
- var root = @"[!INCLUDE [azure-probe-intro-include](inc1.md)].
+ var root = """
+ [!INCLUDE [azure-probe-intro-include](inc1.md)].
-[!INCLUDE [azure-arm-classic-important-include](inc2.md)] [Resource Manager model](inc1.md).
+ [!INCLUDE [azure-arm-classic-important-include](inc2.md)] [Resource Manager model](inc1.md).
-[!INCLUDE [azure-ps-prerequisites-include.md](inc3.md)]";
+ [!INCLUDE [azure-ps-prerequisites-include.md](inc3.md)]
+ """;
- var expected = @"inc1.
-inc2 Resource Manager model .
-inc3
-";
+ var expected = """
+ inc1.
+ inc2 Resource Manager model .
+ inc3
+
+ """;
var inc1 = "inc1";
var inc2 = "inc2";
@@ -655,31 +735,37 @@ public void TestBlockInclude_ShouldExcludeBracketInRegex()
[Trait("Related", "Inclusion")]
public void TestBlockInclude_ImageRelativePath()
{
- var root = @"
-# Hello World
+ var root = """
+
+ # Hello World
+
+ Test Include File
+
+ [!include[refa](../../include/a.md)]
+
-Test Include File
+ """;
-[!include[refa](../../include/a.md)]
+ var refa = """
-";
+ # Hello Include File A
- var refa = @"
-# Hello Include File A
+ ![img](./media/refb.png)
-![img](./media/refb.png)
-";
+ """;
var rootPath = "r/parent_folder/child_folder/root.md";
TestUtility.WriteToFile(rootPath, root);
TestUtility.WriteToFile("r/include/a.md", refa);
var result = TestUtility.MarkupWithoutSourceInfo(root, rootPath);
- var expected = @"Hello World
-Test Include File
-Hello Include File A
-
-";
+ var expected = """
+ Hello World
+ Test Include File
+ Hello Include File A
+
+
+ """;
Assert.Equal(expected.Replace("\r\n", "\n"), result.Html);
var dependency = result.Dependency;
@@ -691,29 +777,35 @@ Test Include File
[Trait("Related", "Inclusion")]
public void TestBlockInclude_WithYamlHeader()
{
- var root = @"
-# Hello World
+ var root = """
+
+ # Hello World
-Test Include File
+ Test Include File
-[!include[refa](../../include/a.md)]
+ [!include[refa](../../include/a.md)]
-";
- var refa = @"---
-a: b
----
-body";
+ """;
+
+ var refa = """
+ ---
+ a: b
+ ---
+ body
+ """;
var rootPath = "r/parent_folder/child_folder/root.md";
TestUtility.WriteToFile(rootPath, root);
TestUtility.WriteToFile("r/include/a.md", refa);
var result = TestUtility.MarkupWithoutSourceInfo(root, rootPath);
- var expected = @"Hello World
-Test Include File
-body
-";
+ var expected = """
+ Hello World
+ Test Include File
+ body
+
+ """;
Assert.Equal(expected.Replace("\r\n", "\n"), result.Html);
var dependency = result.Dependency;
@@ -767,24 +859,30 @@ public void TestComplexImageBlockSrcResolveInToken()
// |- b
// | |- token.md
// | |- img.jpg
- var r = @"
-[!include[](b/token.md)]
-";
- var token = @"
-:::image source=""example.jpg"" type=""complex"" alt-text=""example"":::
-Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-:::image-end:::
-";
+ var r = """
+
+ [!include[](b/token.md)]
+
+ """;
+ var token = """
+
+ :::image source="example.jpg" type="complex" alt-text="example":::
+ Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
+ :::image-end:::
+
+ """;
TestUtility.WriteToFile("r/r.md", r);
TestUtility.WriteToFile("r/b/token.md", token);
var marked = TestUtility.MarkupWithoutSourceInfo(r, "r/r.md");
- var expected = @"
-
-
-Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
-
-";
+ var expected = """
+
+
+
+ Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
+
+
+ """;
Assert.Equal(expected.Replace("\r\n", "\n"), marked.Html);
}
@@ -792,43 +890,47 @@ public void TestComplexImageBlockSrcResolveInToken()
public void ImageTestBlockGeneralWithInclude()
{
var source = "[!include[](includes/source.md)]";
- var includeContent = @":::image type=""content"" source=""../media/example.jpg"" alt-text=""example"" lightbox=""../media/example.jpg"":::
+ var includeContent = """
+ :::image type="content" source="../media/example.jpg" alt-text="example" lightbox="../media/example.jpg":::
-:::image type=""content"" source=""~/media/example.jpg"" alt-text=""example"" lightbox=""~/media/example.jpg"":::
+ :::image type="content" source="~/media/example.jpg" alt-text="example" lightbox="~/media/example.jpg":::
-:::image type=""content"" source=""~/media/example.jpg"" alt-text=""example"" lightbox=""../media/example.jpg"":::
+ :::image type="content" source="~/media/example.jpg" alt-text="example" lightbox="../media/example.jpg":::
-:::image type=""content"" source=""../media/example.jpg"" alt-text=""example"" lightbox=""~/media/example.jpg"":::";
+ :::image type="content" source="../media/example.jpg" alt-text="example" lightbox="~/media/example.jpg":::
+ """;
TestUtility.WriteToFile("a.md", source);
TestUtility.WriteToFile("includes/source.md", includeContent);
var marked = TestUtility.MarkupWithoutSourceInfo(source, "a.md");
- var expected = @"
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-";
+ var expected = """
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ """;
Assert.Equal(expected.Replace("\r\n", "\n").Replace("\n", ""), marked.Html.Replace("\r\n", "\n").Replace("\n", ""));
}
@@ -842,18 +944,24 @@ public void TestImageWithIconTypeBlockSrcResolveInToken()
// |- b
// | |- token.md
// | |- img.jpg
- var r = @"
-[!include[](b/token.md)]
-";
- var token = @"
-:::image source=""example.svg"" type=""icon"" alt-text=""example"":::
-";
+ var r = """
+
+ [!include[](b/token.md)]
+
+ """;
+ var token = """
+
+ :::image source="example.svg" type="icon" alt-text="example":::
+
+ """;
TestUtility.WriteToFile("r/r.md", r);
TestUtility.WriteToFile("r/b/token.md", token);
var marked = TestUtility.MarkupWithoutSourceInfo(r, "r/r.md");
- var expected = @"
-
-";
+ var expected = """
+
+
+
+ """;
Assert.Equal(expected.Replace("\r\n", "\n"), marked.Html);
}
}
From 50d651e5d2ebd5e687c3f5b575d57d71af2ea3a9 Mon Sep 17 00:00:00 2001
From: Simon Cropp
Date: Tue, 5 Nov 2024 23:28:58 +1100
Subject: [PATCH 06/70] chore: remove redundant semi-colons (#10356)
---
.../Processors/FragmentsValidationInterpreter.cs | 2 +-
src/Docfx.Build/XRefMaps/XRefMapDownloader.cs | 2 +-
src/Docfx.Dotnet/DotnetApiCatalog.ApiPage.cs | 2 +-
src/Docfx.MarkdigEngine.Extensions/ExtensionsHelper.cs | 2 +-
test/Docfx.Build.RestApi.Tests/RestApiDocumentProcessorTest.cs | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/Docfx.Build.SchemaDriven/Processors/FragmentsValidationInterpreter.cs b/src/Docfx.Build.SchemaDriven/Processors/FragmentsValidationInterpreter.cs
index f1b356e04e7..2d0459555ec 100644
--- a/src/Docfx.Build.SchemaDriven/Processors/FragmentsValidationInterpreter.cs
+++ b/src/Docfx.Build.SchemaDriven/Processors/FragmentsValidationInterpreter.cs
@@ -42,7 +42,7 @@ public object Interpret(BaseSchema schema, object value, IProcessContext context
$"Markdown property `{path.Trim('/')}` is not allowed inside a YAML code block",
code: WarningCodes.Overwrite.InvalidMarkdownFragments);
return value;
- };
+ }
if (schema.MergeType == MergeType.Key)
{
diff --git a/src/Docfx.Build/XRefMaps/XRefMapDownloader.cs b/src/Docfx.Build/XRefMaps/XRefMapDownloader.cs
index 4c523ddb876..d1bb1ef97c8 100644
--- a/src/Docfx.Build/XRefMaps/XRefMapDownloader.cs
+++ b/src/Docfx.Build/XRefMaps/XRefMapDownloader.cs
@@ -134,7 +134,7 @@ private static async ValueTask ReadLocalFileAsync(string filePat
{
using var reader = new StreamReader(stream);
return YamlUtility.Deserialize(reader);
- };
+ }
}
}
diff --git a/src/Docfx.Dotnet/DotnetApiCatalog.ApiPage.cs b/src/Docfx.Dotnet/DotnetApiCatalog.ApiPage.cs
index 7540da20dc2..b77b081f65d 100644
--- a/src/Docfx.Dotnet/DotnetApiCatalog.ApiPage.cs
+++ b/src/Docfx.Dotnet/DotnetApiCatalog.ApiPage.cs
@@ -86,7 +86,7 @@ _ when SymbolHelper.IsConstructor(method) => "Constructor",
_ when SymbolHelper.IsOperator(method) => "Operator",
_ when SymbolHelper.IsMember(method) => "Method",
_ => throw new NotSupportedException($"Unknown method type {method.MethodKind}"),
- }); ;
+ });
foreach (var (s, c) in symbols)
Method((IMethodSymbol)s, c, 2);
break;
diff --git a/src/Docfx.MarkdigEngine.Extensions/ExtensionsHelper.cs b/src/Docfx.MarkdigEngine.Extensions/ExtensionsHelper.cs
index 1619e0bd5d2..ae633bf1d24 100644
--- a/src/Docfx.MarkdigEngine.Extensions/ExtensionsHelper.cs
+++ b/src/Docfx.MarkdigEngine.Extensions/ExtensionsHelper.cs
@@ -239,7 +239,7 @@ private static bool MatchPath(ref StringSlice slice, ref string path)
else
{
includedFilePath = TryGetStringBeforeChars(new char[] { ')' }, ref slice, breakOnWhitespace: true);
- };
+ }
if (includedFilePath == null)
{
diff --git a/test/Docfx.Build.RestApi.Tests/RestApiDocumentProcessorTest.cs b/test/Docfx.Build.RestApi.Tests/RestApiDocumentProcessorTest.cs
index 9eb31f8b71a..e2dcb241d03 100644
--- a/test/Docfx.Build.RestApi.Tests/RestApiDocumentProcessorTest.cs
+++ b/test/Docfx.Build.RestApi.Tests/RestApiDocumentProcessorTest.cs
@@ -438,7 +438,7 @@ public void SystemKeysListShouldBeComplete()
var outputRawModelPath = GetRawModelFilePath("contacts.json");
Assert.True(File.Exists(outputRawModelPath));
- var model = JsonUtility.Deserialize>(outputRawModelPath); ;
+ var model = JsonUtility.Deserialize>(outputRawModelPath);
var systemKeys = ToList(model[Constants.PropertyName.SystemKeys]);
Assert.NotEmpty(systemKeys);
foreach (var key in model.Keys.Where(key => key[0] != '_' && !userKeys.Contains(key)))
From 87ac7891b100a82c156b655494cf31ca938c00b7 Mon Sep 17 00:00:00 2001
From: Simon Cropp
Date: Tue, 5 Nov 2024 23:29:30 +1100
Subject: [PATCH 07/70] chore: avoid cast in loop and null ref warning in
TestKey (#10353)
* avoid cast in loop and null ref warning in TestKey
* Update Merger.cs
---
.../Processors/Merger.cs | 21 ++++++++++++++-----
1 file changed, 16 insertions(+), 5 deletions(-)
diff --git a/src/Docfx.Build.SchemaDriven/Processors/Merger.cs b/src/Docfx.Build.SchemaDriven/Processors/Merger.cs
index 3b6dadf990f..7df1113330d 100644
--- a/src/Docfx.Build.SchemaDriven/Processors/Merger.cs
+++ b/src/Docfx.Build.SchemaDriven/Processors/Merger.cs
@@ -135,11 +135,22 @@ private static bool TestKey(object source, object overrides, BaseSchema schema)
{
return false;
}
- return schema?.Properties != null && schema.Properties.Any(p => p.Value.MergeType == MergeType.Key) && schema.Properties.Where(p => p.Value.MergeType == MergeType.Key).All(p =>
+
+ var properties = schema?.Properties;
+ if (properties == null)
{
- (source as IDictionary).TryGetValue(p.Key, out var s);
- (overrides as IDictionary).TryGetValue(p.Key, out var o);
- return object.Equals(s, o);
- });
+ return false;
+ }
+
+ var sourceDictionary = (IDictionary)source;
+ var overridesDictionary = (IDictionary)overrides;
+ return properties.Any(p => p.Value.MergeType == MergeType.Key) &&
+ properties.Where(p => p.Value.MergeType == MergeType.Key)
+ .All(p =>
+ {
+ sourceDictionary.TryGetValue(p.Key, out var s);
+ overridesDictionary.TryGetValue(p.Key, out var o);
+ return object.Equals(s, o);
+ });
}
}
From b72997abc7e481a1b4af3425c004c71c37f463d4 Mon Sep 17 00:00:00 2001
From: Simon Cropp
Date: Tue, 5 Nov 2024 23:29:58 +1100
Subject: [PATCH 08/70] chore: remove redundant Count > 0 checks (#10354)
remove redudnant Count > 0 checks
---
.../FillReferenceInformation.cs | 12 +++---
.../ManagedReferenceDocumentProcessor.cs | 42 ++++++-------------
.../SplitClassPageToMemberLevel.cs | 42 ++++++-------------
.../FillReferenceInformation.cs | 12 +++---
.../UniversalReferenceDocumentProcessor.cs | 42 ++++++-------------
5 files changed, 46 insertions(+), 104 deletions(-)
diff --git a/src/Docfx.Build.ManagedReference/FillReferenceInformation.cs b/src/Docfx.Build.ManagedReference/FillReferenceInformation.cs
index 1935a7a605b..96268da6666 100644
--- a/src/Docfx.Build.ManagedReference/FillReferenceInformation.cs
+++ b/src/Docfx.Build.ManagedReference/FillReferenceInformation.cs
@@ -22,16 +22,14 @@ public class FillReferenceInformation : BaseDocumentBuildStep
public override void Postbuild(ImmutableList models, IHostService host)
{
- if (models.Count > 0)
+ foreach (var model in models)
{
- foreach (var model in models)
+ if (model.Type != DocumentType.Article)
{
- if (model.Type != DocumentType.Article)
- {
- continue;
- }
- FillCore((PageViewModel)model.Content, host, model.OriginalFileAndType.File);
+ continue;
}
+
+ FillCore((PageViewModel)model.Content, host, model.OriginalFileAndType.File);
}
}
diff --git a/src/Docfx.Build.ManagedReference/ManagedReferenceDocumentProcessor.cs b/src/Docfx.Build.ManagedReference/ManagedReferenceDocumentProcessor.cs
index 31b49b99d47..ecf6d2c0b8c 100644
--- a/src/Docfx.Build.ManagedReference/ManagedReferenceDocumentProcessor.cs
+++ b/src/Docfx.Build.ManagedReference/ManagedReferenceDocumentProcessor.cs
@@ -205,34 +205,25 @@ private static IEnumerable GetXRefInfo(ItemViewModel item, string key,
Href = ((RelativePath)key).UrlEncode().ToString(),
CommentId = item.CommentId,
};
- if (item.Names.Count > 0)
+ foreach (var pair in item.Names)
{
- foreach (var pair in item.Names)
- {
- result["name." + pair.Key] = pair.Value;
- }
+ result["name." + pair.Key] = pair.Value;
}
if (!string.IsNullOrEmpty(item.FullName))
{
result["fullName"] = item.FullName;
}
- if (item.FullNames.Count > 0)
+ foreach (var pair in item.FullNames)
{
- foreach (var pair in item.FullNames)
- {
- result["fullName." + pair.Key] = pair.Value;
- }
+ result["fullName." + pair.Key] = pair.Value;
}
if (!string.IsNullOrEmpty(item.NameWithType))
{
result["nameWithType"] = item.NameWithType;
}
- if (item.NamesWithType.Count > 0)
+ foreach (var pair in item.NamesWithType)
{
- foreach (var pair in item.NamesWithType)
- {
- result["nameWithType." + pair.Key] = pair.Value;
- }
+ result["nameWithType." + pair.Key] = pair.Value;
}
yield return result;
// generate overload xref spec.
@@ -263,34 +254,25 @@ private static XRefSpec GetXRefSpecFromReference(ReferenceViewModel item)
CommentId = item.CommentId,
IsSpec = item.IsExternal != true,
};
- if (item.NameInDevLangs.Count > 0)
+ foreach (var pair in item.NameInDevLangs)
{
- foreach (var pair in item.NameInDevLangs)
- {
- result["name." + pair.Key] = pair.Value;
- }
+ result["name." + pair.Key] = pair.Value;
}
if (!string.IsNullOrEmpty(item.FullName))
{
result["fullName"] = item.FullName;
}
- if (item.FullNameInDevLangs.Count > 0)
+ foreach (var pair in item.FullNameInDevLangs)
{
- foreach (var pair in item.FullNameInDevLangs)
- {
- result["fullName." + pair.Key] = pair.Value;
- }
+ result["fullName." + pair.Key] = pair.Value;
}
if (!string.IsNullOrEmpty(item.NameWithType))
{
result["nameWithType"] = item.NameWithType;
}
- if (item.NameWithTypeInDevLangs.Count > 0)
+ foreach (var pair in item.NameWithTypeInDevLangs)
{
- foreach (var pair in item.NameWithTypeInDevLangs)
- {
- result["nameWithType." + pair.Key] = pair.Value;
- }
+ result["nameWithType." + pair.Key] = pair.Value;
}
if (item.Additional != null)
{
diff --git a/src/Docfx.Build.ManagedReference/SplitClassPageToMemberLevel.cs b/src/Docfx.Build.ManagedReference/SplitClassPageToMemberLevel.cs
index 874bfb5ec06..73349a07201 100644
--- a/src/Docfx.Build.ManagedReference/SplitClassPageToMemberLevel.cs
+++ b/src/Docfx.Build.ManagedReference/SplitClassPageToMemberLevel.cs
@@ -343,26 +343,17 @@ private ReferenceViewModel ConvertToReference(ItemViewModel item)
FullName = item.FullName,
};
- if (item.Names.Count > 0)
+ foreach (var pair in item.Names)
{
- foreach (var pair in item.Names)
- {
- reference.NameInDevLangs[pair.Key] = pair.Value;
- }
+ reference.NameInDevLangs[pair.Key] = pair.Value;
}
- if (item.FullNames.Count > 0)
+ foreach (var pair in item.FullNames)
{
- foreach (var pair in item.FullNames)
- {
- reference.FullNameInDevLangs[pair.Key] = pair.Value;
- }
+ reference.FullNameInDevLangs[pair.Key] = pair.Value;
}
- if (item.NamesWithType.Count > 0)
+ foreach (var pair in item.NamesWithType)
{
- foreach (var pair in item.NamesWithType)
- {
- reference.NameWithTypeInDevLangs[pair.Key] = pair.Value;
- }
+ reference.NameWithTypeInDevLangs[pair.Key] = pair.Value;
}
return reference;
@@ -375,26 +366,17 @@ private static void MergeWithReference(ItemViewModel item, ReferenceViewModel re
item.FullName = reference.FullName;
item.CommentId = reference.CommentId;
- if (reference.NameInDevLangs.Count > 0)
+ foreach (var pair in reference.NameInDevLangs)
{
- foreach (var pair in reference.NameInDevLangs)
- {
- item.Names[pair.Key] = pair.Value;
- }
+ item.Names[pair.Key] = pair.Value;
}
- if (reference.FullNameInDevLangs.Count > 0)
+ foreach (var pair in reference.FullNameInDevLangs)
{
- foreach (var pair in reference.FullNameInDevLangs)
- {
- item.FullNames[pair.Key] = pair.Value;
- }
+ item.FullNames[pair.Key] = pair.Value;
}
- if (reference.NameWithTypeInDevLangs.Count > 0)
+ foreach (var pair in reference.NameWithTypeInDevLangs)
{
- foreach (var pair in reference.NameWithTypeInDevLangs)
- {
- item.NamesWithType[pair.Key] = pair.Value;
- }
+ item.NamesWithType[pair.Key] = pair.Value;
}
// SHOULD sync with ItemViewModel & ReferenceViewModel
diff --git a/src/Docfx.Build.UniversalReference/FillReferenceInformation.cs b/src/Docfx.Build.UniversalReference/FillReferenceInformation.cs
index 3f0a238d371..f79670c0425 100644
--- a/src/Docfx.Build.UniversalReference/FillReferenceInformation.cs
+++ b/src/Docfx.Build.UniversalReference/FillReferenceInformation.cs
@@ -20,16 +20,14 @@ public class FillReferenceInformation : BaseDocumentBuildStep
public override void Postbuild(ImmutableList models, IHostService host)
{
- if (models.Count > 0)
+ foreach (var model in models)
{
- foreach (var model in models)
+ if (model.Type != DocumentType.Article)
{
- if (model.Type != DocumentType.Article)
- {
- continue;
- }
- FillCore((PageViewModel)model.Content, host);
+ continue;
}
+
+ FillCore((PageViewModel)model.Content, host);
}
}
diff --git a/src/Docfx.Build.UniversalReference/UniversalReferenceDocumentProcessor.cs b/src/Docfx.Build.UniversalReference/UniversalReferenceDocumentProcessor.cs
index 5b0ac2662bb..f8bfa207266 100644
--- a/src/Docfx.Build.UniversalReference/UniversalReferenceDocumentProcessor.cs
+++ b/src/Docfx.Build.UniversalReference/UniversalReferenceDocumentProcessor.cs
@@ -159,34 +159,25 @@ private static IEnumerable GetXRefInfo(
Href = ((RelativePath)key).UrlEncode().ToString(),
CommentId = item.CommentId,
};
- if (item.Names.Count > 0)
+ foreach (var pair in item.Names)
{
- foreach (var pair in item.Names)
- {
- result["name." + pair.Key] = pair.Value;
- }
+ result["name." + pair.Key] = pair.Value;
}
if (!string.IsNullOrEmpty(item.FullName))
{
result["fullName"] = item.FullName;
}
- if (item.FullNames.Count > 0)
+ foreach (var pair in item.FullNames)
{
- foreach (var pair in item.FullNames)
- {
- result["fullName." + pair.Key] = pair.Value;
- }
+ result["fullName." + pair.Key] = pair.Value;
}
if (!string.IsNullOrEmpty(item.NameWithType))
{
result["nameWithType"] = item.NameWithType;
}
- if (item.NamesWithType.Count > 0)
+ foreach (var pair in item.NamesWithType)
{
- foreach (var pair in item.NamesWithType)
- {
- result["nameWithType." + pair.Key] = pair.Value;
- }
+ result["nameWithType." + pair.Key] = pair.Value;
}
yield return result;
@@ -217,34 +208,25 @@ private static XRefSpec GetXRefSpecFromReference(ReferenceViewModel item)
Href = item.Href,
CommentId = item.CommentId,
};
- if (item.NameInDevLangs.Count > 0)
+ foreach (var pair in item.NameInDevLangs)
{
- foreach (var pair in item.NameInDevLangs)
- {
- result["name." + pair.Key] = pair.Value;
- }
+ result["name." + pair.Key] = pair.Value;
}
if (!string.IsNullOrEmpty(item.FullName))
{
result["fullName"] = item.FullName;
}
- if (item.FullNameInDevLangs.Count > 0)
+ foreach (var pair in item.FullNameInDevLangs)
{
- foreach (var pair in item.FullNameInDevLangs)
- {
- result["fullName." + pair.Key] = pair.Value;
- }
+ result["fullName." + pair.Key] = pair.Value;
}
if (!string.IsNullOrEmpty(item.NameWithType))
{
result["nameWithType"] = item.NameWithType;
}
- if (item.NameWithTypeInDevLangs.Count > 0)
+ foreach (var pair in item.NameWithTypeInDevLangs)
{
- foreach (var pair in item.NameWithTypeInDevLangs)
- {
- result["nameWithType." + pair.Key] = pair.Value;
- }
+ result["nameWithType." + pair.Key] = pair.Value;
}
if (item.Additional != null)
{
From 65f9bed2db039f09e67188265ae54193bb567fcf Mon Sep 17 00:00:00 2001
From: Yufei Huang
Date: Tue, 5 Nov 2024 21:14:48 +0800
Subject: [PATCH 09/70] test: update test snapshots
---
...nterpolatedStrings.html.view.verified.json | 46 +-
...CSharp10.Issue7737.html.view.verified.json | 34 +-
...StructConstructors.html.view.verified.json | 46 +-
...adOnlyRecordStruct.html.view.verified.json | 46 +-
...harp10.RecordClass.html.view.verified.json | 46 +-
...arp10.RecordStruct.html.view.verified.json | 40 +-
.../api/CSharp10.html.view.verified.json | 14 +-
...DefinedOperators-1.html.view.verified.json | 106 +-
...1.RequiredModifier.html.view.verified.json | 46 +-
...p11.ScopedModifier.html.view.verified.json | 34 +-
...erfaces.IGetNext-1.html.view.verified.json | 16 +-
...ces.RepeatSequence.html.view.verified.json | 44 +-
...embersInInterfaces.html.view.verified.json | 28 +-
.../api/CSharp11.html.view.verified.json | 14 +-
...lectionExpressions.html.view.verified.json | 40 +-
...ltLambdaParameters.html.view.verified.json | 34 +-
...arp12.InlineArrays.html.view.verified.json | 22 +-
...uctors.BankAccount.html.view.verified.json | 54 +-
...ctors.CheckAccount.html.view.verified.json | 64 +-
...structors.Distance.html.view.verified.json | 40 +-
...rimaryConstructors.html.view.verified.json | 28 +-
...ReadOnlyParameters.html.view.verified.json | 34 +-
.../api/CSharp12.html.view.verified.json | 18 +-
...nterfaceMembers.IA.html.view.verified.json | 16 +-
...faceMembers.Nested.html.view.verified.json | 28 +-
...ltInterfaceMembers.html.view.verified.json | 40 +-
...sposableRefStructs.html.view.verified.json | 34 +-
.../CSharp8.Issue4007.html.view.verified.json | 40 +-
.../api/CSharp8.Misc.html.view.verified.json | 82 +-
...ableReferenceTypes.html.view.verified.json | 46 +-
...p8.ReadOnlyMembers.html.view.verified.json | 50 +-
.../api/CSharp8.html.view.verified.json | 18 +-
...9.FunctionPointers.html.view.verified.json | 34 +-
...p9.InitOnlySetters.html.view.verified.json | 46 +-
...ativeSizedIntegers.html.view.verified.json | 40 +-
...RecordTypes.Person.html.view.verified.json | 50 +-
...ecordTypes.Teacher.html.view.verified.json | 48 +-
...Sharp9.RecordTypes.html.view.verified.json | 28 +-
.../api/CSharp9.html.view.verified.json | 14 +-
.../api/toc.html.view.verified.json | 80 +-
...ExampleClass.-ctor.html.view.verified.json | 14 +-
...ampleClass.MyEvent.html.view.verified.json | 10 +-
...mpleClass.MyMethod.html.view.verified.json | 14 +-
...leClass.MyProperty.html.view.verified.json | 14 +-
...ample.ExampleClass.html.view.verified.json | 36 +-
.../api/MyExample.html.view.verified.json | 4 +-
.../api/toc.html.view.verified.json | 30 +-
.../api/toc.json.view.verified.json | 2 +-
.../api/toc.verified.json | 2 +-
.../index.html.view.verified.json | 10 +-
.../toc.html.view.verified.json | 4 +-
...romAssembly.Class1.html.view.verified.json | 40 +-
...Assembly.Issue5432.html.view.verified.json | 28 +-
.../BuildFromAssembly.html.view.verified.json | 6 +-
...pSourceCode.CSharp.html.view.verified.json | 34 +-
...omCSharpSourceCode.html.view.verified.json | 4 +-
....Class1.IIssue8948.html.view.verified.json | 16 +-
...t.Class1.Issue8665.html.view.verified.json | 70 +-
...Issue8696Attribute.html.view.verified.json | 108 +-
...t.Class1.Issue8948.html.view.verified.json | 34 +-
...t.Class1.Issue9260.html.view.verified.json | 28 +-
...ject.Class1.Test-1.html.view.verified.json | 28 +-
...FromProject.Class1.html.view.verified.json | 94 +-
...ildFromProject.Dog.html.view.verified.json | 46 +-
...roject.IInheritdoc.html.view.verified.json | 16 +-
...Issue6366.Class1-1.html.view.verified.json | 38 +-
...c.Issue6366.Class2.html.view.verified.json | 38 +-
...heritdoc.Issue6366.html.view.verified.json | 28 +-
...heritdoc.Issue7035.html.view.verified.json | 40 +-
...heritdoc.Issue7484.html.view.verified.json | 46 +-
...heritdoc.Issue8101.html.view.verified.json | 40 +-
...heritdoc.Issue8129.html.view.verified.json | 28 +-
...Project.Inheritdoc.html.view.verified.json | 46 +-
...ject.Issue8540.A.A.html.view.verified.json | 28 +-
...roject.Issue8540.A.html.view.verified.json | 6 +-
...ject.Issue8540.B.B.html.view.verified.json | 28 +-
...roject.Issue8540.B.html.view.verified.json | 6 +-
...mProject.Issue8540.html.view.verified.json | 8 +-
...mProject.Issue8725.html.view.verified.json | 40 +-
.../BuildFromProject.html.view.verified.json | 40 +-
...rceCode.BaseClass1.html.view.verified.json | 40 +-
...BSourceCode.Class1.html.view.verified.json | 58 +-
...ldFromVBSourceCode.html.view.verified.json | 6 +-
.../CatLibrary.Cat-2.html.view.verified.json | 128 +-
...ary.CatException-1.html.view.verified.json | 101 +-
...tLibrary.Complex-2.html.view.verified.json | 28 +-
...sRefType.ColorType.html.view.verified.json | 28 +-
...ainersRefTypeChild.html.view.verified.json | 28 +-
...TypeChildInterface.html.view.verified.json | 10 +-
...ersRefTypeDelegate.html.view.verified.json | 10 +-
....ContainersRefType.html.view.verified.json | 50 +-
...xplicitLayoutClass.html.view.verified.json | 28 +-
...rary.Core.Issue231.html.view.verified.json | 40 +-
.../CatLibrary.Core.html.view.verified.json | 18 +-
...ary.FakeDelegate-1.html.view.verified.json | 10 +-
...CatLibrary.IAnimal.html.view.verified.json | 44 +-
.../CatLibrary.ICat.html.view.verified.json | 30 +-
...rary.ICatExtension.html.view.verified.json | 40 +-
...ary.MRefDelegate-3.html.view.verified.json | 10 +-
...MRefNormalDelegate.html.view.verified.json | 10 +-
.../CatLibrary.Tom.html.view.verified.json | 38 +-
...y.TomFromBaseClass.html.view.verified.json | 40 +-
.../api/CatLibrary.html.view.verified.json | 26 +-
...meration.ColorType.html.view.verified.json | 28 +-
...f.Demo.Enumeration.html.view.verified.json | 4 +-
.../api/toc.html.view.verified.json | 112 +-
.../api/toc.pdf.verified.json | 365 ++--
...ary.CatException-1.html.view.verified.json | 2 +-
.../apipage/toc.html.view.verified.json | 152 +-
.../apipage/toc.pdf.verified.json | 850 ++++-----
...p_coding_standards.html.view.verified.json | 10 +-
...fx_getting_started.html.view.verified.json | 10 +-
...neering_guidelines.html.view.verified.json | 10 +-
.../articles/markdown.html.view.verified.json | 10 +-
.../articles/seed.pdf.verified.json | 63 +-
.../articles/toc.html.view.verified.json | 18 +-
.../index.html.view.verified.json | 10 +-
.../SamplesTest.Seed/index.verified.json | 6 +-
...romAssembly.Class1.html.view.verified.json | 10 +-
...Assembly.Issue5432.html.view.verified.json | 10 +-
.../BuildFromAssembly.html.view.verified.json | 10 +-
...pSourceCode.CSharp.html.view.verified.json | 10 +-
...omCSharpSourceCode.html.view.verified.json | 10 +-
....Class1.IIssue8948.html.view.verified.json | 10 +-
...t.Class1.Issue8665.html.view.verified.json | 10 +-
...Issue8696Attribute.html.view.verified.json | 10 +-
...t.Class1.Issue8948.html.view.verified.json | 10 +-
...t.Class1.Issue9260.html.view.verified.json | 10 +-
...ject.Class1.Test-1.html.view.verified.json | 10 +-
...FromProject.Class1.html.view.verified.json | 10 +-
...ildFromProject.Dog.html.view.verified.json | 10 +-
...roject.IInheritdoc.html.view.verified.json | 10 +-
...Issue6366.Class1-1.html.view.verified.json | 10 +-
...c.Issue6366.Class2.html.view.verified.json | 10 +-
...heritdoc.Issue6366.html.view.verified.json | 10 +-
...heritdoc.Issue7035.html.view.verified.json | 10 +-
...heritdoc.Issue7484.html.view.verified.json | 10 +-
...heritdoc.Issue8101.html.view.verified.json | 10 +-
...heritdoc.Issue8129.html.view.verified.json | 10 +-
...Project.Inheritdoc.html.view.verified.json | 10 +-
...ject.Issue8540.A.A.html.view.verified.json | 10 +-
...roject.Issue8540.A.html.view.verified.json | 10 +-
...ject.Issue8540.B.B.html.view.verified.json | 10 +-
...roject.Issue8540.B.html.view.verified.json | 10 +-
...mProject.Issue8540.html.view.verified.json | 10 +-
...mProject.Issue8725.html.view.verified.json | 10 +-
.../BuildFromProject.html.view.verified.json | 10 +-
...rceCode.BaseClass1.html.view.verified.json | 10 +-
...BSourceCode.Class1.html.view.verified.json | 10 +-
...ldFromVBSourceCode.html.view.verified.json | 10 +-
.../CatLibrary.Cat-2.html.view.verified.json | 10 +-
...ary.CatException-1.html.view.verified.json | 12 +-
...tLibrary.Complex-2.html.view.verified.json | 10 +-
...sRefType.ColorType.html.view.verified.json | 10 +-
...ainersRefTypeChild.html.view.verified.json | 10 +-
...TypeChildInterface.html.view.verified.json | 10 +-
...ersRefTypeDelegate.html.view.verified.json | 10 +-
....ContainersRefType.html.view.verified.json | 10 +-
...xplicitLayoutClass.html.view.verified.json | 10 +-
...rary.Core.Issue231.html.view.verified.json | 10 +-
.../CatLibrary.Core.html.view.verified.json | 10 +-
...ary.FakeDelegate-1.html.view.verified.json | 10 +-
...CatLibrary.IAnimal.html.view.verified.json | 10 +-
.../CatLibrary.ICat.html.view.verified.json | 10 +-
...rary.ICatExtension.html.view.verified.json | 10 +-
...ary.MRefDelegate-3.html.view.verified.json | 10 +-
...MRefNormalDelegate.html.view.verified.json | 10 +-
.../md/CatLibrary.Tom.html.view.verified.json | 10 +-
...y.TomFromBaseClass.html.view.verified.json | 10 +-
.../md/CatLibrary.html.view.verified.json | 10 +-
...meration.ColorType.html.view.verified.json | 10 +-
...f.Demo.Enumeration.html.view.verified.json | 10 +-
.../md/MRef.Demo.html.view.verified.json | 10 +-
.../md/MRef.html.view.verified.json | 10 +-
.../md/toc.html.view.verified.json | 152 +-
.../SamplesTest.Seed/md/toc.pdf.verified.json | 232 ++-
.../pdf/cover.html.view.verified.json | 10 +-
.../pdf/toc.html.view.verified.json | 136 +-
.../pdf/toc.pdf.verified.json | 1697 ++++++++---------
.../restapi/contacts.html.view.verified.json | 40 +-
.../restapi/petstore.html.view.verified.json | 94 +-
.../restapi/toc.html.view.verified.json | 8 +-
.../restapi/toc.pdf.verified.json | 63 +-
.../toc.html.view.verified.json | 16 +-
.../SamplesTest.Seed/toc.pdf.verified.json | 20 +-
185 files changed, 4058 insertions(+), 4183 deletions(-)
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.ConstantInterpolatedStrings.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.ConstantInterpolatedStrings.html.view.verified.json
index de79d905e9e..a94c1350a01 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.ConstantInterpolatedStrings.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.ConstantInterpolatedStrings.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -167,14 +167,14 @@
},
"id": "S1",
"path": "src/CSharp10.cs",
- "startLine": 22.0,
- "endLine": 0.0
+ "startLine": 22,
+ "endLine": 0
},
"assemblies": [
"CSharp"
],
"namespace": "CSharp10",
- "level": 0.0,
+ "level": 0,
"type": "field",
"summary": "",
"platform": null,
@@ -302,14 +302,14 @@
},
"id": "S2",
"path": "src/CSharp10.cs",
- "startLine": 23.0,
- "endLine": 0.0
+ "startLine": 23,
+ "endLine": 0
},
"assemblies": [
"CSharp"
],
"namespace": "CSharp10",
- "level": 0.0,
+ "level": 0,
"type": "field",
"summary": "",
"platform": null,
@@ -437,14 +437,14 @@
},
"id": "S3",
"path": "src/CSharp10.cs",
- "startLine": 24.0,
- "endLine": 0.0
+ "startLine": 24,
+ "endLine": 0
},
"assemblies": [
"CSharp"
],
"namespace": "CSharp10",
- "level": 0.0,
+ "level": 0,
"type": "field",
"summary": "",
"platform": null,
@@ -506,8 +506,8 @@
},
"id": "ConstantInterpolatedStrings",
"path": "src/CSharp10.cs",
- "startLine": 20.0,
- "endLine": 0.0
+ "startLine": 20,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -557,7 +557,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -619,11 +619,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
- "level": 1.0,
+ "level": 1,
"inheritedMembers": [
{
"uid": "System.Object.Equals(System.Object)",
@@ -672,7 +672,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -721,7 +721,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -770,7 +770,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -819,7 +819,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -868,7 +868,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -917,7 +917,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -966,7 +966,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_systemKeys": [
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.Issue7737.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.Issue7737.html.view.verified.json
index 7ab742996db..8854e5e002d 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.Issue7737.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.Issue7737.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -121,8 +121,8 @@
},
"id": "Foo",
"path": "src/CSharp10.cs",
- "startLine": 32.0,
- "endLine": 0.0
+ "startLine": 32,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -173,7 +173,7 @@
],
"id": "CSharp10_Issue7737_Foo_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "
\n",
"platform": null,
@@ -234,8 +234,8 @@
},
"id": "Issue7737",
"path": "src/CSharp10.cs",
- "startLine": 27.0,
- "endLine": 0.0
+ "startLine": 27,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -285,7 +285,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -347,11 +347,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
- "level": 1.0,
+ "level": 1,
"inheritedMembers": [
{
"uid": "System.Object.Equals(System.Object)",
@@ -400,7 +400,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -449,7 +449,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -498,7 +498,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -547,7 +547,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -596,7 +596,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -645,7 +645,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -694,7 +694,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_systemKeys": [
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.ParameterlessStructConstructors.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.ParameterlessStructConstructors.html.view.verified.json
index 45ee43fbb50..d401e5142ad 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.ParameterlessStructConstructors.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.ParameterlessStructConstructors.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -121,8 +121,8 @@
},
"id": ".ctor",
"path": "src/CSharp10.cs",
- "startLine": 14.0,
- "endLine": 0.0
+ "startLine": 14,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -172,7 +172,7 @@
],
"id": "CSharp10_ParameterlessStructConstructors__ctor_"
},
- "level": 0.0,
+ "level": 0,
"type": "constructor",
"summary": "",
"platform": null,
@@ -307,14 +307,14 @@
},
"id": "X",
"path": "src/CSharp10.cs",
- "startLine": 10.0,
- "endLine": 0.0
+ "startLine": 10,
+ "endLine": 0
},
"assemblies": [
"CSharp"
],
"namespace": "CSharp10",
- "level": 0.0,
+ "level": 0,
"type": "field",
"summary": "",
"platform": null,
@@ -450,8 +450,8 @@
},
"id": "Description",
"path": "src/CSharp10.cs",
- "startLine": 12.0,
- "endLine": 0.0
+ "startLine": 12,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -501,7 +501,7 @@
],
"id": "CSharp10_ParameterlessStructConstructors_Description_"
},
- "level": 0.0,
+ "level": 0,
"type": "property",
"summary": "",
"platform": null,
@@ -630,8 +630,8 @@
},
"id": "Y",
"path": "src/CSharp10.cs",
- "startLine": 11.0,
- "endLine": 0.0
+ "startLine": 11,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -681,7 +681,7 @@
],
"id": "CSharp10_ParameterlessStructConstructors_Y_"
},
- "level": 0.0,
+ "level": 0,
"type": "property",
"summary": "",
"platform": null,
@@ -743,8 +743,8 @@
},
"id": "ParameterlessStructConstructors",
"path": "src/CSharp10.cs",
- "startLine": 8.0,
- "endLine": 0.0
+ "startLine": 8,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -794,7 +794,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -808,7 +808,7 @@
}
]
},
- "level": 0.0,
+ "level": 0,
"inheritedMembers": [
{
"uid": "System.ValueType.Equals(System.Object)",
@@ -857,7 +857,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.ValueType.GetHashCode",
@@ -906,7 +906,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.ValueType.ToString",
@@ -955,7 +955,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -1004,7 +1004,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -1053,7 +1053,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -1102,7 +1102,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
}
],
"_systemKeys": [
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.ReadOnlyRecordStruct.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.ReadOnlyRecordStruct.html.view.verified.json
index 0abcbe11a26..60e89ac13e6 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.ReadOnlyRecordStruct.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.ReadOnlyRecordStruct.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -261,8 +261,8 @@
},
"id": ".ctor",
"path": "src/CSharp10.cs",
- "startLine": 2.0,
- "endLine": 0.0
+ "startLine": 2,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -312,7 +312,7 @@
],
"id": "CSharp10_ReadOnlyRecordStruct__ctor_"
},
- "level": 0.0,
+ "level": 0,
"type": "constructor",
"summary": "",
"platform": null,
@@ -448,8 +448,8 @@
},
"id": "X",
"path": "src/CSharp10.cs",
- "startLine": 2.0,
- "endLine": 0.0
+ "startLine": 2,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -499,7 +499,7 @@
],
"id": "CSharp10_ReadOnlyRecordStruct_X_"
},
- "level": 0.0,
+ "level": 0,
"type": "property",
"summary": "",
"platform": null,
@@ -628,8 +628,8 @@
},
"id": "Y",
"path": "src/CSharp10.cs",
- "startLine": 2.0,
- "endLine": 0.0
+ "startLine": 2,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -679,7 +679,7 @@
],
"id": "CSharp10_ReadOnlyRecordStruct_Y_"
},
- "level": 0.0,
+ "level": 0,
"type": "property",
"summary": "",
"platform": null,
@@ -808,8 +808,8 @@
},
"id": "Z",
"path": "src/CSharp10.cs",
- "startLine": 2.0,
- "endLine": 0.0
+ "startLine": 2,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -859,7 +859,7 @@
],
"id": "CSharp10_ReadOnlyRecordStruct_Z_"
},
- "level": 0.0,
+ "level": 0,
"type": "property",
"summary": "",
"platform": null,
@@ -921,8 +921,8 @@
},
"id": "ReadOnlyRecordStruct",
"path": "src/CSharp10.cs",
- "startLine": 2.0,
- "endLine": 0.0
+ "startLine": 2,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -972,7 +972,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -986,7 +986,7 @@
}
]
},
- "level": 0.0,
+ "level": 0,
"implements": [
{
"uid": "System.IEquatable{CSharp10.ReadOnlyRecordStruct}",
@@ -1081,7 +1081,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.ValueType.GetHashCode",
@@ -1130,7 +1130,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.ValueType.ToString",
@@ -1179,7 +1179,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -1228,7 +1228,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -1277,7 +1277,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -1326,7 +1326,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
}
],
"_systemKeys": [
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.RecordClass.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.RecordClass.html.view.verified.json
index faed9c9445f..f220a6403d0 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.RecordClass.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.RecordClass.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -215,8 +215,8 @@
},
"id": ".ctor",
"path": "src/CSharp10.cs",
- "startLine": 6.0,
- "endLine": 0.0
+ "startLine": 6,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -266,7 +266,7 @@
],
"id": "CSharp10_RecordClass__ctor_"
},
- "level": 0.0,
+ "level": 0,
"type": "constructor",
"summary": "",
"platform": null,
@@ -402,8 +402,8 @@
},
"id": "FirstName",
"path": "src/CSharp10.cs",
- "startLine": 6.0,
- "endLine": 0.0
+ "startLine": 6,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -453,7 +453,7 @@
],
"id": "CSharp10_RecordClass_FirstName_"
},
- "level": 0.0,
+ "level": 0,
"type": "property",
"summary": "",
"platform": null,
@@ -582,8 +582,8 @@
},
"id": "LastName",
"path": "src/CSharp10.cs",
- "startLine": 6.0,
- "endLine": 0.0
+ "startLine": 6,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -633,7 +633,7 @@
],
"id": "CSharp10_RecordClass_LastName_"
},
- "level": 0.0,
+ "level": 0,
"type": "property",
"summary": "",
"platform": null,
@@ -695,8 +695,8 @@
},
"id": "RecordClass",
"path": "src/CSharp10.cs",
- "startLine": 6.0,
- "endLine": 0.0
+ "startLine": 6,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -746,7 +746,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -808,11 +808,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
- "level": 1.0,
+ "level": 1,
"implements": [
{
"uid": "System.IEquatable{CSharp10.RecordClass}",
@@ -907,7 +907,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -956,7 +956,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -1005,7 +1005,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -1054,7 +1054,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -1103,7 +1103,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -1152,7 +1152,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -1201,7 +1201,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_systemKeys": [
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.RecordStruct.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.RecordStruct.html.view.verified.json
index 4a89929685e..48674001240 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.RecordStruct.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.RecordStruct.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -215,8 +215,8 @@
},
"id": ".ctor",
"path": "src/CSharp10.cs",
- "startLine": 4.0,
- "endLine": 0.0
+ "startLine": 4,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -266,7 +266,7 @@
],
"id": "CSharp10_RecordStruct__ctor_"
},
- "level": 0.0,
+ "level": 0,
"type": "constructor",
"summary": "",
"platform": null,
@@ -402,8 +402,8 @@
},
"id": "Measurement",
"path": "src/CSharp10.cs",
- "startLine": 4.0,
- "endLine": 0.0
+ "startLine": 4,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -453,7 +453,7 @@
],
"id": "CSharp10_RecordStruct_Measurement_"
},
- "level": 0.0,
+ "level": 0,
"type": "property",
"summary": "",
"platform": null,
@@ -582,8 +582,8 @@
},
"id": "TakenAt",
"path": "src/CSharp10.cs",
- "startLine": 4.0,
- "endLine": 0.0
+ "startLine": 4,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -633,7 +633,7 @@
],
"id": "CSharp10_RecordStruct_TakenAt_"
},
- "level": 0.0,
+ "level": 0,
"type": "property",
"summary": "",
"platform": null,
@@ -695,8 +695,8 @@
},
"id": "RecordStruct",
"path": "src/CSharp10.cs",
- "startLine": 4.0,
- "endLine": 0.0
+ "startLine": 4,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -746,7 +746,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -760,7 +760,7 @@
}
]
},
- "level": 0.0,
+ "level": 0,
"implements": [
{
"uid": "System.IEquatable{CSharp10.RecordStruct}",
@@ -855,7 +855,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.ValueType.GetHashCode",
@@ -904,7 +904,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.ValueType.ToString",
@@ -953,7 +953,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -1002,7 +1002,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -1051,7 +1051,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -1100,7 +1100,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
}
],
"_systemKeys": [
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.html.view.verified.json
index 97072c31bef..0fb9df76e65 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp10.html.view.verified.json
@@ -52,7 +52,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "class",
"platform": null,
@@ -114,7 +114,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "class",
"platform": null,
@@ -176,7 +176,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "class",
"platform": null,
@@ -245,7 +245,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "struct",
"platform": null,
@@ -307,7 +307,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "struct",
"platform": null,
@@ -369,7 +369,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "struct",
"platform": null,
@@ -428,7 +428,7 @@
"assemblies": [
"CSharp"
],
- "level": 0.0,
+ "level": 0,
"_systemKeys": [
"uid",
"isEii",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.CheckedUserDefinedOperators-1.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.CheckedUserDefinedOperators-1.html.view.verified.json
index 5e068241f70..d85ec317d74 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.CheckedUserDefinedOperators-1.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.CheckedUserDefinedOperators-1.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -263,8 +263,8 @@
},
"id": "op_Addition",
"path": "src/CSharp11.cs",
- "startLine": 28.0,
- "endLine": 0.0
+ "startLine": 28,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -310,7 +310,7 @@
],
"id": "CSharp11_CheckedUserDefinedOperators_1_op_Addition_"
},
- "level": 0.0,
+ "level": 0,
"type": "operator",
"summary": "",
"platform": null,
@@ -534,8 +534,8 @@
},
"id": "op_CheckedAddition",
"path": "src/CSharp11.cs",
- "startLine": 37.0,
- "endLine": 0.0
+ "startLine": 37,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -581,7 +581,7 @@
],
"id": "CSharp11_CheckedUserDefinedOperators_1_op_CheckedAddition_"
},
- "level": 0.0,
+ "level": 0,
"type": "operator",
"summary": "",
"platform": null,
@@ -758,8 +758,8 @@
},
"id": "op_CheckedDecrement",
"path": "src/CSharp11.cs",
- "startLine": 35.0,
- "endLine": 0.0
+ "startLine": 35,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -805,7 +805,7 @@
],
"id": "CSharp11_CheckedUserDefinedOperators_1_op_CheckedDecrement_"
},
- "level": 0.0,
+ "level": 0,
"type": "operator",
"summary": "",
"platform": null,
@@ -1029,8 +1029,8 @@
},
"id": "op_CheckedDivision",
"path": "src/CSharp11.cs",
- "startLine": 40.0,
- "endLine": 0.0
+ "startLine": 40,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -1076,7 +1076,7 @@
],
"id": "CSharp11_CheckedUserDefinedOperators_1_op_CheckedDivision_"
},
- "level": 0.0,
+ "level": 0,
"type": "operator",
"summary": "",
"platform": null,
@@ -1252,8 +1252,8 @@
},
"id": "op_CheckedExplicit",
"path": "src/CSharp11.cs",
- "startLine": 41.0,
- "endLine": 0.0
+ "startLine": 41,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -1299,7 +1299,7 @@
],
"id": "CSharp11_CheckedUserDefinedOperators_1_op_CheckedExplicit_"
},
- "level": 0.0,
+ "level": 0,
"type": "operator",
"summary": "",
"platform": null,
@@ -1476,8 +1476,8 @@
},
"id": "op_CheckedIncrement",
"path": "src/CSharp11.cs",
- "startLine": 34.0,
- "endLine": 0.0
+ "startLine": 34,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -1523,7 +1523,7 @@
],
"id": "CSharp11_CheckedUserDefinedOperators_1_op_CheckedIncrement_"
},
- "level": 0.0,
+ "level": 0,
"type": "operator",
"summary": "",
"platform": null,
@@ -1747,8 +1747,8 @@
},
"id": "op_CheckedMultiply",
"path": "src/CSharp11.cs",
- "startLine": 39.0,
- "endLine": 0.0
+ "startLine": 39,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -1794,7 +1794,7 @@
],
"id": "CSharp11_CheckedUserDefinedOperators_1_op_CheckedMultiply_"
},
- "level": 0.0,
+ "level": 0,
"type": "operator",
"summary": "",
"platform": null,
@@ -2018,8 +2018,8 @@
},
"id": "op_CheckedSubtraction",
"path": "src/CSharp11.cs",
- "startLine": 38.0,
- "endLine": 0.0
+ "startLine": 38,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -2065,7 +2065,7 @@
],
"id": "CSharp11_CheckedUserDefinedOperators_1_op_CheckedSubtraction_"
},
- "level": 0.0,
+ "level": 0,
"type": "operator",
"summary": "",
"platform": null,
@@ -2242,8 +2242,8 @@
},
"id": "op_CheckedUnaryNegation",
"path": "src/CSharp11.cs",
- "startLine": 36.0,
- "endLine": 0.0
+ "startLine": 36,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -2289,7 +2289,7 @@
],
"id": "CSharp11_CheckedUserDefinedOperators_1_op_CheckedUnaryNegation_"
},
- "level": 0.0,
+ "level": 0,
"type": "operator",
"summary": "",
"platform": null,
@@ -2466,8 +2466,8 @@
},
"id": "op_Decrement",
"path": "src/CSharp11.cs",
- "startLine": 26.0,
- "endLine": 0.0
+ "startLine": 26,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -2513,7 +2513,7 @@
],
"id": "CSharp11_CheckedUserDefinedOperators_1_op_Decrement_"
},
- "level": 0.0,
+ "level": 0,
"type": "operator",
"summary": "",
"platform": null,
@@ -2737,8 +2737,8 @@
},
"id": "op_Division",
"path": "src/CSharp11.cs",
- "startLine": 31.0,
- "endLine": 0.0
+ "startLine": 31,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -2784,7 +2784,7 @@
],
"id": "CSharp11_CheckedUserDefinedOperators_1_op_Division_"
},
- "level": 0.0,
+ "level": 0,
"type": "operator",
"summary": "",
"platform": null,
@@ -2960,8 +2960,8 @@
},
"id": "op_Explicit",
"path": "src/CSharp11.cs",
- "startLine": 32.0,
- "endLine": 0.0
+ "startLine": 32,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -3007,7 +3007,7 @@
],
"id": "CSharp11_CheckedUserDefinedOperators_1_op_Explicit_"
},
- "level": 0.0,
+ "level": 0,
"type": "operator",
"summary": "",
"platform": null,
@@ -3184,8 +3184,8 @@
},
"id": "op_Increment",
"path": "src/CSharp11.cs",
- "startLine": 25.0,
- "endLine": 0.0
+ "startLine": 25,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -3231,7 +3231,7 @@
],
"id": "CSharp11_CheckedUserDefinedOperators_1_op_Increment_"
},
- "level": 0.0,
+ "level": 0,
"type": "operator",
"summary": "",
"platform": null,
@@ -3455,8 +3455,8 @@
},
"id": "op_Multiply",
"path": "src/CSharp11.cs",
- "startLine": 30.0,
- "endLine": 0.0
+ "startLine": 30,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -3502,7 +3502,7 @@
],
"id": "CSharp11_CheckedUserDefinedOperators_1_op_Multiply_"
},
- "level": 0.0,
+ "level": 0,
"type": "operator",
"summary": "",
"platform": null,
@@ -3726,8 +3726,8 @@
},
"id": "op_Subtraction",
"path": "src/CSharp11.cs",
- "startLine": 29.0,
- "endLine": 0.0
+ "startLine": 29,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -3773,7 +3773,7 @@
],
"id": "CSharp11_CheckedUserDefinedOperators_1_op_Subtraction_"
},
- "level": 0.0,
+ "level": 0,
"type": "operator",
"summary": "",
"platform": null,
@@ -3950,8 +3950,8 @@
},
"id": "op_UnaryNegation",
"path": "src/CSharp11.cs",
- "startLine": 27.0,
- "endLine": 0.0
+ "startLine": 27,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -3997,7 +3997,7 @@
],
"id": "CSharp11_CheckedUserDefinedOperators_1_op_UnaryNegation_"
},
- "level": 0.0,
+ "level": 0,
"type": "operator",
"summary": "",
"platform": null,
@@ -4059,8 +4059,8 @@
},
"id": "CheckedUserDefinedOperators",
"path": "src/CSharp11.cs",
- "startLine": 23.0,
- "endLine": 0.0
+ "startLine": 23,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -4110,7 +4110,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -4130,7 +4130,7 @@
}
]
},
- "level": 0.0,
+ "level": 0,
"_systemKeys": [
"uid",
"isEii",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.RequiredModifier.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.RequiredModifier.html.view.verified.json
index fff7a030c5f..2fb26bb3d91 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.RequiredModifier.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.RequiredModifier.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -168,8 +168,8 @@
},
"id": "FirstName",
"path": "src/CSharp11.cs",
- "startLine": 46.0,
- "endLine": 0.0
+ "startLine": 46,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -219,7 +219,7 @@
],
"id": "CSharp11_RequiredModifier_FirstName_"
},
- "level": 0.0,
+ "level": 0,
"type": "property",
"summary": "",
"platform": null,
@@ -348,8 +348,8 @@
},
"id": "LastName",
"path": "src/CSharp11.cs",
- "startLine": 48.0,
- "endLine": 0.0
+ "startLine": 48,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -399,7 +399,7 @@
],
"id": "CSharp11_RequiredModifier_LastName_"
},
- "level": 0.0,
+ "level": 0,
"type": "property",
"summary": "",
"platform": null,
@@ -528,8 +528,8 @@
},
"id": "MiddleName",
"path": "src/CSharp11.cs",
- "startLine": 47.0,
- "endLine": 0.0
+ "startLine": 47,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -579,7 +579,7 @@
],
"id": "CSharp11_RequiredModifier_MiddleName_"
},
- "level": 0.0,
+ "level": 0,
"type": "property",
"summary": "",
"platform": null,
@@ -641,8 +641,8 @@
},
"id": "RequiredModifier",
"path": "src/CSharp11.cs",
- "startLine": 44.0,
- "endLine": 0.0
+ "startLine": 44,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -692,7 +692,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -754,11 +754,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
- "level": 1.0,
+ "level": 1,
"inheritedMembers": [
{
"uid": "System.Object.Equals(System.Object)",
@@ -807,7 +807,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -856,7 +856,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -905,7 +905,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -954,7 +954,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -1003,7 +1003,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -1052,7 +1052,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -1101,7 +1101,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_systemKeys": [
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.ScopedModifier.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.ScopedModifier.html.view.verified.json
index a214f90d045..c411c1ba1a7 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.ScopedModifier.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.ScopedModifier.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -215,8 +215,8 @@
},
"id": "CreateSpan",
"path": "src/CSharp11.cs",
- "startLine": 58.0,
- "endLine": 0.0
+ "startLine": 58,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -266,7 +266,7 @@
],
"id": "CSharp11_ScopedModifier_CreateSpan_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "",
"platform": null,
@@ -328,8 +328,8 @@
},
"id": "ScopedModifier",
"path": "src/CSharp11.cs",
- "startLine": 56.0,
- "endLine": 0.0
+ "startLine": 56,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -379,7 +379,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -441,11 +441,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
- "level": 1.0,
+ "level": 1,
"inheritedMembers": [
{
"uid": "System.Object.Equals(System.Object)",
@@ -494,7 +494,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -543,7 +543,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -592,7 +592,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -641,7 +641,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -690,7 +690,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -739,7 +739,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -788,7 +788,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_systemKeys": [
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.StaticAbstractMembersInInterfaces.IGetNext-1.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.StaticAbstractMembersInInterfaces.IGetNext-1.html.view.verified.json
index 4de941f98e6..a550122c93e 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.StaticAbstractMembersInInterfaces.IGetNext-1.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.StaticAbstractMembersInInterfaces.IGetNext-1.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -216,8 +216,8 @@
},
"id": "op_Increment",
"path": "src/CSharp11.cs",
- "startLine": 6.0,
- "endLine": 0.0
+ "startLine": 6,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -263,7 +263,7 @@
],
"id": "CSharp11_StaticAbstractMembersInInterfaces_IGetNext_1_op_Increment_"
},
- "level": 0.0,
+ "level": 0,
"type": "operator",
"summary": "",
"platform": null,
@@ -325,8 +325,8 @@
},
"id": "IGetNext",
"path": "src/CSharp11.cs",
- "startLine": 4.0,
- "endLine": 0.0
+ "startLine": 4,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -376,7 +376,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -396,7 +396,7 @@
}
]
},
- "level": 0.0,
+ "level": 0,
"_systemKeys": [
"uid",
"isEii",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.StaticAbstractMembersInInterfaces.RepeatSequence.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.StaticAbstractMembersInInterfaces.RepeatSequence.html.view.verified.json
index 3d1bdad3e27..860002b2edd 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.StaticAbstractMembersInInterfaces.RepeatSequence.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.StaticAbstractMembersInInterfaces.RepeatSequence.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -121,8 +121,8 @@
},
"id": ".ctor",
"path": "src/CSharp11.cs",
- "startLine": 14.0,
- "endLine": 0.0
+ "startLine": 14,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -172,7 +172,7 @@
],
"id": "CSharp11_StaticAbstractMembersInInterfaces_RepeatSequence__ctor_"
},
- "level": 0.0,
+ "level": 0,
"type": "constructor",
"summary": "",
"platform": null,
@@ -307,14 +307,14 @@
},
"id": "Text",
"path": "src/CSharp11.cs",
- "startLine": 12.0,
- "endLine": 0.0
+ "startLine": 12,
+ "endLine": 0
},
"assemblies": [
"CSharp"
],
"namespace": "CSharp11",
- "level": 0.0,
+ "level": 0,
"type": "field",
"summary": "",
"platform": null,
@@ -449,8 +449,8 @@
},
"id": "ToString",
"path": "src/CSharp11.cs",
- "startLine": 19.0,
- "endLine": 0.0
+ "startLine": 19,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -544,7 +544,7 @@
],
"id": "CSharp11_StaticAbstractMembersInInterfaces_RepeatSequence_ToString_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "Returns the fully qualified type name of this instance.
\n",
"platform": null,
@@ -725,8 +725,8 @@
},
"id": "op_Increment",
"path": "src/CSharp11.cs",
- "startLine": 16.0,
- "endLine": 0.0
+ "startLine": 16,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -773,7 +773,7 @@
],
"id": "CSharp11_StaticAbstractMembersInInterfaces_RepeatSequence_op_Increment_"
},
- "level": 0.0,
+ "level": 0,
"implements": [
{
"uid": "CSharp11.StaticAbstractMembersInInterfaces.IGetNext{CSharp11.StaticAbstractMembersInInterfaces.RepeatSequence}.op_Increment(CSharp11.StaticAbstractMembersInInterfaces.RepeatSequence)",
@@ -879,8 +879,8 @@
},
"id": "RepeatSequence",
"path": "src/CSharp11.cs",
- "startLine": 9.0,
- "endLine": 0.0
+ "startLine": 9,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -930,7 +930,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -944,7 +944,7 @@
}
]
},
- "level": 0.0,
+ "level": 0,
"implements": [
{
"uid": "CSharp11.StaticAbstractMembersInInterfaces.IGetNext{CSharp11.StaticAbstractMembersInInterfaces.RepeatSequence}",
@@ -1039,7 +1039,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.ValueType.GetHashCode",
@@ -1088,7 +1088,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -1137,7 +1137,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -1186,7 +1186,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -1235,7 +1235,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
}
],
"_systemKeys": [
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.StaticAbstractMembersInInterfaces.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.StaticAbstractMembersInInterfaces.html.view.verified.json
index 31a0ae34e11..fd42de24f2d 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.StaticAbstractMembersInInterfaces.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.StaticAbstractMembersInInterfaces.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [],
"langs": [
@@ -93,8 +93,8 @@
},
"id": "StaticAbstractMembersInInterfaces",
"path": "src/CSharp11.cs",
- "startLine": 2.0,
- "endLine": 0.0
+ "startLine": 2,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -144,7 +144,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -206,11 +206,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
- "level": 1.0,
+ "level": 1,
"inheritedMembers": [
{
"uid": "System.Object.Equals(System.Object)",
@@ -259,7 +259,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -308,7 +308,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -357,7 +357,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -406,7 +406,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -455,7 +455,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -504,7 +504,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -553,7 +553,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_systemKeys": [
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.html.view.verified.json
index f76b47fcb2f..a49916a65fc 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp11.html.view.verified.json
@@ -52,7 +52,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "class",
"platform": null,
@@ -114,7 +114,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "class",
"platform": null,
@@ -176,7 +176,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "class",
"platform": null,
@@ -246,7 +246,7 @@
"value": "StaticAbstractMembersInInterfaces .RepeatSequence "
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "struct",
"platform": null,
@@ -315,7 +315,7 @@
"value": "CheckedUserDefinedOperators (Of T)"
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "interface",
"platform": null,
@@ -377,7 +377,7 @@
"value": "StaticAbstractMembersInInterfaces .IGetNext (Of T)"
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "interface",
"platform": null,
@@ -436,7 +436,7 @@
"assemblies": [
"CSharp"
],
- "level": 0.0,
+ "level": 0,
"_systemKeys": [
"uid",
"isEii",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.CollectionExpressions.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.CollectionExpressions.html.view.verified.json
index cb13688b7bf..9c75483ff4e 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.CollectionExpressions.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.CollectionExpressions.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -167,14 +167,14 @@
},
"id": "a",
"path": "src/CSharp12.cs",
- "startLine": 57.0,
- "endLine": 0.0
+ "startLine": 57,
+ "endLine": 0
},
"assemblies": [
"CSharp"
],
"namespace": "CSharp12",
- "level": 0.0,
+ "level": 0,
"type": "field",
"summary": "",
"platform": null,
@@ -302,14 +302,14 @@
},
"id": "twoD",
"path": "src/CSharp12.cs",
- "startLine": 59.0,
- "endLine": 0.0
+ "startLine": 59,
+ "endLine": 0
},
"assemblies": [
"CSharp"
],
"namespace": "CSharp12",
- "level": 0.0,
+ "level": 0,
"type": "field",
"summary": "",
"platform": null,
@@ -371,8 +371,8 @@
},
"id": "CollectionExpressions",
"path": "src/CSharp12.cs",
- "startLine": 50.0,
- "endLine": 0.0
+ "startLine": 50,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -422,7 +422,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -484,11 +484,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
- "level": 1.0,
+ "level": 1,
"inheritedMembers": [
{
"uid": "System.Object.Equals(System.Object)",
@@ -537,7 +537,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -586,7 +586,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -635,7 +635,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -684,7 +684,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -733,7 +733,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -782,7 +782,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -831,7 +831,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_systemKeys": [
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.DefaultLambdaParameters.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.DefaultLambdaParameters.html.view.verified.json
index 2358c442fc8..277a81f0c29 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.DefaultLambdaParameters.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.DefaultLambdaParameters.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -121,8 +121,8 @@
},
"id": "Foo",
"path": "src/CSharp12.cs",
- "startLine": 64.0,
- "endLine": 0.0
+ "startLine": 64,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -172,7 +172,7 @@
],
"id": "CSharp12_DefaultLambdaParameters_Foo_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "",
"platform": null,
@@ -234,8 +234,8 @@
},
"id": "DefaultLambdaParameters",
"path": "src/CSharp12.cs",
- "startLine": 62.0,
- "endLine": 0.0
+ "startLine": 62,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -285,7 +285,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -347,11 +347,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
- "level": 1.0,
+ "level": 1,
"inheritedMembers": [
{
"uid": "System.Object.Equals(System.Object)",
@@ -400,7 +400,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -449,7 +449,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -498,7 +498,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -547,7 +547,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -596,7 +596,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -645,7 +645,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -694,7 +694,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_systemKeys": [
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.InlineArrays.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.InlineArrays.html.view.verified.json
index 62039967536..e76fd359300 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.InlineArrays.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.InlineArrays.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [],
"langs": [
@@ -93,8 +93,8 @@
},
"id": "InlineArrays",
"path": "src/CSharp12.cs",
- "startLine": 76.0,
- "endLine": 0.0
+ "startLine": 76,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -144,7 +144,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -158,7 +158,7 @@
}
]
},
- "level": 0.0,
+ "level": 0,
"inheritedMembers": [
{
"uid": "System.ValueType.Equals(System.Object)",
@@ -207,7 +207,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.ValueType.GetHashCode",
@@ -256,7 +256,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.ValueType.ToString",
@@ -305,7 +305,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -354,7 +354,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -403,7 +403,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -452,7 +452,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
}
],
"_systemKeys": [
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.BankAccount.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.BankAccount.html.view.verified.json
index 5c46da3df70..71fbcd38f1c 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.BankAccount.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.BankAccount.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -215,8 +215,8 @@
},
"id": ".ctor",
"path": "src/CSharp12.cs",
- "startLine": 12.0,
- "endLine": 0.0
+ "startLine": 12,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -266,7 +266,7 @@
],
"id": "CSharp12_PrimaryConstructors_BankAccount__ctor_"
},
- "level": 0.0,
+ "level": 0,
"type": "constructor",
"summary": "",
"platform": null,
@@ -402,8 +402,8 @@
},
"id": "AccountID",
"path": "src/CSharp12.cs",
- "startLine": 14.0,
- "endLine": 0.0
+ "startLine": 14,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -453,7 +453,7 @@
],
"id": "CSharp12_PrimaryConstructors_BankAccount_AccountID_"
},
- "level": 0.0,
+ "level": 0,
"type": "property",
"summary": "",
"platform": null,
@@ -582,8 +582,8 @@
},
"id": "Owner",
"path": "src/CSharp12.cs",
- "startLine": 15.0,
- "endLine": 0.0
+ "startLine": 15,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -633,7 +633,7 @@
],
"id": "CSharp12_PrimaryConstructors_BankAccount_Owner_"
},
- "level": 0.0,
+ "level": 0,
"type": "property",
"summary": "",
"platform": null,
@@ -768,8 +768,8 @@
},
"id": "ToString",
"path": "src/CSharp12.cs",
- "startLine": 17.0,
- "endLine": 0.0
+ "startLine": 17,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -863,7 +863,7 @@
],
"id": "CSharp12_PrimaryConstructors_BankAccount_ToString_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "Returns a string that represents the current object.
\n",
"platform": null,
@@ -924,8 +924,8 @@
},
"id": "BankAccount",
"path": "src/CSharp12.cs",
- "startLine": 12.0,
- "endLine": 0.0
+ "startLine": 12,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -975,7 +975,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -1037,8 +1037,8 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
"derivedClasses": [
@@ -1055,11 +1055,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 2.0
+ "level": 0,
+ "index": 2
}
],
- "level": 1.0,
+ "level": 1,
"inheritedMembers": [
{
"uid": "System.Object.Equals(System.Object)",
@@ -1108,7 +1108,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -1157,7 +1157,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -1206,7 +1206,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -1255,7 +1255,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -1304,7 +1304,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -1353,7 +1353,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
}
],
"_systemKeys": [
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.CheckAccount.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.CheckAccount.html.view.verified.json
index 366e44552f3..c3a0471c485 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.CheckAccount.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.CheckAccount.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -261,8 +261,8 @@
},
"id": ".ctor",
"path": "src/CSharp12.cs",
- "startLine": 20.0,
- "endLine": 0.0
+ "startLine": 20,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -312,7 +312,7 @@
],
"id": "CSharp12_PrimaryConstructors_CheckAccount__ctor_"
},
- "level": 0.0,
+ "level": 0,
"type": "constructor",
"summary": "",
"platform": null,
@@ -448,8 +448,8 @@
},
"id": "CurrentBalance",
"path": "src/CSharp12.cs",
- "startLine": 22.0,
- "endLine": 0.0
+ "startLine": 22,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -499,7 +499,7 @@
],
"id": "CSharp12_PrimaryConstructors_CheckAccount_CurrentBalance_"
},
- "level": 0.0,
+ "level": 0,
"type": "property",
"summary": "",
"platform": null,
@@ -636,8 +636,8 @@
},
"id": "Deposit",
"path": "src/CSharp12.cs",
- "startLine": 24.0,
- "endLine": 0.0
+ "startLine": 24,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -687,7 +687,7 @@
],
"id": "CSharp12_PrimaryConstructors_CheckAccount_Deposit_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "",
"platform": null,
@@ -815,8 +815,8 @@
},
"id": "ToString",
"path": "src/CSharp12.cs",
- "startLine": 46.0,
- "endLine": 0.0
+ "startLine": 46,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -910,7 +910,7 @@
],
"id": "CSharp12_PrimaryConstructors_CheckAccount_ToString_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "Returns a string that represents the current object.
\n",
"platform": null,
@@ -1039,8 +1039,8 @@
},
"id": "Withdrawal",
"path": "src/CSharp12.cs",
- "startLine": 33.0,
- "endLine": 0.0
+ "startLine": 33,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -1090,7 +1090,7 @@
],
"id": "CSharp12_PrimaryConstructors_CheckAccount_Withdrawal_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "",
"platform": null,
@@ -1152,8 +1152,8 @@
},
"id": "CheckAccount",
"path": "src/CSharp12.cs",
- "startLine": 20.0,
- "endLine": 0.0
+ "startLine": 20,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -1203,7 +1203,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -1265,8 +1265,8 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
},
{
"uid": "CSharp12.PrimaryConstructors.BankAccount",
@@ -1314,11 +1314,11 @@
"value": "PrimaryConstructors .BankAccount "
}
],
- "level": 0.0,
- "index": 1.0
+ "level": 0,
+ "index": 1
}
],
- "level": 2.0,
+ "level": 2,
"inheritedMembers": [
{
"uid": "CSharp12.PrimaryConstructors.BankAccount.AccountID",
@@ -1365,7 +1365,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": null,
"type": "property",
"platform": null,
@@ -1416,7 +1416,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": null,
"type": "property",
"platform": null,
@@ -1469,7 +1469,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -1518,7 +1518,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -1567,7 +1567,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -1616,7 +1616,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -1665,7 +1665,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -1714,7 +1714,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
}
],
"_systemKeys": [
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.Distance.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.Distance.html.view.verified.json
index 3a70cb950bf..d412ff83fe4 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.Distance.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.Distance.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -215,8 +215,8 @@
},
"id": ".ctor",
"path": "src/CSharp12.cs",
- "startLine": 6.0,
- "endLine": 0.0
+ "startLine": 6,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -266,7 +266,7 @@
],
"id": "CSharp12_PrimaryConstructors_Distance__ctor_"
},
- "level": 0.0,
+ "level": 0,
"type": "constructor",
"summary": "",
"platform": null,
@@ -401,14 +401,14 @@
},
"id": "Direction",
"path": "src/CSharp12.cs",
- "startLine": 9.0,
- "endLine": 0.0
+ "startLine": 9,
+ "endLine": 0
},
"assemblies": [
"CSharp"
],
"namespace": "CSharp12",
- "level": 0.0,
+ "level": 0,
"type": "field",
"summary": "",
"platform": null,
@@ -536,14 +536,14 @@
},
"id": "Magnitude",
"path": "src/CSharp12.cs",
- "startLine": 8.0,
- "endLine": 0.0
+ "startLine": 8,
+ "endLine": 0
},
"assemblies": [
"CSharp"
],
"namespace": "CSharp12",
- "level": 0.0,
+ "level": 0,
"type": "field",
"summary": "",
"platform": null,
@@ -605,8 +605,8 @@
},
"id": "Distance",
"path": "src/CSharp12.cs",
- "startLine": 6.0,
- "endLine": 0.0
+ "startLine": 6,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -656,7 +656,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -670,7 +670,7 @@
}
]
},
- "level": 0.0,
+ "level": 0,
"inheritedMembers": [
{
"uid": "System.ValueType.Equals(System.Object)",
@@ -719,7 +719,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.ValueType.GetHashCode",
@@ -768,7 +768,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.ValueType.ToString",
@@ -817,7 +817,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -866,7 +866,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -915,7 +915,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -964,7 +964,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
}
],
"_systemKeys": [
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.html.view.verified.json
index bc6729c96fa..049f9b1d965 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.PrimaryConstructors.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [],
"langs": [
@@ -93,8 +93,8 @@
},
"id": "PrimaryConstructors",
"path": "src/CSharp12.cs",
- "startLine": 4.0,
- "endLine": 0.0
+ "startLine": 4,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -144,7 +144,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -206,11 +206,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
- "level": 1.0,
+ "level": 1,
"inheritedMembers": [
{
"uid": "System.Object.Equals(System.Object)",
@@ -259,7 +259,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -308,7 +308,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -357,7 +357,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -406,7 +406,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -455,7 +455,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -504,7 +504,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -553,7 +553,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_systemKeys": [
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.RefReadOnlyParameters.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.RefReadOnlyParameters.html.view.verified.json
index d05dcc5dbcc..aced61c15cc 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.RefReadOnlyParameters.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.RefReadOnlyParameters.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -169,8 +169,8 @@
},
"id": "Foo",
"path": "src/CSharp12.cs",
- "startLine": 84.0,
- "endLine": 0.0
+ "startLine": 84,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -220,7 +220,7 @@
],
"id": "CSharp12_RefReadOnlyParameters_Foo_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "",
"platform": null,
@@ -282,8 +282,8 @@
},
"id": "RefReadOnlyParameters",
"path": "src/CSharp12.cs",
- "startLine": 82.0,
- "endLine": 0.0
+ "startLine": 82,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -333,7 +333,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -395,11 +395,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
- "level": 1.0,
+ "level": 1,
"inheritedMembers": [
{
"uid": "System.Object.Equals(System.Object)",
@@ -448,7 +448,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -497,7 +497,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -546,7 +546,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -595,7 +595,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -644,7 +644,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -693,7 +693,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -742,7 +742,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_systemKeys": [
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.html.view.verified.json
index 90daa0d0b52..f84da674252 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp12.html.view.verified.json
@@ -52,7 +52,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "class",
"platform": null,
@@ -114,7 +114,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "class",
"platform": null,
@@ -176,7 +176,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "class",
"platform": null,
@@ -239,7 +239,7 @@
"value": "PrimaryConstructors .BankAccount "
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "class",
"platform": null,
@@ -301,7 +301,7 @@
"value": "PrimaryConstructors .CheckAccount "
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "class",
"platform": null,
@@ -363,7 +363,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "class",
"platform": null,
@@ -432,7 +432,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "struct",
"platform": null,
@@ -494,7 +494,7 @@
"value": "PrimaryConstructors .Distance "
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "struct",
"platform": null,
@@ -553,7 +553,7 @@
"assemblies": [
"CSharp"
],
- "level": 0.0,
+ "level": 0,
"_systemKeys": [
"uid",
"isEii",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.DefaultInterfaceMembers.IA.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.DefaultInterfaceMembers.IA.html.view.verified.json
index 58a9a043cde..485e75519da 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.DefaultInterfaceMembers.IA.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.DefaultInterfaceMembers.IA.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -121,8 +121,8 @@
},
"id": "M",
"path": "src/CSharp8.cs",
- "startLine": 50.0,
- "endLine": 0.0
+ "startLine": 50,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -172,7 +172,7 @@
],
"id": "CSharp8_DefaultInterfaceMembers_IA_M_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "",
"platform": null,
@@ -234,8 +234,8 @@
},
"id": "IA",
"path": "src/CSharp8.cs",
- "startLine": 48.0,
- "endLine": 0.0
+ "startLine": 48,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -285,7 +285,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -299,7 +299,7 @@
}
]
},
- "level": 0.0,
+ "level": 0,
"_systemKeys": [
"uid",
"isEii",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.DefaultInterfaceMembers.Nested.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.DefaultInterfaceMembers.Nested.html.view.verified.json
index cba9456b9b8..e24fc58de06 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.DefaultInterfaceMembers.Nested.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.DefaultInterfaceMembers.Nested.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [],
"langs": [
@@ -93,8 +93,8 @@
},
"id": "Nested",
"path": "src/CSharp8.cs",
- "startLine": 40.0,
- "endLine": 0.0
+ "startLine": 40,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -144,7 +144,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -206,11 +206,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
- "level": 1.0,
+ "level": 1,
"inheritedMembers": [
{
"uid": "System.Object.Equals(System.Object)",
@@ -259,7 +259,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -308,7 +308,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -357,7 +357,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -406,7 +406,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -455,7 +455,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -504,7 +504,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -553,7 +553,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_systemKeys": [
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.DefaultInterfaceMembers.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.DefaultInterfaceMembers.html.view.verified.json
index 11845406e5b..6626e4aca54 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.DefaultInterfaceMembers.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.DefaultInterfaceMembers.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -167,14 +167,14 @@
},
"id": "GravitationalConstant",
"path": "src/CSharp8.cs",
- "startLine": 30.0,
- "endLine": 0.0
+ "startLine": 30,
+ "endLine": 0
},
"assemblies": [
"CSharp"
],
"namespace": "CSharp8",
- "level": 0.0,
+ "level": 0,
"type": "field",
"summary": "",
"platform": null,
@@ -302,14 +302,14 @@
},
"id": "X",
"path": "src/CSharp8.cs",
- "startLine": 29.0,
- "endLine": 0.0
+ "startLine": 29,
+ "endLine": 0
},
"assemblies": [
"CSharp"
],
"namespace": "CSharp8",
- "level": 0.0,
+ "level": 0,
"type": "field",
"summary": "",
"platform": null,
@@ -398,8 +398,8 @@
},
"id": "DoSomething",
"path": "src/CSharp8.cs",
- "startLine": 45.0,
- "endLine": 0.0
+ "startLine": 45,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -449,7 +449,7 @@
],
"id": "CSharp8_DefaultInterfaceMembers_DoSomething_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "",
"platform": null,
@@ -531,8 +531,8 @@
},
"id": "DoSomethingElse",
"path": "src/CSharp8.cs",
- "startLine": 46.0,
- "endLine": 0.0
+ "startLine": 46,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -582,7 +582,7 @@
],
"id": "CSharp8_DefaultInterfaceMembers_DoSomethingElse_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "",
"platform": null,
@@ -764,8 +764,8 @@
},
"id": "op_UnaryPlus",
"path": "src/CSharp8.cs",
- "startLine": 33.0,
- "endLine": 0.0
+ "startLine": 33,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -811,7 +811,7 @@
],
"id": "CSharp8_DefaultInterfaceMembers_op_UnaryPlus_"
},
- "level": 0.0,
+ "level": 0,
"type": "operator",
"summary": "",
"platform": null,
@@ -873,8 +873,8 @@
},
"id": "DefaultInterfaceMembers",
"path": "src/CSharp8.cs",
- "startLine": 27.0,
- "endLine": 0.0
+ "startLine": 27,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -924,7 +924,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -938,7 +938,7 @@
}
]
},
- "level": 0.0,
+ "level": 0,
"_systemKeys": [
"uid",
"isEii",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.DisposableRefStructs.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.DisposableRefStructs.html.view.verified.json
index 832c1323191..ed654fc6ce5 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.DisposableRefStructs.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.DisposableRefStructs.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -121,8 +121,8 @@
},
"id": "Dispose",
"path": "src/CSharp8.cs",
- "startLine": 56.0,
- "endLine": 0.0
+ "startLine": 56,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -172,7 +172,7 @@
],
"id": "CSharp8_DisposableRefStructs_Dispose_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "",
"platform": null,
@@ -254,8 +254,8 @@
},
"id": "DoSomething",
"path": "src/CSharp8.cs",
- "startLine": 60.0,
- "endLine": 0.0
+ "startLine": 60,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -305,7 +305,7 @@
],
"id": "CSharp8_DisposableRefStructs_DoSomething_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "",
"platform": null,
@@ -367,8 +367,8 @@
},
"id": "DisposableRefStructs",
"path": "src/CSharp8.cs",
- "startLine": 54.0,
- "endLine": 0.0
+ "startLine": 54,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -418,7 +418,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -432,7 +432,7 @@
}
]
},
- "level": 0.0,
+ "level": 0,
"inheritedMembers": [
{
"uid": "System.ValueType.Equals(System.Object)",
@@ -481,7 +481,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.ValueType.GetHashCode",
@@ -530,7 +530,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.ValueType.ToString",
@@ -579,7 +579,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -628,7 +628,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -677,7 +677,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -726,7 +726,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
}
],
"_systemKeys": [
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.Issue4007.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.Issue4007.html.view.verified.json
index 01027e10755..575e8fc1f42 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.Issue4007.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.Issue4007.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -169,8 +169,8 @@
},
"id": "SomeMethod",
"path": "src/CSharp8.cs",
- "startLine": 147.0,
- "endLine": 0.0
+ "startLine": 147,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -220,7 +220,7 @@
],
"id": "CSharp8_Issue4007_SomeMethod_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "",
"platform": null,
@@ -302,8 +302,8 @@
},
"id": "SomeOtherMethod",
"path": "src/CSharp8.cs",
- "startLine": 157.0,
- "endLine": 0.0
+ "startLine": 157,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -353,7 +353,7 @@
],
"id": "CSharp8_Issue4007_SomeOtherMethod_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "",
"platform": null,
@@ -415,8 +415,8 @@
},
"id": "Issue4007",
"path": "src/CSharp8.cs",
- "startLine": 145.0,
- "endLine": 0.0
+ "startLine": 145,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -466,7 +466,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"summary": "This works: .\nThis does not work: .
\n",
"example": [],
@@ -530,11 +530,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
- "level": 1.0,
+ "level": 1,
"inheritedMembers": [
{
"uid": "System.Object.Equals(System.Object)",
@@ -583,7 +583,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -632,7 +632,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -681,7 +681,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -730,7 +730,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -779,7 +779,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -828,7 +828,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -877,7 +877,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_systemKeys": [
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.Misc.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.Misc.html.view.verified.json
index dd76ba34033..a391b9d41e7 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.Misc.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.Misc.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -166,8 +166,8 @@
},
"id": "AsynchronousStreams",
"path": "src/CSharp8.cs",
- "startLine": 97.0,
- "endLine": 0.0
+ "startLine": 97,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -217,7 +217,7 @@
],
"id": "CSharp8_Misc_AsynchronousStreams_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "",
"platform": null,
@@ -345,8 +345,8 @@
},
"id": "GenerateSequence",
"path": "src/CSharp8.cs",
- "startLine": 105.0,
- "endLine": 0.0
+ "startLine": 105,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -396,7 +396,7 @@
],
"id": "CSharp8_Misc_GenerateSequence_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "",
"platform": null,
@@ -478,8 +478,8 @@
},
"id": "IndicesAndRanges",
"path": "src/CSharp8.cs",
- "startLine": 119.0,
- "endLine": 0.0
+ "startLine": 119,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -529,7 +529,7 @@
],
"id": "CSharp8_Misc_IndicesAndRanges_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "",
"platform": null,
@@ -704,8 +704,8 @@
},
"id": "IsExpression",
"path": "src/CSharp8.cs",
- "startLine": 77.0,
- "endLine": 0.0
+ "startLine": 77,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -755,7 +755,7 @@
],
"id": "CSharp8_Misc_IsExpression_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "",
"platform": null,
@@ -837,8 +837,8 @@
},
"id": "NullCoalescingAssignment",
"path": "src/CSharp8.cs",
- "startLine": 127.0,
- "endLine": 0.0
+ "startLine": 127,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -888,7 +888,7 @@
],
"id": "CSharp8_Misc_NullCoalescingAssignment_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "",
"platform": null,
@@ -970,8 +970,8 @@
},
"id": "StackallocInNestedExpressions",
"path": "src/CSharp8.cs",
- "startLine": 133.0,
- "endLine": 0.0
+ "startLine": 133,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -1021,7 +1021,7 @@
],
"id": "CSharp8_Misc_StackallocInNestedExpressions_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "",
"platform": null,
@@ -1196,8 +1196,8 @@
},
"id": "StaticLocalFunctions",
"path": "src/CSharp8.cs",
- "startLine": 88.0,
- "endLine": 0.0
+ "startLine": 88,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -1247,7 +1247,7 @@
],
"id": "CSharp8_Misc_StaticLocalFunctions_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "",
"platform": null,
@@ -1422,8 +1422,8 @@
},
"id": "SwitchExpression",
"path": "src/CSharp8.cs",
- "startLine": 80.0,
- "endLine": 0.0
+ "startLine": 80,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -1473,7 +1473,7 @@
],
"id": "CSharp8_Misc_SwitchExpression_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "",
"platform": null,
@@ -1555,8 +1555,8 @@
},
"id": "UsingDeclaration",
"path": "src/CSharp8.cs",
- "startLine": 114.0,
- "endLine": 0.0
+ "startLine": 114,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -1606,7 +1606,7 @@
],
"id": "CSharp8_Misc_UsingDeclaration_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "",
"platform": null,
@@ -1668,8 +1668,8 @@
},
"id": "Misc",
"path": "src/CSharp8.cs",
- "startLine": 75.0,
- "endLine": 0.0
+ "startLine": 75,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -1719,7 +1719,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -1781,11 +1781,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
- "level": 1.0,
+ "level": 1,
"inheritedMembers": [
{
"uid": "System.Object.Equals(System.Object)",
@@ -1834,7 +1834,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -1883,7 +1883,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -1932,7 +1932,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -1981,7 +1981,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -2030,7 +2030,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -2079,7 +2079,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -2128,7 +2128,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_systemKeys": [
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.NullableReferenceTypes.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.NullableReferenceTypes.html.view.verified.json
index ffb55fb5a22..9e6a22b32b2 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.NullableReferenceTypes.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.NullableReferenceTypes.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -167,14 +167,14 @@
},
"id": "Field",
"path": "src/CSharp8.cs",
- "startLine": 70.0,
- "endLine": 0.0
+ "startLine": 70,
+ "endLine": 0
},
"assemblies": [
"CSharp"
],
"namespace": "CSharp8",
- "level": 0.0,
+ "level": 0,
"type": "field",
"summary": "",
"platform": null,
@@ -310,8 +310,8 @@
},
"id": "Property",
"path": "src/CSharp8.cs",
- "startLine": 68.0,
- "endLine": 0.0
+ "startLine": 68,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -361,7 +361,7 @@
],
"id": "CSharp8_NullableReferenceTypes_Property_"
},
- "level": 0.0,
+ "level": 0,
"type": "property",
"summary": "",
"platform": null,
@@ -545,8 +545,8 @@
},
"id": "DoSomething",
"path": "src/CSharp8.cs",
- "startLine": 72.0,
- "endLine": 0.0
+ "startLine": 72,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -596,7 +596,7 @@
],
"id": "CSharp8_NullableReferenceTypes_DoSomething_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "",
"platform": null,
@@ -658,8 +658,8 @@
},
"id": "NullableReferenceTypes",
"path": "src/CSharp8.cs",
- "startLine": 66.0,
- "endLine": 0.0
+ "startLine": 66,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -709,7 +709,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -771,11 +771,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
- "level": 1.0,
+ "level": 1,
"inheritedMembers": [
{
"uid": "System.Object.Equals(System.Object)",
@@ -824,7 +824,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -873,7 +873,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -922,7 +922,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -971,7 +971,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -1020,7 +1020,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -1069,7 +1069,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -1118,7 +1118,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_systemKeys": [
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.ReadOnlyMembers.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.ReadOnlyMembers.html.view.verified.json
index 55dad054b6b..f97b8abe3cd 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.ReadOnlyMembers.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.ReadOnlyMembers.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -168,8 +168,8 @@
},
"id": "Counter",
"path": "src/CSharp8.cs",
- "startLine": 20.0,
- "endLine": 0.0
+ "startLine": 20,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -219,7 +219,7 @@
],
"id": "CSharp8_ReadOnlyMembers_Counter_"
},
- "level": 0.0,
+ "level": 0,
"type": "property",
"summary": "",
"platform": null,
@@ -348,8 +348,8 @@
},
"id": "X",
"path": "src/CSharp8.cs",
- "startLine": 9.0,
- "endLine": 0.0
+ "startLine": 9,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -399,7 +399,7 @@
],
"id": "CSharp8_ReadOnlyMembers_X_"
},
- "level": 0.0,
+ "level": 0,
"type": "property",
"summary": "",
"platform": null,
@@ -528,8 +528,8 @@
},
"id": "Y",
"path": "src/CSharp8.cs",
- "startLine": 10.0,
- "endLine": 0.0
+ "startLine": 10,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -579,7 +579,7 @@
],
"id": "CSharp8_ReadOnlyMembers_Y_"
},
- "level": 0.0,
+ "level": 0,
"type": "property",
"summary": "",
"platform": null,
@@ -713,8 +713,8 @@
},
"id": "Sum",
"path": "src/CSharp8.cs",
- "startLine": 12.0,
- "endLine": 0.0
+ "startLine": 12,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -764,7 +764,7 @@
],
"id": "CSharp8_ReadOnlyMembers_Sum_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "",
"platform": null,
@@ -892,8 +892,8 @@
},
"id": "ToString",
"path": "src/CSharp8.cs",
- "startLine": 17.0,
- "endLine": 0.0
+ "startLine": 17,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -987,7 +987,7 @@
],
"id": "CSharp8_ReadOnlyMembers_ToString_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "Returns the fully qualified type name of this instance.
\n",
"platform": null,
@@ -1048,8 +1048,8 @@
},
"id": "ReadOnlyMembers",
"path": "src/CSharp8.cs",
- "startLine": 7.0,
- "endLine": 0.0
+ "startLine": 7,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -1099,7 +1099,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -1113,7 +1113,7 @@
}
]
},
- "level": 0.0,
+ "level": 0,
"inheritedMembers": [
{
"uid": "System.ValueType.Equals(System.Object)",
@@ -1162,7 +1162,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.ValueType.GetHashCode",
@@ -1211,7 +1211,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -1260,7 +1260,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -1309,7 +1309,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -1358,7 +1358,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
}
],
"_systemKeys": [
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.html.view.verified.json
index 5a0fcddbdbe..e2ee2121cfa 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp8.html.view.verified.json
@@ -52,7 +52,7 @@
"value": "DefaultInterfaceMembers .Nested "
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "class",
"platform": null,
@@ -114,7 +114,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "This works: .\nThis does not work: .
\n",
"type": "class",
"platform": null,
@@ -176,7 +176,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "class",
"platform": null,
@@ -238,7 +238,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "class",
"platform": null,
@@ -307,7 +307,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "struct",
"platform": null,
@@ -369,7 +369,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "struct",
"platform": null,
@@ -439,7 +439,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "interface",
"platform": null,
@@ -501,7 +501,7 @@
"value": "DefaultInterfaceMembers .IA "
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "interface",
"platform": null,
@@ -560,7 +560,7 @@
"assemblies": [
"CSharp"
],
- "level": 0.0,
+ "level": 0,
"_systemKeys": [
"uid",
"isEii",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.FunctionPointers.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.FunctionPointers.html.view.verified.json
index be2c8d1ff10..e40adbcc0d8 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.FunctionPointers.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.FunctionPointers.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -380,8 +380,8 @@
},
"id": "Example",
"path": "src/CSharp9.cs",
- "startLine": 29.0,
- "endLine": 0.0
+ "startLine": 29,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -431,7 +431,7 @@
],
"id": "CSharp9_FunctionPointers_Example_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "",
"platform": null,
@@ -493,8 +493,8 @@
},
"id": "FunctionPointers",
"path": "src/CSharp9.cs",
- "startLine": 27.0,
- "endLine": 0.0
+ "startLine": 27,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -544,7 +544,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -606,11 +606,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
- "level": 1.0,
+ "level": 1,
"inheritedMembers": [
{
"uid": "System.Object.Equals(System.Object)",
@@ -659,7 +659,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -708,7 +708,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -757,7 +757,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -806,7 +806,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -855,7 +855,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -904,7 +904,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -953,7 +953,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_systemKeys": [
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.InitOnlySetters.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.InitOnlySetters.html.view.verified.json
index ba727f72bbc..f218d93fe6b 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.InitOnlySetters.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.InitOnlySetters.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -168,8 +168,8 @@
},
"id": "PressureInMillibars",
"path": "src/CSharp9.cs",
- "startLine": 18.0,
- "endLine": 0.0
+ "startLine": 18,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -219,7 +219,7 @@
],
"id": "CSharp9_InitOnlySetters_PressureInMillibars_"
},
- "level": 0.0,
+ "level": 0,
"type": "property",
"summary": "",
"platform": null,
@@ -348,8 +348,8 @@
},
"id": "RecordedAt",
"path": "src/CSharp9.cs",
- "startLine": 16.0,
- "endLine": 0.0
+ "startLine": 16,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -399,7 +399,7 @@
],
"id": "CSharp9_InitOnlySetters_RecordedAt_"
},
- "level": 0.0,
+ "level": 0,
"type": "property",
"summary": "",
"platform": null,
@@ -528,8 +528,8 @@
},
"id": "TemperatureInCelsius",
"path": "src/CSharp9.cs",
- "startLine": 17.0,
- "endLine": 0.0
+ "startLine": 17,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -579,7 +579,7 @@
],
"id": "CSharp9_InitOnlySetters_TemperatureInCelsius_"
},
- "level": 0.0,
+ "level": 0,
"type": "property",
"summary": "",
"platform": null,
@@ -641,8 +641,8 @@
},
"id": "InitOnlySetters",
"path": "src/CSharp9.cs",
- "startLine": 14.0,
- "endLine": 0.0
+ "startLine": 14,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -692,7 +692,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -754,11 +754,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
- "level": 1.0,
+ "level": 1,
"inheritedMembers": [
{
"uid": "System.Object.Equals(System.Object)",
@@ -807,7 +807,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -856,7 +856,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -905,7 +905,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -954,7 +954,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -1003,7 +1003,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -1052,7 +1052,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -1101,7 +1101,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_systemKeys": [
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.NativeSizedIntegers.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.NativeSizedIntegers.html.view.verified.json
index c1455a23e00..40cd74678dc 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.NativeSizedIntegers.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.NativeSizedIntegers.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -167,14 +167,14 @@
},
"id": "X",
"path": "src/CSharp9.cs",
- "startLine": 23.0,
- "endLine": 0.0
+ "startLine": 23,
+ "endLine": 0
},
"assemblies": [
"CSharp"
],
"namespace": "CSharp9",
- "level": 0.0,
+ "level": 0,
"type": "field",
"summary": "",
"platform": null,
@@ -302,14 +302,14 @@
},
"id": "Y",
"path": "src/CSharp9.cs",
- "startLine": 24.0,
- "endLine": 0.0
+ "startLine": 24,
+ "endLine": 0
},
"assemblies": [
"CSharp"
],
"namespace": "CSharp9",
- "level": 0.0,
+ "level": 0,
"type": "field",
"summary": "",
"platform": null,
@@ -371,8 +371,8 @@
},
"id": "NativeSizedIntegers",
"path": "src/CSharp9.cs",
- "startLine": 21.0,
- "endLine": 0.0
+ "startLine": 21,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -422,7 +422,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -484,11 +484,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
- "level": 1.0,
+ "level": 1,
"inheritedMembers": [
{
"uid": "System.Object.Equals(System.Object)",
@@ -537,7 +537,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -586,7 +586,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -635,7 +635,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -684,7 +684,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -733,7 +733,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -782,7 +782,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -831,7 +831,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_systemKeys": [
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.RecordTypes.Person.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.RecordTypes.Person.html.view.verified.json
index 370c50f219a..4649d1c1fcf 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.RecordTypes.Person.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.RecordTypes.Person.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -215,8 +215,8 @@
},
"id": ".ctor",
"path": "src/CSharp9.cs",
- "startLine": 9.0,
- "endLine": 0.0
+ "startLine": 9,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -266,7 +266,7 @@
],
"id": "CSharp9_RecordTypes_Person__ctor_"
},
- "level": 0.0,
+ "level": 0,
"type": "constructor",
"summary": "",
"platform": null,
@@ -402,8 +402,8 @@
},
"id": "FirstName",
"path": "src/CSharp9.cs",
- "startLine": 9.0,
- "endLine": 0.0
+ "startLine": 9,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -453,7 +453,7 @@
],
"id": "CSharp9_RecordTypes_Person_FirstName_"
},
- "level": 0.0,
+ "level": 0,
"type": "property",
"summary": "",
"platform": null,
@@ -582,8 +582,8 @@
},
"id": "LastName",
"path": "src/CSharp9.cs",
- "startLine": 9.0,
- "endLine": 0.0
+ "startLine": 9,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -633,7 +633,7 @@
],
"id": "CSharp9_RecordTypes_Person_LastName_"
},
- "level": 0.0,
+ "level": 0,
"type": "property",
"summary": "",
"platform": null,
@@ -695,8 +695,8 @@
},
"id": "Person",
"path": "src/CSharp9.cs",
- "startLine": 9.0,
- "endLine": 0.0
+ "startLine": 9,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -746,7 +746,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -808,8 +808,8 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
"derivedClasses": [
@@ -826,11 +826,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 2.0
+ "level": 0,
+ "index": 2
}
],
- "level": 1.0,
+ "level": 1,
"implements": [
{
"uid": "System.IEquatable{CSharp9.RecordTypes.Person}",
@@ -925,7 +925,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -974,7 +974,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -1023,7 +1023,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -1072,7 +1072,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -1121,7 +1121,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -1170,7 +1170,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -1219,7 +1219,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_systemKeys": [
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.RecordTypes.Teacher.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.RecordTypes.Teacher.html.view.verified.json
index 679c13743dd..e224a426372 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.RecordTypes.Teacher.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.RecordTypes.Teacher.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -261,8 +261,8 @@
},
"id": ".ctor",
"path": "src/CSharp9.cs",
- "startLine": 11.0,
- "endLine": 0.0
+ "startLine": 11,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -312,7 +312,7 @@
],
"id": "CSharp9_RecordTypes_Teacher__ctor_"
},
- "level": 0.0,
+ "level": 0,
"type": "constructor",
"summary": "",
"platform": null,
@@ -448,8 +448,8 @@
},
"id": "Grade",
"path": "src/CSharp9.cs",
- "startLine": 11.0,
- "endLine": 0.0
+ "startLine": 11,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -499,7 +499,7 @@
],
"id": "CSharp9_RecordTypes_Teacher_Grade_"
},
- "level": 0.0,
+ "level": 0,
"type": "property",
"summary": "",
"platform": null,
@@ -561,8 +561,8 @@
},
"id": "Teacher",
"path": "src/CSharp9.cs",
- "startLine": 11.0,
- "endLine": 0.0
+ "startLine": 11,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -612,7 +612,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -674,8 +674,8 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
},
{
"uid": "CSharp9.RecordTypes.Person",
@@ -723,11 +723,11 @@
"value": "RecordTypes .Person "
}
],
- "level": 0.0,
- "index": 1.0
+ "level": 0,
+ "index": 1
}
],
- "level": 2.0,
+ "level": 2,
"implements": [
{
"uid": "System.IEquatable{CSharp9.RecordTypes.Person}",
@@ -864,7 +864,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": null,
"type": "property",
"platform": null,
@@ -915,7 +915,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": null,
"type": "property",
"platform": null,
@@ -968,7 +968,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -1017,7 +1017,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -1066,7 +1066,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -1115,7 +1115,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -1164,7 +1164,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -1213,7 +1213,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -1262,7 +1262,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_systemKeys": [
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.RecordTypes.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.RecordTypes.html.view.verified.json
index b145ff3ca8f..22b96cccfab 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.RecordTypes.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.RecordTypes.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [],
"langs": [
@@ -93,8 +93,8 @@
},
"id": "RecordTypes",
"path": "src/CSharp9.cs",
- "startLine": 7.0,
- "endLine": 0.0
+ "startLine": 7,
+ "endLine": 0
},
"assemblies": [
"CSharp"
@@ -144,7 +144,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -206,11 +206,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
- "level": 1.0,
+ "level": 1,
"inheritedMembers": [
{
"uid": "System.Object.Equals(System.Object)",
@@ -259,7 +259,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -308,7 +308,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -357,7 +357,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -406,7 +406,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -455,7 +455,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -504,7 +504,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -553,7 +553,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_systemKeys": [
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.html.view.verified.json
index ca55d6f8aa6..05f8ed54522 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.CSharp/api/CSharp9.html.view.verified.json
@@ -52,7 +52,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "class",
"platform": null,
@@ -114,7 +114,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "class",
"platform": null,
@@ -176,7 +176,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "class",
"platform": null,
@@ -238,7 +238,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "class",
"platform": null,
@@ -301,7 +301,7 @@
"value": "RecordTypes .Person "
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "class",
"platform": null,
@@ -363,7 +363,7 @@
"value": "RecordTypes .Teacher "
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "class",
"platform": null,
@@ -422,7 +422,7 @@
"assemblies": [
"CSharp"
],
- "level": 0.0,
+ "level": 0,
"_systemKeys": [
"uid",
"isEii",
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 a1f14443979..ee35c5361e0 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
@@ -14,7 +14,7 @@
"topicUid": "CSharp10.ConstantInterpolatedStrings",
"type": "Class",
"tocHref": null,
- "level": 3.0,
+ "level": 3,
"items": [],
"leaf": true
},
@@ -25,7 +25,7 @@
"topicUid": "CSharp10.Issue7737",
"type": "Class",
"tocHref": null,
- "level": 3.0,
+ "level": 3,
"items": [],
"leaf": true
},
@@ -36,7 +36,7 @@
"topicUid": "CSharp10.ParameterlessStructConstructors",
"type": "Struct",
"tocHref": null,
- "level": 3.0,
+ "level": 3,
"items": [],
"leaf": true
},
@@ -47,7 +47,7 @@
"topicUid": "CSharp10.ReadOnlyRecordStruct",
"type": "Struct",
"tocHref": null,
- "level": 3.0,
+ "level": 3,
"items": [],
"leaf": true
},
@@ -58,7 +58,7 @@
"topicUid": "CSharp10.RecordClass",
"type": "Class",
"tocHref": null,
- "level": 3.0,
+ "level": 3,
"items": [],
"leaf": true
},
@@ -69,13 +69,13 @@
"topicUid": "CSharp10.RecordStruct",
"type": "Struct",
"tocHref": null,
- "level": 3.0,
+ "level": 3,
"items": [],
"leaf": true
}
],
"tocHref": null,
- "level": 2.0
+ "level": 2
},
{
"name": "CSharp11",
@@ -91,7 +91,7 @@
"topicUid": "CSharp11.CheckedUserDefinedOperators`1",
"type": "Interface",
"tocHref": null,
- "level": 3.0,
+ "level": 3,
"items": [],
"leaf": true
},
@@ -102,7 +102,7 @@
"topicUid": "CSharp11.RequiredModifier",
"type": "Class",
"tocHref": null,
- "level": 3.0,
+ "level": 3,
"items": [],
"leaf": true
},
@@ -113,7 +113,7 @@
"topicUid": "CSharp11.ScopedModifier",
"type": "Class",
"tocHref": null,
- "level": 3.0,
+ "level": 3,
"items": [],
"leaf": true
},
@@ -124,7 +124,7 @@
"topicUid": "CSharp11.StaticAbstractMembersInInterfaces",
"type": "Class",
"tocHref": null,
- "level": 3.0,
+ "level": 3,
"items": [],
"leaf": true
},
@@ -135,7 +135,7 @@
"topicUid": "CSharp11.StaticAbstractMembersInInterfaces.IGetNext`1",
"type": "Interface",
"tocHref": null,
- "level": 3.0,
+ "level": 3,
"items": [],
"leaf": true
},
@@ -146,13 +146,13 @@
"topicUid": "CSharp11.StaticAbstractMembersInInterfaces.RepeatSequence",
"type": "Struct",
"tocHref": null,
- "level": 3.0,
+ "level": 3,
"items": [],
"leaf": true
}
],
"tocHref": null,
- "level": 2.0
+ "level": 2
},
{
"name": "CSharp12",
@@ -168,7 +168,7 @@
"topicUid": "CSharp12.CollectionExpressions",
"type": "Class",
"tocHref": null,
- "level": 3.0,
+ "level": 3,
"items": [],
"leaf": true
},
@@ -179,7 +179,7 @@
"topicUid": "CSharp12.DefaultLambdaParameters",
"type": "Class",
"tocHref": null,
- "level": 3.0,
+ "level": 3,
"items": [],
"leaf": true
},
@@ -190,7 +190,7 @@
"topicUid": "CSharp12.InlineArrays",
"type": "Struct",
"tocHref": null,
- "level": 3.0,
+ "level": 3,
"items": [],
"leaf": true
},
@@ -201,7 +201,7 @@
"topicUid": "CSharp12.PrimaryConstructors",
"type": "Class",
"tocHref": null,
- "level": 3.0,
+ "level": 3,
"items": [],
"leaf": true
},
@@ -212,7 +212,7 @@
"topicUid": "CSharp12.PrimaryConstructors.BankAccount",
"type": "Class",
"tocHref": null,
- "level": 3.0,
+ "level": 3,
"items": [],
"leaf": true
},
@@ -223,7 +223,7 @@
"topicUid": "CSharp12.PrimaryConstructors.CheckAccount",
"type": "Class",
"tocHref": null,
- "level": 3.0,
+ "level": 3,
"items": [],
"leaf": true
},
@@ -234,7 +234,7 @@
"topicUid": "CSharp12.PrimaryConstructors.Distance",
"type": "Struct",
"tocHref": null,
- "level": 3.0,
+ "level": 3,
"items": [],
"leaf": true
},
@@ -245,13 +245,13 @@
"topicUid": "CSharp12.RefReadOnlyParameters",
"type": "Class",
"tocHref": null,
- "level": 3.0,
+ "level": 3,
"items": [],
"leaf": true
}
],
"tocHref": null,
- "level": 2.0
+ "level": 2
},
{
"name": "CSharp8",
@@ -267,7 +267,7 @@
"topicUid": "CSharp8.DefaultInterfaceMembers",
"type": "Interface",
"tocHref": null,
- "level": 3.0,
+ "level": 3,
"items": [],
"leaf": true
},
@@ -278,7 +278,7 @@
"topicUid": "CSharp8.DefaultInterfaceMembers.IA",
"type": "Interface",
"tocHref": null,
- "level": 3.0,
+ "level": 3,
"items": [],
"leaf": true
},
@@ -289,7 +289,7 @@
"topicUid": "CSharp8.DefaultInterfaceMembers.Nested",
"type": "Class",
"tocHref": null,
- "level": 3.0,
+ "level": 3,
"items": [],
"leaf": true
},
@@ -300,7 +300,7 @@
"topicUid": "CSharp8.DisposableRefStructs",
"type": "Struct",
"tocHref": null,
- "level": 3.0,
+ "level": 3,
"items": [],
"leaf": true
},
@@ -311,7 +311,7 @@
"topicUid": "CSharp8.Issue4007",
"type": "Class",
"tocHref": null,
- "level": 3.0,
+ "level": 3,
"items": [],
"leaf": true
},
@@ -322,7 +322,7 @@
"topicUid": "CSharp8.Misc",
"type": "Class",
"tocHref": null,
- "level": 3.0,
+ "level": 3,
"items": [],
"leaf": true
},
@@ -333,7 +333,7 @@
"topicUid": "CSharp8.NullableReferenceTypes",
"type": "Class",
"tocHref": null,
- "level": 3.0,
+ "level": 3,
"items": [],
"leaf": true
},
@@ -344,13 +344,13 @@
"topicUid": "CSharp8.ReadOnlyMembers",
"type": "Struct",
"tocHref": null,
- "level": 3.0,
+ "level": 3,
"items": [],
"leaf": true
}
],
"tocHref": null,
- "level": 2.0
+ "level": 2
},
{
"name": "CSharp9",
@@ -366,7 +366,7 @@
"topicUid": "CSharp9.FunctionPointers",
"type": "Class",
"tocHref": null,
- "level": 3.0,
+ "level": 3,
"items": [],
"leaf": true
},
@@ -377,7 +377,7 @@
"topicUid": "CSharp9.InitOnlySetters",
"type": "Class",
"tocHref": null,
- "level": 3.0,
+ "level": 3,
"items": [],
"leaf": true
},
@@ -388,7 +388,7 @@
"topicUid": "CSharp9.NativeSizedIntegers",
"type": "Class",
"tocHref": null,
- "level": 3.0,
+ "level": 3,
"items": [],
"leaf": true
},
@@ -399,7 +399,7 @@
"topicUid": "CSharp9.RecordTypes",
"type": "Class",
"tocHref": null,
- "level": 3.0,
+ "level": 3,
"items": [],
"leaf": true
},
@@ -410,7 +410,7 @@
"topicUid": "CSharp9.RecordTypes.Person",
"type": "Class",
"tocHref": null,
- "level": 3.0,
+ "level": 3,
"items": [],
"leaf": true
},
@@ -421,13 +421,13 @@
"topicUid": "CSharp9.RecordTypes.Teacher",
"type": "Class",
"tocHref": null,
- "level": 3.0,
+ "level": 3,
"items": [],
"leaf": true
}
],
"tocHref": null,
- "level": 2.0
+ "level": 2
}
],
"memberLayout": "SamePage",
@@ -514,7 +514,7 @@
"topicHref": null,
"tocHref": null,
"name": null,
- "level": 1.0,
+ "level": 1,
"leaf": false,
"title": "Table of Content",
"_disableToc": true
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.-ctor.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.-ctor.html.view.verified.json
index 0a605557221..cc8d7fb788e 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.-ctor.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.-ctor.html.view.verified.json
@@ -74,8 +74,8 @@
},
"id": ".ctor",
"path": "src/ExampleClass.cs",
- "startLine": 12.0,
- "endLine": 0.0
+ "startLine": 12,
+ "endLine": 0
},
"namespace": "MyExample",
"overload": {
@@ -122,7 +122,7 @@
],
"id": "MyExample_ExampleClass__ctor_"
},
- "level": 0.0,
+ "level": 0,
"type": "constructor",
"summary": "",
"platform": null,
@@ -184,8 +184,8 @@
},
"id": ".ctor",
"path": "src/ExampleClass.cs",
- "startLine": 12.0,
- "endLine": 0.0
+ "startLine": 12,
+ "endLine": 0
},
"namespace": {
"uid": "MyExample",
@@ -232,9 +232,9 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
- "level": 0.0,
+ "level": 0,
"_isOverload": true,
"_systemKeys": [
"uid",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.MyEvent.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.MyEvent.html.view.verified.json
index 8736290000f..ffcf7f9b9d6 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.MyEvent.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.MyEvent.html.view.verified.json
@@ -15,7 +15,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"langs": [
"csharp",
@@ -60,8 +60,8 @@
},
"id": "MyEvent",
"path": "src/ExampleClass.cs",
- "startLine": 6.0,
- "endLine": 0.0
+ "startLine": 6,
+ "endLine": 0
},
"namespace": {
"uid": "MyExample",
@@ -108,7 +108,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -168,7 +168,7 @@
}
}
},
- "level": 0.0,
+ "level": 0,
"_systemKeys": [
"uid",
"isEii",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.MyMethod.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.MyMethod.html.view.verified.json
index 0854ce48696..8cd78ca04ed 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.MyMethod.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.MyMethod.html.view.verified.json
@@ -119,8 +119,8 @@
},
"id": "MyMethod",
"path": "src/ExampleClass.cs",
- "startLine": 17.0,
- "endLine": 0.0
+ "startLine": 17,
+ "endLine": 0
},
"namespace": "MyExample",
"overload": {
@@ -167,7 +167,7 @@
],
"id": "MyExample_ExampleClass_MyMethod_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "",
"platform": null,
@@ -229,8 +229,8 @@
},
"id": "MyMethod",
"path": "src/ExampleClass.cs",
- "startLine": 17.0,
- "endLine": 0.0
+ "startLine": 17,
+ "endLine": 0
},
"namespace": {
"uid": "MyExample",
@@ -277,9 +277,9 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
- "level": 0.0,
+ "level": 0,
"_isOverload": true,
"_systemKeys": [
"uid",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.MyProperty.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.MyProperty.html.view.verified.json
index 8416fe5b609..699bb50d822 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.MyProperty.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.MyProperty.html.view.verified.json
@@ -121,8 +121,8 @@
},
"id": "MyProperty",
"path": "src/ExampleClass.cs",
- "startLine": 10.0,
- "endLine": 0.0
+ "startLine": 10,
+ "endLine": 0
},
"namespace": "MyExample",
"overload": {
@@ -169,7 +169,7 @@
],
"id": "MyExample_ExampleClass_MyProperty_"
},
- "level": 0.0,
+ "level": 0,
"type": "property",
"summary": "",
"platform": null,
@@ -231,8 +231,8 @@
},
"id": "MyProperty",
"path": "src/ExampleClass.cs",
- "startLine": 10.0,
- "endLine": 0.0
+ "startLine": 10,
+ "endLine": 0
},
"namespace": {
"uid": "MyExample",
@@ -279,9 +279,9 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
- "level": 0.0,
+ "level": 0,
"_isOverload": true,
"_systemKeys": [
"uid",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.html.view.verified.json
index 6d49da0a41c..100120bb55b 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.ExampleClass.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -99,7 +99,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "constructor",
"platform": null,
@@ -168,7 +168,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "property",
"platform": null,
@@ -237,7 +237,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "method",
"platform": null,
@@ -306,7 +306,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "event",
"platform": null,
@@ -370,8 +370,8 @@
},
"id": "ExampleClass",
"path": "src/ExampleClass.cs",
- "startLine": 4.0,
- "endLine": 0.0
+ "startLine": 4,
+ "endLine": 0
},
"namespace": {
"uid": "MyExample",
@@ -418,7 +418,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -480,11 +480,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
- "level": 1.0,
+ "level": 1,
"inheritedMembers": [
{
"uid": "System.Object.Equals(System.Object)",
@@ -533,7 +533,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -582,7 +582,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -631,7 +631,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -680,7 +680,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -729,7 +729,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -778,7 +778,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -827,7 +827,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_systemKeys": [
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.html.view.verified.json
index 6cab3f84175..83af7255625 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/MyExample.html.view.verified.json
@@ -52,7 +52,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "class",
"platform": null,
@@ -108,7 +108,7 @@
}
],
"type": "namespace",
- "level": 0.0,
+ "level": 0,
"_systemKeys": [
"uid",
"isEii",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/toc.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/toc.html.view.verified.json
index 2d644e1e7a6..d028027f4bb 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/toc.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/toc.html.view.verified.json
@@ -1,7 +1,7 @@
{
"items": [
{
- "name": "Namespaces",
+ "name": "Namespace",
"items": [
{
"name": "MyExample",
@@ -11,7 +11,7 @@
"type": "Namespace",
"items": [
{
- "name": "Classes",
+ "name": "Class",
"items": [
{
"name": "ExampleClass",
@@ -33,14 +33,14 @@
"nameWithType": "ExampleClass.ExampleClass",
"isEii": false,
"tocHref": null,
- "level": 7.0,
+ "level": 7,
"items": [],
"leaf": true
}
],
"topicHref": null,
"tocHref": null,
- "level": 6.0,
+ "level": 6,
"leaf": false
},
{
@@ -56,14 +56,14 @@
"nameWithType": "ExampleClass.MyProperty",
"isEii": false,
"tocHref": null,
- "level": 7.0,
+ "level": 7,
"items": [],
"leaf": true
}
],
"topicHref": null,
"tocHref": null,
- "level": 6.0,
+ "level": 6,
"leaf": false
},
{
@@ -79,14 +79,14 @@
"nameWithType": "ExampleClass.MyMethod",
"isEii": false,
"tocHref": null,
- "level": 7.0,
+ "level": 7,
"items": [],
"leaf": true
}
],
"topicHref": null,
"tocHref": null,
- "level": 6.0,
+ "level": 6,
"leaf": false
},
{
@@ -102,36 +102,36 @@
"nameWithType": "ExampleClass.MyEvent",
"isEii": false,
"tocHref": null,
- "level": 7.0,
+ "level": 7,
"items": [],
"leaf": true
}
],
"topicHref": null,
"tocHref": null,
- "level": 6.0,
+ "level": 6,
"leaf": false
}
],
"tocHref": null,
- "level": 5.0,
+ "level": 5,
"leaf": false
}
],
"topicHref": null,
"tocHref": null,
- "level": 4.0,
+ "level": 4,
"leaf": false
}
],
"tocHref": null,
- "level": 3.0,
+ "level": 3,
"leaf": false
}
],
"topicHref": null,
"tocHref": null,
- "level": 2.0,
+ "level": 2,
"leaf": false
}
],
@@ -222,6 +222,6 @@
"topicHref": null,
"tocHref": null,
"name": null,
- "level": 1.0,
+ "level": 1,
"leaf": false
}
\ No newline at end of file
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/toc.json.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/toc.json.view.verified.json
index 9445945054e..b3a0f4e5638 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/toc.json.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/toc.json.view.verified.json
@@ -1,3 +1,3 @@
{
- "content": "{\"items\":[{\"name\":\"Namespaces\",\"items\":[{\"name\":\"MyExample\",\"href\":\"MyExample.html\",\"topicHref\":\"MyExample.html\",\"topicUid\":\"MyExample\",\"type\":\"Namespace\",\"items\":[{\"name\":\"Classes\",\"items\":[{\"name\":\"ExampleClass\",\"href\":\"MyExample.ExampleClass.html\",\"topicHref\":\"MyExample.ExampleClass.html\",\"topicUid\":\"MyExample.ExampleClass\",\"type\":\"Class\",\"items\":[{\"name\":\"Constructors\",\"items\":[{\"name\":\"ExampleClass\",\"href\":\"MyExample.ExampleClass.-ctor.html\",\"topicHref\":\"MyExample.ExampleClass.-ctor.html\",\"topicUid\":\"MyExample.ExampleClass.#ctor*\",\"type\":\"Constructor\",\"fullName\":\"MyExample.ExampleClass.ExampleClass\",\"nameWithType\":\"ExampleClass.ExampleClass\",\"isEii\":false,\"tocHref\":null,\"level\":7,\"items\":[],\"leaf\":true}],\"topicHref\":null,\"tocHref\":null,\"level\":6,\"leaf\":false},{\"name\":\"Properties\",\"items\":[{\"name\":\"MyProperty\",\"href\":\"MyExample.ExampleClass.MyProperty.html\",\"topicHref\":\"MyExample.ExampleClass.MyProperty.html\",\"topicUid\":\"MyExample.ExampleClass.MyProperty*\",\"type\":\"Property\",\"fullName\":\"MyExample.ExampleClass.MyProperty\",\"nameWithType\":\"ExampleClass.MyProperty\",\"isEii\":false,\"tocHref\":null,\"level\":7,\"items\":[],\"leaf\":true}],\"topicHref\":null,\"tocHref\":null,\"level\":6,\"leaf\":false},{\"name\":\"Methods\",\"items\":[{\"name\":\"MyMethod\",\"href\":\"MyExample.ExampleClass.MyMethod.html\",\"topicHref\":\"MyExample.ExampleClass.MyMethod.html\",\"topicUid\":\"MyExample.ExampleClass.MyMethod*\",\"type\":\"Method\",\"fullName\":\"MyExample.ExampleClass.MyMethod\",\"nameWithType\":\"ExampleClass.MyMethod\",\"isEii\":false,\"tocHref\":null,\"level\":7,\"items\":[],\"leaf\":true}],\"topicHref\":null,\"tocHref\":null,\"level\":6,\"leaf\":false},{\"name\":\"Events\",\"items\":[{\"name\":\"MyEvent\",\"href\":\"MyExample.ExampleClass.MyEvent.html\",\"topicHref\":\"MyExample.ExampleClass.MyEvent.html\",\"topicUid\":\"MyExample.ExampleClass.MyEvent\",\"type\":\"Event\",\"fullName\":\"MyExample.ExampleClass.MyEvent\",\"nameWithType\":\"ExampleClass.MyEvent\",\"isEii\":false,\"tocHref\":null,\"level\":7,\"items\":[],\"leaf\":true}],\"topicHref\":null,\"tocHref\":null,\"level\":6,\"leaf\":false}],\"tocHref\":null,\"level\":5,\"leaf\":false}],\"topicHref\":null,\"tocHref\":null,\"level\":4,\"leaf\":false}],\"tocHref\":null,\"level\":3,\"leaf\":false}],\"topicHref\":null,\"tocHref\":null,\"level\":2,\"leaf\":false}],\"memberLayout\":\"SeparatePages\",\"topicHref\":null,\"tocHref\":null,\"name\":null,\"level\":1,\"leaf\":false}"
+ "content": "{\"items\":[{\"name\":\"Namespace\",\"items\":[{\"name\":\"MyExample\",\"href\":\"MyExample.html\",\"topicHref\":\"MyExample.html\",\"topicUid\":\"MyExample\",\"type\":\"Namespace\",\"items\":[{\"name\":\"Class\",\"items\":[{\"name\":\"ExampleClass\",\"href\":\"MyExample.ExampleClass.html\",\"topicHref\":\"MyExample.ExampleClass.html\",\"topicUid\":\"MyExample.ExampleClass\",\"type\":\"Class\",\"items\":[{\"name\":\"Constructors\",\"items\":[{\"name\":\"ExampleClass\",\"href\":\"MyExample.ExampleClass.-ctor.html\",\"topicHref\":\"MyExample.ExampleClass.-ctor.html\",\"topicUid\":\"MyExample.ExampleClass.#ctor*\",\"type\":\"Constructor\",\"fullName\":\"MyExample.ExampleClass.ExampleClass\",\"nameWithType\":\"ExampleClass.ExampleClass\",\"isEii\":false,\"tocHref\":null,\"level\":7,\"items\":[],\"leaf\":true}],\"topicHref\":null,\"tocHref\":null,\"level\":6,\"leaf\":false},{\"name\":\"Properties\",\"items\":[{\"name\":\"MyProperty\",\"href\":\"MyExample.ExampleClass.MyProperty.html\",\"topicHref\":\"MyExample.ExampleClass.MyProperty.html\",\"topicUid\":\"MyExample.ExampleClass.MyProperty*\",\"type\":\"Property\",\"fullName\":\"MyExample.ExampleClass.MyProperty\",\"nameWithType\":\"ExampleClass.MyProperty\",\"isEii\":false,\"tocHref\":null,\"level\":7,\"items\":[],\"leaf\":true}],\"topicHref\":null,\"tocHref\":null,\"level\":6,\"leaf\":false},{\"name\":\"Methods\",\"items\":[{\"name\":\"MyMethod\",\"href\":\"MyExample.ExampleClass.MyMethod.html\",\"topicHref\":\"MyExample.ExampleClass.MyMethod.html\",\"topicUid\":\"MyExample.ExampleClass.MyMethod*\",\"type\":\"Method\",\"fullName\":\"MyExample.ExampleClass.MyMethod\",\"nameWithType\":\"ExampleClass.MyMethod\",\"isEii\":false,\"tocHref\":null,\"level\":7,\"items\":[],\"leaf\":true}],\"topicHref\":null,\"tocHref\":null,\"level\":6,\"leaf\":false},{\"name\":\"Events\",\"items\":[{\"name\":\"MyEvent\",\"href\":\"MyExample.ExampleClass.MyEvent.html\",\"topicHref\":\"MyExample.ExampleClass.MyEvent.html\",\"topicUid\":\"MyExample.ExampleClass.MyEvent\",\"type\":\"Event\",\"fullName\":\"MyExample.ExampleClass.MyEvent\",\"nameWithType\":\"ExampleClass.MyEvent\",\"isEii\":false,\"tocHref\":null,\"level\":7,\"items\":[],\"leaf\":true}],\"topicHref\":null,\"tocHref\":null,\"level\":6,\"leaf\":false}],\"tocHref\":null,\"level\":5,\"leaf\":false}],\"topicHref\":null,\"tocHref\":null,\"level\":4,\"leaf\":false}],\"tocHref\":null,\"level\":3,\"leaf\":false}],\"topicHref\":null,\"tocHref\":null,\"level\":2,\"leaf\":false}],\"memberLayout\":\"SeparatePages\",\"topicHref\":null,\"tocHref\":null,\"name\":null,\"level\":1,\"leaf\":false}"
}
\ No newline at end of file
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/toc.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/toc.verified.json
index 853804b3f61..dea3aeee56b 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/toc.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/api/toc.verified.json
@@ -1,2 +1,2 @@
-{"items":[{"name":"Namespaces","items":[{"name":"MyExample","href":"MyExample.html","topicHref":"MyExample.html","topicUid":"MyExample","type":"Namespace","items":[{"name":"Classes","items":[{"name":"ExampleClass","href":"MyExample.ExampleClass.html","topicHref":"MyExample.ExampleClass.html","topicUid":"MyExample.ExampleClass","type":"Class","items":[{"name":"Constructors","items":[{"name":"ExampleClass","href":"MyExample.ExampleClass.-ctor.html","topicHref":"MyExample.ExampleClass.-ctor.html","topicUid":"MyExample.ExampleClass.#ctor*","type":"Constructor","fullName":"MyExample.ExampleClass.ExampleClass","nameWithType":"ExampleClass.ExampleClass","isEii":false,"tocHref":null,"level":7,"items":[],"leaf":true}],"topicHref":null,"tocHref":null,"level":6,"leaf":false},{"name":"Properties","items":[{"name":"MyProperty","href":"MyExample.ExampleClass.MyProperty.html","topicHref":"MyExample.ExampleClass.MyProperty.html","topicUid":"MyExample.ExampleClass.MyProperty*","type":"Property","fullName":"MyExample.ExampleClass.MyProperty","nameWithType":"ExampleClass.MyProperty","isEii":false,"tocHref":null,"level":7,"items":[],"leaf":true}],"topicHref":null,"tocHref":null,"level":6,"leaf":false},{"name":"Methods","items":[{"name":"MyMethod","href":"MyExample.ExampleClass.MyMethod.html","topicHref":"MyExample.ExampleClass.MyMethod.html","topicUid":"MyExample.ExampleClass.MyMethod*","type":"Method","fullName":"MyExample.ExampleClass.MyMethod","nameWithType":"ExampleClass.MyMethod","isEii":false,"tocHref":null,"level":7,"items":[],"leaf":true}],"topicHref":null,"tocHref":null,"level":6,"leaf":false},{"name":"Events","items":[{"name":"MyEvent","href":"MyExample.ExampleClass.MyEvent.html","topicHref":"MyExample.ExampleClass.MyEvent.html","topicUid":"MyExample.ExampleClass.MyEvent","type":"Event","fullName":"MyExample.ExampleClass.MyEvent","nameWithType":"ExampleClass.MyEvent","isEii":false,"tocHref":null,"level":7,"items":[],"leaf":true}],"topicHref":null,"tocHref":null,"level":6,"leaf":false}],"tocHref":null,"level":5,"leaf":false}],"topicHref":null,"tocHref":null,"level":4,"leaf":false}],"tocHref":null,"level":3,"leaf":false}],"topicHref":null,"tocHref":null,"level":2,"leaf":false}],"memberLayout":"SeparatePages","topicHref":null,"tocHref":null,"name":null,"level":1,"leaf":false}
+{"items":[{"name":"Namespace","items":[{"name":"MyExample","href":"MyExample.html","topicHref":"MyExample.html","topicUid":"MyExample","type":"Namespace","items":[{"name":"Class","items":[{"name":"ExampleClass","href":"MyExample.ExampleClass.html","topicHref":"MyExample.ExampleClass.html","topicUid":"MyExample.ExampleClass","type":"Class","items":[{"name":"Constructors","items":[{"name":"ExampleClass","href":"MyExample.ExampleClass.-ctor.html","topicHref":"MyExample.ExampleClass.-ctor.html","topicUid":"MyExample.ExampleClass.#ctor*","type":"Constructor","fullName":"MyExample.ExampleClass.ExampleClass","nameWithType":"ExampleClass.ExampleClass","isEii":false,"tocHref":null,"level":7,"items":[],"leaf":true}],"topicHref":null,"tocHref":null,"level":6,"leaf":false},{"name":"Properties","items":[{"name":"MyProperty","href":"MyExample.ExampleClass.MyProperty.html","topicHref":"MyExample.ExampleClass.MyProperty.html","topicUid":"MyExample.ExampleClass.MyProperty*","type":"Property","fullName":"MyExample.ExampleClass.MyProperty","nameWithType":"ExampleClass.MyProperty","isEii":false,"tocHref":null,"level":7,"items":[],"leaf":true}],"topicHref":null,"tocHref":null,"level":6,"leaf":false},{"name":"Methods","items":[{"name":"MyMethod","href":"MyExample.ExampleClass.MyMethod.html","topicHref":"MyExample.ExampleClass.MyMethod.html","topicUid":"MyExample.ExampleClass.MyMethod*","type":"Method","fullName":"MyExample.ExampleClass.MyMethod","nameWithType":"ExampleClass.MyMethod","isEii":false,"tocHref":null,"level":7,"items":[],"leaf":true}],"topicHref":null,"tocHref":null,"level":6,"leaf":false},{"name":"Events","items":[{"name":"MyEvent","href":"MyExample.ExampleClass.MyEvent.html","topicHref":"MyExample.ExampleClass.MyEvent.html","topicUid":"MyExample.ExampleClass.MyEvent","type":"Event","fullName":"MyExample.ExampleClass.MyEvent","nameWithType":"ExampleClass.MyEvent","isEii":false,"tocHref":null,"level":7,"items":[],"leaf":true}],"topicHref":null,"tocHref":null,"level":6,"leaf":false}],"tocHref":null,"level":5,"leaf":false}],"topicHref":null,"tocHref":null,"level":4,"leaf":false}],"tocHref":null,"level":3,"leaf":false}],"topicHref":null,"tocHref":null,"level":2,"leaf":false}],"memberLayout":"SeparatePages","topicHref":null,"tocHref":null,"name":null,"level":1,"leaf":false}
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/index.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/index.html.view.verified.json
index 5341ee17951..6f32123cbb1 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/index.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/index.html.view.verified.json
@@ -7,8 +7,8 @@
"branch": "main",
"repo": "https://github.com/dotnet/docfx"
},
- "startLine": 0.0,
- "endLine": 0.0
+ "startLine": 0,
+ "endLine": 0
},
"path": "index.md",
"documentation": {
@@ -17,8 +17,8 @@
"branch": "main",
"repo": "https://github.com/dotnet/docfx"
},
- "startLine": 0.0,
- "endLine": 0.0
+ "startLine": 0,
+ "endLine": 0
},
"_systemKeys": [
"conceptual",
@@ -32,7 +32,7 @@
],
"rawTitle": "This is the HOMEPAGE . ",
"title": "This is the HOMEPAGE.",
- "wordCount": 33.0,
+ "wordCount": 33,
"_key": "index.md",
"_navKey": "~/toc.yml",
"_navPath": "toc.html",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/toc.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/toc.html.view.verified.json
index ecb94a71a7d..522c3407343 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Extensions/toc.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Extensions/toc.html.view.verified.json
@@ -6,7 +6,7 @@
"tocHref": "api/toc.html",
"topicHref": "api/MyExample.html",
"topicUid": "MyExample",
- "level": 2.0,
+ "level": 2,
"items": [],
"leaf": true
}
@@ -97,7 +97,7 @@
"topicHref": null,
"tocHref": null,
"name": null,
- "level": 1.0,
+ "level": 1,
"leaf": false,
"title": "Table of Content",
"_disableToc": true
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromAssembly.Class1.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromAssembly.Class1.html.view.verified.json
index 6f11582a542..cbbe00183bd 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromAssembly.Class1.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromAssembly.Class1.html.view.verified.json
@@ -48,7 +48,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -116,8 +116,8 @@
},
"source": {
"href": "https://github.com/dotnet/docfx/blob/main/samples/seed/dotnet/assembly/Class1.cs",
- "startLine": 0.0,
- "endLine": 0.0
+ "startLine": 0,
+ "endLine": 0
},
"assemblies": [
"BuildFromAssembly"
@@ -167,7 +167,7 @@
],
"id": "BuildFromAssembly_Class1__ctor_"
},
- "level": 0.0,
+ "level": 0,
"type": "constructor",
"summary": "",
"platform": null,
@@ -250,8 +250,8 @@
},
"source": {
"href": "https://github.com/dotnet/docfx/blob/main/samples/seed/dotnet/assembly/Class1.cs",
- "startLine": 0.0,
- "endLine": 0.0
+ "startLine": 0,
+ "endLine": 0
},
"assemblies": [
"BuildFromAssembly"
@@ -302,7 +302,7 @@
],
"id": "BuildFromAssembly_Class1_HelloWorld_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "Hello World.
\n",
"platform": null,
@@ -357,8 +357,8 @@
"type": "class",
"source": {
"href": "https://github.com/dotnet/docfx/blob/main/samples/seed/dotnet/assembly/Class1.cs",
- "startLine": 0.0,
- "endLine": 0.0
+ "startLine": 0,
+ "endLine": 0
},
"assemblies": [
"BuildFromAssembly"
@@ -409,7 +409,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"summary": "This is a test class.
\n",
"example": [],
@@ -473,11 +473,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
- "level": 1.0,
+ "level": 1,
"inheritedMembers": [
{
"uid": "System.Object.GetType",
@@ -526,7 +526,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -575,7 +575,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -624,7 +624,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object)",
@@ -673,7 +673,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -722,7 +722,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -771,7 +771,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -820,7 +820,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_appName": "Seed",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromAssembly.Issue5432.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromAssembly.Issue5432.html.view.verified.json
index 60a61ea8689..caa875b273b 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromAssembly.Issue5432.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromAssembly.Issue5432.html.view.verified.json
@@ -48,7 +48,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -163,8 +163,8 @@
},
"source": {
"href": "https://github.com/dotnet/docfx/blob/main/samples/seed/dotnet/assembly/Class1.cs",
- "startLine": 0.0,
- "endLine": 0.0
+ "startLine": 0,
+ "endLine": 0
},
"assemblies": [
"BuildFromAssembly"
@@ -214,7 +214,7 @@
],
"id": "BuildFromAssembly_Issue5432_Name_"
},
- "level": 0.0,
+ "level": 0,
"type": "property",
"summary": "",
"platform": null,
@@ -270,8 +270,8 @@
"type": "struct",
"source": {
"href": "https://github.com/dotnet/docfx/blob/main/samples/seed/dotnet/assembly/Class1.cs",
- "startLine": 0.0,
- "endLine": 0.0
+ "startLine": 0,
+ "endLine": 0
},
"assemblies": [
"BuildFromAssembly"
@@ -322,7 +322,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -336,7 +336,7 @@
}
]
},
- "level": 0.0,
+ "level": 0,
"inheritedMembers": [
{
"uid": "System.ValueType.Equals(System.Object)",
@@ -385,7 +385,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.ValueType.GetHashCode",
@@ -434,7 +434,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.ValueType.ToString",
@@ -483,7 +483,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -532,7 +532,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -581,7 +581,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -630,7 +630,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
}
],
"_appName": "Seed",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromAssembly.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromAssembly.html.view.verified.json
index 26aa7bfe56d..4d747b5b7a2 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromAssembly.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromAssembly.html.view.verified.json
@@ -53,7 +53,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "This is a test class.
\n",
"type": "class",
"platform": null,
@@ -123,7 +123,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "struct",
"platform": null,
@@ -182,7 +182,7 @@
"assemblies": [
"BuildFromAssembly"
],
- "level": 0.0,
+ "level": 0,
"_appName": "Seed",
"_appTitle": "docfx seed website",
"_enableSearch": true,
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromCSharpSourceCode.CSharp.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromCSharpSourceCode.CSharp.html.view.verified.json
index 391a0e71fbc..0333fb815c1 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromCSharpSourceCode.CSharp.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromCSharpSourceCode.CSharp.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -169,8 +169,8 @@
},
"id": "Main",
"path": "dotnet/csharp/CSharp.cs",
- "startLine": 9.0,
- "endLine": 0.0
+ "startLine": 9,
+ "endLine": 0
},
"namespace": "BuildFromCSharpSourceCode",
"overload": {
@@ -217,7 +217,7 @@
],
"id": "BuildFromCSharpSourceCode_CSharp_Main_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "",
"platform": null,
@@ -279,8 +279,8 @@
},
"id": "CSharp",
"path": "dotnet/csharp/CSharp.cs",
- "startLine": 7.0,
- "endLine": 0.0
+ "startLine": 7,
+ "endLine": 0
},
"namespace": {
"uid": "BuildFromCSharpSourceCode",
@@ -327,7 +327,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -389,11 +389,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
- "level": 1.0,
+ "level": 1,
"inheritedMembers": [
{
"uid": "System.Object.Equals(System.Object)",
@@ -442,7 +442,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -491,7 +491,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -540,7 +540,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -589,7 +589,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -638,7 +638,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -687,7 +687,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -736,7 +736,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_appName": "Seed",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromCSharpSourceCode.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromCSharpSourceCode.html.view.verified.json
index b7a766be7f9..a2a4d7331e5 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromCSharpSourceCode.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromCSharpSourceCode.html.view.verified.json
@@ -52,7 +52,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "class",
"platform": null,
@@ -108,7 +108,7 @@
}
],
"type": "namespace",
- "level": 0.0,
+ "level": 0,
"_appName": "Seed",
"_appTitle": "docfx seed website",
"_enableSearch": true,
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.IIssue8948.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.IIssue8948.html.view.verified.json
index 9012ed6467d..29157d2d34e 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.IIssue8948.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.IIssue8948.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -127,8 +127,8 @@
},
"id": "DoNothing",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 139.0,
- "endLine": 0.0
+ "startLine": 139,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -179,7 +179,7 @@
],
"id": "BuildFromProject_Class1_IIssue8948_DoNothing_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "Does nothing with generic type T
.
\n",
"platform": null,
@@ -240,8 +240,8 @@
},
"id": "IIssue8948",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 133.0,
- "endLine": 0.0
+ "startLine": 133,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -291,7 +291,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -305,7 +305,7 @@
}
]
},
- "level": 0.0,
+ "level": 0,
"_appName": "Seed",
"_appTitle": "docfx seed website",
"_enableSearch": true,
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Issue8665.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Issue8665.html.view.verified.json
index 22944257e87..54ecb7a8cd5 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Issue8665.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Issue8665.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -121,8 +121,8 @@
},
"id": ".ctor",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 111.0,
- "endLine": 0.0
+ "startLine": 111,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -172,7 +172,7 @@
],
"id": "BuildFromProject_Class1_Issue8665__ctor_"
},
- "level": 0.0,
+ "level": 0,
"type": "constructor",
"summary": "",
"platform": null,
@@ -302,8 +302,8 @@
},
"id": ".ctor",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 113.0,
- "endLine": 0.0
+ "startLine": 113,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -353,7 +353,7 @@
],
"id": "BuildFromProject_Class1_Issue8665__ctor_"
},
- "level": 0.0,
+ "level": 0,
"type": "constructor",
"summary": "",
"platform": null,
@@ -529,8 +529,8 @@
},
"id": ".ctor",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 115.0,
- "endLine": 0.0
+ "startLine": 115,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -580,7 +580,7 @@
],
"id": "BuildFromProject_Class1_Issue8665__ctor_"
},
- "level": 0.0,
+ "level": 0,
"type": "constructor",
"summary": "",
"platform": null,
@@ -802,8 +802,8 @@
},
"id": ".ctor",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 117.0,
- "endLine": 0.0
+ "startLine": 117,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -853,7 +853,7 @@
],
"id": "BuildFromProject_Class1_Issue8665__ctor_"
},
- "level": 0.0,
+ "level": 0,
"type": "constructor",
"summary": "",
"platform": null,
@@ -989,8 +989,8 @@
},
"id": "Bar",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 108.0,
- "endLine": 0.0
+ "startLine": 108,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -1040,7 +1040,7 @@
],
"id": "BuildFromProject_Class1_Issue8665_Bar_"
},
- "level": 0.0,
+ "level": 0,
"type": "property",
"summary": "",
"platform": null,
@@ -1169,8 +1169,8 @@
},
"id": "Baz",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 109.0,
- "endLine": 0.0
+ "startLine": 109,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -1220,7 +1220,7 @@
],
"id": "BuildFromProject_Class1_Issue8665_Baz_"
},
- "level": 0.0,
+ "level": 0,
"type": "property",
"summary": "",
"platform": null,
@@ -1349,8 +1349,8 @@
},
"id": "Foo",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 107.0,
- "endLine": 0.0
+ "startLine": 107,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -1400,7 +1400,7 @@
],
"id": "BuildFromProject_Class1_Issue8665_Foo_"
},
- "level": 0.0,
+ "level": 0,
"type": "property",
"summary": "",
"platform": null,
@@ -1462,8 +1462,8 @@
},
"id": "Issue8665",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 105.0,
- "endLine": 0.0
+ "startLine": 105,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -1513,7 +1513,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -1575,11 +1575,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
- "level": 1.0,
+ "level": 1,
"inheritedMembers": [
{
"uid": "System.Object.Equals(System.Object)",
@@ -1628,7 +1628,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -1677,7 +1677,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -1726,7 +1726,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -1775,7 +1775,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -1824,7 +1824,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -1873,7 +1873,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -1922,7 +1922,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_appName": "Seed",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Issue8696Attribute.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Issue8696Attribute.html.view.verified.json
index b54ecc130b2..c38ba60ac32 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Issue8696Attribute.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Issue8696Attribute.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -399,8 +399,8 @@
},
"id": ".ctor",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 127.0,
- "endLine": 0.0
+ "startLine": 127,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -450,7 +450,7 @@
],
"id": "BuildFromProject_Class1_Issue8696Attribute__ctor_"
},
- "level": 0.0,
+ "level": 0,
"type": "constructor",
"summary": "",
"platform": null,
@@ -512,8 +512,8 @@
},
"id": "Issue8696Attribute",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 125.0,
- "endLine": 0.0
+ "startLine": 125,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -563,7 +563,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -625,8 +625,8 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
},
{
"uid": "System.Attribute",
@@ -675,11 +675,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 1.0
+ "level": 0,
+ "index": 1
}
],
- "level": 2.0,
+ "level": 2,
"inheritedMembers": [
{
"uid": "System.Attribute.Equals(System.Object)",
@@ -728,7 +728,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Attribute.GetCustomAttribute(System.Reflection.Assembly,System.Type)",
@@ -777,7 +777,7 @@
"value": "GetCustomAttribute (Assembly , Type )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Attribute.GetCustomAttribute(System.Reflection.Assembly,System.Type,System.Boolean)",
@@ -826,7 +826,7 @@
"value": "GetCustomAttribute (Assembly , Type , Boolean )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo,System.Type)",
@@ -875,7 +875,7 @@
"value": "GetCustomAttribute (MemberInfo , Type )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo,System.Type,System.Boolean)",
@@ -924,7 +924,7 @@
"value": "GetCustomAttribute (MemberInfo , Type , Boolean )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Attribute.GetCustomAttribute(System.Reflection.Module,System.Type)",
@@ -973,7 +973,7 @@
"value": "GetCustomAttribute (Module , Type )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Attribute.GetCustomAttribute(System.Reflection.Module,System.Type,System.Boolean)",
@@ -1022,7 +1022,7 @@
"value": "GetCustomAttribute (Module , Type , Boolean )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo,System.Type)",
@@ -1071,7 +1071,7 @@
"value": "GetCustomAttribute (ParameterInfo , Type )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo,System.Type,System.Boolean)",
@@ -1120,7 +1120,7 @@
"value": "GetCustomAttribute (ParameterInfo , Type , Boolean )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Attribute.GetCustomAttributes(System.Reflection.Assembly)",
@@ -1169,7 +1169,7 @@
"value": "GetCustomAttributes (Assembly )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Attribute.GetCustomAttributes(System.Reflection.Assembly,System.Boolean)",
@@ -1218,7 +1218,7 @@
"value": "GetCustomAttributes (Assembly , Boolean )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Attribute.GetCustomAttributes(System.Reflection.Assembly,System.Type)",
@@ -1267,7 +1267,7 @@
"value": "GetCustomAttributes (Assembly , Type )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Attribute.GetCustomAttributes(System.Reflection.Assembly,System.Type,System.Boolean)",
@@ -1316,7 +1316,7 @@
"value": "GetCustomAttributes (Assembly , Type , Boolean )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo)",
@@ -1365,7 +1365,7 @@
"value": "GetCustomAttributes (MemberInfo )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo,System.Boolean)",
@@ -1414,7 +1414,7 @@
"value": "GetCustomAttributes (MemberInfo , Boolean )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo,System.Type)",
@@ -1463,7 +1463,7 @@
"value": "GetCustomAttributes (MemberInfo , Type )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo,System.Type,System.Boolean)",
@@ -1512,7 +1512,7 @@
"value": "GetCustomAttributes (MemberInfo , Type , Boolean )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Attribute.GetCustomAttributes(System.Reflection.Module)",
@@ -1561,7 +1561,7 @@
"value": "GetCustomAttributes (Module )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Attribute.GetCustomAttributes(System.Reflection.Module,System.Boolean)",
@@ -1610,7 +1610,7 @@
"value": "GetCustomAttributes (Module , Boolean )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Attribute.GetCustomAttributes(System.Reflection.Module,System.Type)",
@@ -1659,7 +1659,7 @@
"value": "GetCustomAttributes (Module , Type )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Attribute.GetCustomAttributes(System.Reflection.Module,System.Type,System.Boolean)",
@@ -1708,7 +1708,7 @@
"value": "GetCustomAttributes (Module , Type , Boolean )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo)",
@@ -1757,7 +1757,7 @@
"value": "GetCustomAttributes (ParameterInfo )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo,System.Boolean)",
@@ -1806,7 +1806,7 @@
"value": "GetCustomAttributes (ParameterInfo , Boolean )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo,System.Type)",
@@ -1855,7 +1855,7 @@
"value": "GetCustomAttributes (ParameterInfo , Type )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo,System.Type,System.Boolean)",
@@ -1904,7 +1904,7 @@
"value": "GetCustomAttributes (ParameterInfo , Type , Boolean )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Attribute.GetHashCode",
@@ -1953,7 +1953,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Attribute.IsDefaultAttribute",
@@ -2002,7 +2002,7 @@
"value": "IsDefaultAttribute ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Attribute.IsDefined(System.Reflection.Assembly,System.Type)",
@@ -2051,7 +2051,7 @@
"value": "IsDefined (Assembly , Type )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Attribute.IsDefined(System.Reflection.Assembly,System.Type,System.Boolean)",
@@ -2100,7 +2100,7 @@
"value": "IsDefined (Assembly , Type , Boolean )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Attribute.IsDefined(System.Reflection.MemberInfo,System.Type)",
@@ -2149,7 +2149,7 @@
"value": "IsDefined (MemberInfo , Type )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Attribute.IsDefined(System.Reflection.MemberInfo,System.Type,System.Boolean)",
@@ -2198,7 +2198,7 @@
"value": "IsDefined (MemberInfo , Type , Boolean )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Attribute.IsDefined(System.Reflection.Module,System.Type)",
@@ -2247,7 +2247,7 @@
"value": "IsDefined (Module , Type )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Attribute.IsDefined(System.Reflection.Module,System.Type,System.Boolean)",
@@ -2296,7 +2296,7 @@
"value": "IsDefined (Module , Type , Boolean )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Attribute.IsDefined(System.Reflection.ParameterInfo,System.Type)",
@@ -2345,7 +2345,7 @@
"value": "IsDefined (ParameterInfo , Type )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Attribute.IsDefined(System.Reflection.ParameterInfo,System.Type,System.Boolean)",
@@ -2394,7 +2394,7 @@
"value": "IsDefined (ParameterInfo , Type , Boolean )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Attribute.Match(System.Object)",
@@ -2443,7 +2443,7 @@
"value": "Match (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Attribute.TypeId",
@@ -2492,7 +2492,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -2541,7 +2541,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -2590,7 +2590,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -2639,7 +2639,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -2688,7 +2688,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -2737,7 +2737,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_appName": "Seed",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Issue8948.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Issue8948.html.view.verified.json
index d41e2fd1752..a0064b481a4 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Issue8948.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Issue8948.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -127,8 +127,8 @@
},
"id": "DoNothing",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 145.0,
- "endLine": 0.0
+ "startLine": 145,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -179,7 +179,7 @@
],
"id": "BuildFromProject_Class1_Issue8948_DoNothing_"
},
- "level": 0.0,
+ "level": 0,
"implements": [
{
"uid": "BuildFromProject.Class1.IIssue8948.DoNothing``1",
@@ -284,8 +284,8 @@
},
"id": "Issue8948",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 142.0,
- "endLine": 0.0
+ "startLine": 142,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -335,7 +335,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -397,11 +397,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
- "level": 1.0,
+ "level": 1,
"implements": [
{
"uid": "BuildFromProject.Class1.IIssue8948",
@@ -495,7 +495,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -544,7 +544,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -593,7 +593,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -642,7 +642,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -691,7 +691,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -740,7 +740,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -789,7 +789,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_appName": "Seed",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Issue9260.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Issue9260.html.view.verified.json
index 5d70683fef7..595de67fc4b 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Issue9260.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Issue9260.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -167,8 +167,8 @@
},
"id": "Value",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 173.0,
- "endLine": 0.0
+ "startLine": 173,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -176,7 +176,7 @@
"namespace": "BuildFromProject",
"remarks": "This is a remarks section. Very important remarks about Value go here.
\n",
"example": [],
- "level": 0.0,
+ "level": 0,
"type": "field",
"summary": "This is a regular enum value.
\n",
"platform": null,
@@ -302,8 +302,8 @@
},
"id": "OldAndUnusedValue",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 181.0,
- "endLine": 0.0
+ "startLine": 181,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -311,7 +311,7 @@
"namespace": "BuildFromProject",
"remarks": "Don't use this, seriously! Use Value instead.
\n",
"example": [],
- "level": 0.0,
+ "level": 0,
"attributes": [
{
"type": "System.ObsoleteAttribute",
@@ -444,8 +444,8 @@
},
"id": "OldAndUnusedValue2",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 190.0,
- "endLine": 0.0
+ "startLine": 190,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -453,7 +453,7 @@
"namespace": "BuildFromProject",
"remarks": "Don't use this, seriously! Use Value instead.
\n",
"example": [],
- "level": 0.0,
+ "level": 0,
"attributes": [
{
"type": "System.ObsoleteAttribute",
@@ -525,8 +525,8 @@
},
"id": "Issue9260",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 165.0,
- "endLine": 0.0
+ "startLine": 165,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -576,7 +576,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -590,7 +590,7 @@
}
]
},
- "level": 0.0,
+ "level": 0,
"_appName": "Seed",
"_appTitle": "docfx seed website",
"_enableSearch": true,
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Test-1.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Test-1.html.view.verified.json
index 0b88184fc68..b89ae5d388c 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Test-1.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.Test-1.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [],
"langs": [
@@ -93,8 +93,8 @@
},
"id": "Test",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 5.0,
- "endLine": 0.0
+ "startLine": 5,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -144,7 +144,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -212,11 +212,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
- "level": 1.0,
+ "level": 1,
"inheritedMembers": [
{
"uid": "System.Object.Equals(System.Object)",
@@ -265,7 +265,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -314,7 +314,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -363,7 +363,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -412,7 +412,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -461,7 +461,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -510,7 +510,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -559,7 +559,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_appName": "Seed",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.html.view.verified.json
index 1cfe6667fae..617b1ddd964 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Class1.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -121,8 +121,8 @@
},
"id": "Issue1651",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 32.0,
- "endLine": 0.0
+ "startLine": 32,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -173,7 +173,7 @@
],
"id": "BuildFromProject_Class1_Issue1651_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "Pricing models are used to calculate theoretical option values
\n1 Black Scholes2 Black763 Black76Fut4 Equity Tree5 Variance Swap6 Dividend Forecast \n",
"platform": null,
@@ -254,8 +254,8 @@
},
"id": "Issue1887",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 151.0,
- "endLine": 0.0
+ "startLine": 151,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -306,7 +306,7 @@
],
"id": "BuildFromProject_Class1_Issue1887_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "IConfiguration related helper and extension routines.
\n",
"platform": null,
@@ -387,8 +387,8 @@
},
"id": "Issue2623",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 77.0,
- "endLine": 0.0
+ "startLine": 77,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -442,7 +442,7 @@
],
"id": "BuildFromProject_Class1_Issue2623_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "",
"platform": null,
@@ -522,8 +522,8 @@
},
"id": "Issue2723",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 96.0,
- "endLine": 0.0
+ "startLine": 96,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -575,7 +575,7 @@
],
"id": "BuildFromProject_Class1_Issue2723_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "",
"platform": null,
@@ -655,8 +655,8 @@
},
"id": "Issue4017",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 55.0,
- "endLine": 0.0
+ "startLine": 55,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -710,7 +710,7 @@
],
"id": "BuildFromProject_Class1_Issue4017_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "",
"platform": null,
@@ -790,8 +790,8 @@
},
"id": "Issue4392",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 101.0,
- "endLine": 0.0
+ "startLine": 101,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -843,7 +843,7 @@
],
"id": "BuildFromProject_Class1_Issue4392_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "",
"platform": null,
@@ -923,8 +923,8 @@
},
"id": "Issue7484",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 42.0,
- "endLine": 0.0
+ "startLine": 42,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -976,7 +976,7 @@
],
"id": "BuildFromProject_Class1_Issue7484_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "",
"platform": null,
@@ -1062,8 +1062,8 @@
},
"id": "Issue8764",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 103.0,
- "endLine": 0.0
+ "startLine": 103,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -1113,7 +1113,7 @@
],
"id": "BuildFromProject_Class1_Issue8764_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "",
"platform": null,
@@ -1195,8 +1195,8 @@
},
"id": "Issue896",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 19.0,
- "endLine": 0.0
+ "startLine": 19,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -1343,7 +1343,7 @@
"isCref": true
}
],
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "Test
\n",
"platform": null,
@@ -1468,8 +1468,8 @@
},
"id": "Issue9216",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 163.0,
- "endLine": 0.0
+ "startLine": 163,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -1520,7 +1520,7 @@
],
"id": "BuildFromProject_Class1_Issue9216_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "Calculates the determinant of a 3-dimensional matrix:
\n\\(A = \\begin{vmatrix} a_{11} & a_{12} & a_{13} \\\\ a_{21} & a_{22} & a_{23} \\\\ a_{31} & a_{32} & a_{33} \\end{vmatrix}\\)
\nReturns the smallest value:
\n\\(\\left\\{\\begin{matrix}a, a<b \\\\ b, b>a\\\\ \\end{matrix} \\right.\\)
\n",
"platform": null,
@@ -1601,8 +1601,8 @@
},
"id": "XmlCommentIncludeTag",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 11.0,
- "endLine": 0.0
+ "startLine": 11,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -1654,7 +1654,7 @@
],
"id": "BuildFromProject_Class1_XmlCommentIncludeTag_"
},
- "level": 0.0,
+ "level": 0,
"implements": [
{
"uid": "BuildFromProject.IClass1.XmlCommentIncludeTag",
@@ -1758,8 +1758,8 @@
},
"id": "Class1",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 2.0,
- "endLine": 0.0
+ "startLine": 2,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -1809,7 +1809,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -1871,11 +1871,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
- "level": 1.0,
+ "level": 1,
"implements": [
{
"uid": "BuildFromProject.IClass1",
@@ -1969,7 +1969,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -2018,7 +2018,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -2067,7 +2067,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -2116,7 +2116,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -2165,7 +2165,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -2214,7 +2214,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -2263,7 +2263,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_appName": "Seed",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Dog.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Dog.html.view.verified.json
index adbb442528a..ea4123c2930 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Dog.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Dog.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -217,8 +217,8 @@
},
"id": ".ctor",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 237.0,
- "endLine": 0.0
+ "startLine": 237,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -269,7 +269,7 @@
],
"id": "BuildFromProject_Dog__ctor_"
},
- "level": 0.0,
+ "level": 0,
"type": "constructor",
"summary": "Constructor.
\n",
"platform": null,
@@ -404,8 +404,8 @@
},
"id": "Age",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 230.0,
- "endLine": 0.0
+ "startLine": 230,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -456,7 +456,7 @@
],
"id": "BuildFromProject_Dog_Age_"
},
- "level": 0.0,
+ "level": 0,
"type": "property",
"summary": "Age of the dog.
\n",
"platform": null,
@@ -584,8 +584,8 @@
},
"id": "Name",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 225.0,
- "endLine": 0.0
+ "startLine": 225,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -636,7 +636,7 @@
],
"id": "BuildFromProject_Dog_Name_"
},
- "level": 0.0,
+ "level": 0,
"type": "property",
"summary": "Name of the dog.
\n",
"platform": null,
@@ -697,8 +697,8 @@
},
"id": "Dog",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 220.0,
- "endLine": 0.0
+ "startLine": 220,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -748,7 +748,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"summary": "Class representing a dog.
\n",
"example": [],
@@ -812,11 +812,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
- "level": 1.0,
+ "level": 1,
"inheritedMembers": [
{
"uid": "System.Object.Equals(System.Object)",
@@ -865,7 +865,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -914,7 +914,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -963,7 +963,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -1012,7 +1012,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -1061,7 +1061,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -1110,7 +1110,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -1159,7 +1159,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_appName": "Seed",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.IInheritdoc.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.IInheritdoc.html.view.verified.json
index 077f7eb4387..2204fa88ed4 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.IInheritdoc.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.IInheritdoc.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -121,8 +121,8 @@
},
"id": "Issue7629",
"path": "dotnet/project/Project/Inheritdoc.cs",
- "startLine": 7.0,
- "endLine": 0.0
+ "startLine": 7,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -173,7 +173,7 @@
],
"id": "BuildFromProject_IInheritdoc_Issue7629_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "This method should do something...
\n",
"platform": null,
@@ -234,8 +234,8 @@
},
"id": "IInheritdoc",
"path": "dotnet/project/Project/Inheritdoc.cs",
- "startLine": 2.0,
- "endLine": 0.0
+ "startLine": 2,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -285,7 +285,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -299,7 +299,7 @@
}
]
},
- "level": 0.0,
+ "level": 0,
"_appName": "Seed",
"_appTitle": "docfx seed website",
"_enableSearch": true,
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue6366.Class1-1.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue6366.Class1-1.html.view.verified.json
index b8406fd280b..0eb2e933bbd 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue6366.Class1-1.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue6366.Class1-1.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -265,8 +265,8 @@
},
"id": "TestMethod1",
"path": "dotnet/project/Project/Inheritdoc.cs",
- "startLine": 101.0,
- "endLine": 0.0
+ "startLine": 101,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -317,7 +317,7 @@
],
"id": "BuildFromProject_Inheritdoc_Issue6366_Class1_1_TestMethod1_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "This text inherited.
\n",
"platform": null,
@@ -378,8 +378,8 @@
},
"id": "Class1",
"path": "dotnet/project/Project/Inheritdoc.cs",
- "startLine": 93.0,
- "endLine": 0.0
+ "startLine": 93,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -429,7 +429,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -497,8 +497,8 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
"derivedClasses": [
@@ -515,11 +515,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 2.0
+ "level": 0,
+ "index": 2
}
],
- "level": 1.0,
+ "level": 1,
"inheritedMembers": [
{
"uid": "System.Object.Equals(System.Object)",
@@ -568,7 +568,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -617,7 +617,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -666,7 +666,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -715,7 +715,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -764,7 +764,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -813,7 +813,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -862,7 +862,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_appName": "Seed",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue6366.Class2.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue6366.Class2.html.view.verified.json
index a0e244c9522..d499557fb30 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue6366.Class2.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue6366.Class2.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -263,8 +263,8 @@
},
"id": "TestMethod1",
"path": "dotnet/project/Project/Inheritdoc.cs",
- "startLine": 107.0,
- "endLine": 0.0
+ "startLine": 107,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -359,7 +359,7 @@
],
"id": "BuildFromProject_Inheritdoc_Issue6366_Class2_TestMethod1_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "This text inherited.
\n",
"platform": null,
@@ -420,8 +420,8 @@
},
"id": "Class2",
"path": "dotnet/project/Project/Inheritdoc.cs",
- "startLine": 104.0,
- "endLine": 0.0
+ "startLine": 104,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -471,7 +471,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -533,8 +533,8 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
},
{
"uid": "BuildFromProject.Inheritdoc.Issue6366.Class1{System.Boolean}",
@@ -583,11 +583,11 @@
"value": "Inheritdoc .Issue6366 .Class1 (Of Boolean )"
}
],
- "level": 0.0,
- "index": 1.0
+ "level": 0,
+ "index": 1
}
],
- "level": 2.0,
+ "level": 2,
"inheritedMembers": [
{
"uid": "System.Object.Equals(System.Object)",
@@ -636,7 +636,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -685,7 +685,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -734,7 +734,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -783,7 +783,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -832,7 +832,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -881,7 +881,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -930,7 +930,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_appName": "Seed",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue6366.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue6366.html.view.verified.json
index d7cdb5acc8e..5ae1b120924 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue6366.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue6366.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [],
"langs": [
@@ -93,8 +93,8 @@
},
"id": "Issue6366",
"path": "dotnet/project/Project/Inheritdoc.cs",
- "startLine": 91.0,
- "endLine": 0.0
+ "startLine": 91,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -144,7 +144,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -206,11 +206,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
- "level": 1.0,
+ "level": 1,
"inheritedMembers": [
{
"uid": "System.Object.Equals(System.Object)",
@@ -259,7 +259,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -308,7 +308,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -357,7 +357,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -406,7 +406,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -455,7 +455,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -504,7 +504,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -553,7 +553,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_appName": "Seed",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue7035.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue7035.html.view.verified.json
index ff637cd9194..bf2647e64c5 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue7035.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue7035.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -121,8 +121,8 @@
},
"id": "A",
"path": "dotnet/project/Project/Inheritdoc.cs",
- "startLine": 85.0,
- "endLine": 0.0
+ "startLine": 85,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -173,7 +173,7 @@
],
"id": "BuildFromProject_Inheritdoc_Issue7035_A_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "",
"platform": null,
@@ -254,8 +254,8 @@
},
"id": "B",
"path": "dotnet/project/Project/Inheritdoc.cs",
- "startLine": 88.0,
- "endLine": 0.0
+ "startLine": 88,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -306,7 +306,7 @@
],
"id": "BuildFromProject_Inheritdoc_Issue7035_B_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "",
"platform": null,
@@ -367,8 +367,8 @@
},
"id": "Issue7035",
"path": "dotnet/project/Project/Inheritdoc.cs",
- "startLine": 82.0,
- "endLine": 0.0
+ "startLine": 82,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -418,7 +418,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -480,11 +480,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
- "level": 1.0,
+ "level": 1,
"inheritedMembers": [
{
"uid": "System.Object.Equals(System.Object)",
@@ -533,7 +533,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -582,7 +582,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -631,7 +631,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -680,7 +680,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -729,7 +729,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -778,7 +778,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -827,7 +827,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_appName": "Seed",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue7484.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue7484.html.view.verified.json
index 38204442c1a..8a2b554a78f 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue7484.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue7484.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -121,8 +121,8 @@
},
"id": ".ctor",
"path": "dotnet/project/Project/Inheritdoc.cs",
- "startLine": 63.0,
- "endLine": 0.0
+ "startLine": 63,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -173,7 +173,7 @@
],
"id": "BuildFromProject_Inheritdoc_Issue7484__ctor_"
},
- "level": 0.0,
+ "level": 0,
"type": "constructor",
"summary": "This is a constructor to document.
\n",
"platform": null,
@@ -308,8 +308,8 @@
},
"id": "DoDad",
"path": "dotnet/project/Project/Inheritdoc.cs",
- "startLine": 68.0,
- "endLine": 0.0
+ "startLine": 68,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -360,7 +360,7 @@
],
"id": "BuildFromProject_Inheritdoc_Issue7484_DoDad_"
},
- "level": 0.0,
+ "level": 0,
"type": "property",
"summary": "A string that could have something.
\n",
"platform": null,
@@ -543,8 +543,8 @@
},
"id": "BoolReturningMethod",
"path": "dotnet/project/Project/Inheritdoc.cs",
- "startLine": 79.0,
- "endLine": 0.0
+ "startLine": 79,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -596,7 +596,7 @@
],
"id": "BuildFromProject_Inheritdoc_Issue7484_BoolReturningMethod_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "Simple method to generate docs for.
\n",
"platform": null,
@@ -656,8 +656,8 @@
},
"id": "Issue7484",
"path": "dotnet/project/Project/Inheritdoc.cs",
- "startLine": 58.0,
- "endLine": 0.0
+ "startLine": 58,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -707,7 +707,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"summary": "This is a test class to have something for DocFX to document.
\n",
"remarks": "We're going to talk about things now.
\n\nSimple method to generate docs for.\n \nA string that could have something.\n
\n",
@@ -772,11 +772,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
- "level": 1.0,
+ "level": 1,
"inheritedMembers": [
{
"uid": "System.Object.Equals(System.Object)",
@@ -825,7 +825,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -874,7 +874,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -923,7 +923,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -972,7 +972,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -1021,7 +1021,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -1070,7 +1070,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -1119,7 +1119,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_appName": "Seed",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue8101.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue8101.html.view.verified.json
index 330d2aab6bc..e52ec25d755 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue8101.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue8101.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -358,8 +358,8 @@
},
"id": "Tween",
"path": "dotnet/project/Project/Inheritdoc.cs",
- "startLine": 32.0,
- "endLine": 0.0
+ "startLine": 32,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -410,7 +410,7 @@
],
"id": "BuildFromProject_Inheritdoc_Issue8101_Tween_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "Create a new tween.
\n",
"platform": null,
@@ -728,8 +728,8 @@
},
"id": "Tween",
"path": "dotnet/project/Project/Inheritdoc.cs",
- "startLine": 29.0,
- "endLine": 0.0
+ "startLine": 29,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -780,7 +780,7 @@
],
"id": "BuildFromProject_Inheritdoc_Issue8101_Tween_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "Create a new tween.
\n",
"platform": null,
@@ -841,8 +841,8 @@
},
"id": "Issue8101",
"path": "dotnet/project/Project/Inheritdoc.cs",
- "startLine": 19.0,
- "endLine": 0.0
+ "startLine": 19,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -892,7 +892,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -954,11 +954,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
- "level": 1.0,
+ "level": 1,
"inheritedMembers": [
{
"uid": "System.Object.Equals(System.Object)",
@@ -1007,7 +1007,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -1056,7 +1056,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -1105,7 +1105,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -1154,7 +1154,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -1203,7 +1203,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -1252,7 +1252,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -1301,7 +1301,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_appName": "Seed",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue8129.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue8129.html.view.verified.json
index b8669808a3c..61bd737956a 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue8129.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.Issue8129.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -169,8 +169,8 @@
},
"id": ".ctor",
"path": "dotnet/project/Project/Inheritdoc.cs",
- "startLine": 38.0,
- "endLine": 0.0
+ "startLine": 38,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -221,7 +221,7 @@
],
"id": "BuildFromProject_Inheritdoc_Issue8129__ctor_"
},
- "level": 0.0,
+ "level": 0,
"type": "constructor",
"summary": "",
"platform": null,
@@ -282,8 +282,8 @@
},
"id": "Issue8129",
"path": "dotnet/project/Project/Inheritdoc.cs",
- "startLine": 35.0,
- "endLine": 0.0
+ "startLine": 35,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -333,7 +333,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -347,7 +347,7 @@
}
]
},
- "level": 0.0,
+ "level": 0,
"inheritedMembers": [
{
"uid": "System.ValueType.Equals(System.Object)",
@@ -396,7 +396,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.ValueType.GetHashCode",
@@ -445,7 +445,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.ValueType.ToString",
@@ -494,7 +494,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -543,7 +543,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -592,7 +592,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -641,7 +641,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
}
],
"_appName": "Seed",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.html.view.verified.json
index dd0f0fc2033..48320e04658 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Inheritdoc.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -121,8 +121,8 @@
},
"id": "Dispose",
"path": "dotnet/project/Project/Inheritdoc.cs",
- "startLine": 12.0,
- "endLine": 0.0
+ "startLine": 12,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -173,7 +173,7 @@
],
"id": "BuildFromProject_Inheritdoc_Dispose_"
},
- "level": 0.0,
+ "level": 0,
"implements": [
{
"uid": "System.IDisposable.Dispose",
@@ -298,8 +298,8 @@
},
"id": "Issue7628",
"path": "dotnet/project/Project/Inheritdoc.cs",
- "startLine": 17.0,
- "endLine": 0.0
+ "startLine": 17,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -350,7 +350,7 @@
],
"id": "BuildFromProject_Inheritdoc_Issue7628_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "This method should do something...
\n",
"platform": null,
@@ -431,8 +431,8 @@
},
"id": "Issue7629",
"path": "dotnet/project/Project/Inheritdoc.cs",
- "startLine": 14.0,
- "endLine": 0.0
+ "startLine": 14,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -483,7 +483,7 @@
],
"id": "BuildFromProject_Inheritdoc_Issue7629_"
},
- "level": 0.0,
+ "level": 0,
"implements": [
{
"uid": "BuildFromProject.IInheritdoc.Issue7629",
@@ -588,8 +588,8 @@
},
"id": "Inheritdoc",
"path": "dotnet/project/Project/Inheritdoc.cs",
- "startLine": 10.0,
- "endLine": 0.0
+ "startLine": 10,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -639,7 +639,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -701,11 +701,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
- "level": 1.0,
+ "level": 1,
"implements": [
{
"uid": "BuildFromProject.IInheritdoc",
@@ -842,7 +842,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -891,7 +891,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -940,7 +940,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -989,7 +989,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -1038,7 +1038,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -1087,7 +1087,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -1136,7 +1136,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_appName": "Seed",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.A.A.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.A.A.html.view.verified.json
index 3e90e1be86a..d64695236c0 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.A.A.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.A.A.html.view.verified.json
@@ -47,7 +47,7 @@
"value": "BuildFromProject .Issue8540 .A "
}
],
- "level": 0.0
+ "level": 0
},
"children": [],
"langs": [
@@ -93,8 +93,8 @@
},
"id": "A",
"path": "dotnet/project/Project/Namespace.cs",
- "startLine": 2.0,
- "endLine": 0.0
+ "startLine": 2,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -144,7 +144,7 @@
"value": "BuildFromProject .Issue8540 .A "
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -206,11 +206,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
- "level": 1.0,
+ "level": 1,
"inheritedMembers": [
{
"uid": "System.Object.Equals(System.Object)",
@@ -259,7 +259,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -308,7 +308,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -357,7 +357,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -406,7 +406,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -455,7 +455,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -504,7 +504,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -553,7 +553,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_appName": "Seed",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.A.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.A.html.view.verified.json
index e346eb1fdb1..452b14f9da8 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.A.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.A.html.view.verified.json
@@ -15,7 +15,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -67,7 +67,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "class",
"platform": null,
@@ -126,7 +126,7 @@
"assemblies": [
"BuildFromProject"
],
- "level": 0.0,
+ "level": 0,
"_appName": "Seed",
"_appTitle": "docfx seed website",
"_enableSearch": true,
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.B.B.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.B.B.html.view.verified.json
index 0f4a61cd40d..85d18dba219 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.B.B.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.B.B.html.view.verified.json
@@ -47,7 +47,7 @@
"value": "BuildFromProject .Issue8540 .B "
}
],
- "level": 0.0
+ "level": 0
},
"children": [],
"langs": [
@@ -93,8 +93,8 @@
},
"id": "B",
"path": "dotnet/project/Project/Namespace.cs",
- "startLine": 7.0,
- "endLine": 0.0
+ "startLine": 7,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -144,7 +144,7 @@
"value": "BuildFromProject .Issue8540 .B "
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -206,11 +206,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
- "level": 1.0,
+ "level": 1,
"inheritedMembers": [
{
"uid": "System.Object.Equals(System.Object)",
@@ -259,7 +259,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -308,7 +308,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -357,7 +357,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -406,7 +406,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -455,7 +455,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -504,7 +504,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -553,7 +553,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_appName": "Seed",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.B.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.B.html.view.verified.json
index ef7bb78d3b7..09616ee2573 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.B.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.B.html.view.verified.json
@@ -15,7 +15,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -67,7 +67,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "class",
"platform": null,
@@ -126,7 +126,7 @@
"assemblies": [
"BuildFromProject"
],
- "level": 0.0,
+ "level": 0,
"_appName": "Seed",
"_appTitle": "docfx seed website",
"_enableSearch": true,
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.html.view.verified.json
index c15a99d2654..5f5dfdf07cf 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8540.html.view.verified.json
@@ -15,7 +15,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -67,7 +67,7 @@
"value": "BuildFromProject .Issue8540 .A "
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "namespace",
"platform": null,
@@ -129,7 +129,7 @@
"value": "BuildFromProject .Issue8540 .B "
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "namespace",
"platform": null,
@@ -165,7 +165,7 @@
}
],
"type": "namespace",
- "level": 0.0,
+ "level": 0,
"_appName": "Seed",
"_appTitle": "docfx seed website",
"_enableSearch": true,
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8725.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8725.html.view.verified.json
index f868a813549..cd0c8bf70de 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8725.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.Issue8725.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -121,8 +121,8 @@
},
"id": "MoreOperations",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 214.0,
- "endLine": 0.0
+ "startLine": 214,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -173,7 +173,7 @@
],
"id": "BuildFromProject_Issue8725_MoreOperations_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "Another nice operation
\n",
"platform": null,
@@ -254,8 +254,8 @@
},
"id": "MyOperation",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 211.0,
- "endLine": 0.0
+ "startLine": 211,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -306,7 +306,7 @@
],
"id": "BuildFromProject_Issue8725_MyOperation_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "A nice operation
\n",
"platform": null,
@@ -367,8 +367,8 @@
},
"id": "Issue8725",
"path": "dotnet/project/Project/Class1.cs",
- "startLine": 208.0,
- "endLine": 0.0
+ "startLine": 208,
+ "endLine": 0
},
"assemblies": [
"BuildFromProject"
@@ -418,7 +418,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"summary": "A nice class
\n",
"example": [],
@@ -531,11 +531,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
- "level": 1.0,
+ "level": 1,
"inheritedMembers": [
{
"uid": "System.Object.Equals(System.Object)",
@@ -584,7 +584,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -633,7 +633,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -682,7 +682,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -731,7 +731,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -780,7 +780,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -829,7 +829,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -878,7 +878,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_appName": "Seed",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.html.view.verified.json
index c6c39d60214..329625210cb 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromProject.html.view.verified.json
@@ -22,7 +22,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "namespace",
"platform": null,
@@ -91,7 +91,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "class",
"platform": null,
@@ -153,7 +153,7 @@
"value": "Class1 .Issue8665 "
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "class",
"platform": null,
@@ -216,7 +216,7 @@
"value": "Class1 .Issue8696Attribute "
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "class",
"platform": null,
@@ -278,7 +278,7 @@
"value": "Class1 .Issue8948 "
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "class",
"platform": null,
@@ -340,7 +340,7 @@
"value": "Class1 .Test (Of T)"
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "class",
"platform": null,
@@ -402,7 +402,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "Class representing a dog.
\n",
"type": "class",
"platform": null,
@@ -464,7 +464,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "class",
"platform": null,
@@ -526,7 +526,7 @@
"value": "Inheritdoc .Issue6366 "
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "class",
"platform": null,
@@ -588,7 +588,7 @@
"value": "Inheritdoc .Issue6366 .Class1 (Of T)"
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "class",
"platform": null,
@@ -650,7 +650,7 @@
"value": "Inheritdoc .Issue6366 .Class2 "
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "class",
"platform": null,
@@ -712,7 +712,7 @@
"value": "Inheritdoc .Issue7035 "
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "class",
"platform": null,
@@ -774,7 +774,7 @@
"value": "Inheritdoc .Issue7484 "
}
],
- "level": 0.0,
+ "level": 0,
"summary": "This is a test class to have something for DocFX to document.
\n",
"type": "class",
"platform": null,
@@ -836,7 +836,7 @@
"value": "Inheritdoc .Issue8101 "
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "class",
"platform": null,
@@ -898,7 +898,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "A nice class
\n",
"type": "class",
"platform": null,
@@ -967,7 +967,7 @@
"value": "Inheritdoc .Issue8129 "
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "struct",
"platform": null,
@@ -1037,7 +1037,7 @@
"value": "Class1 .IIssue8948 "
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "interface",
"platform": null,
@@ -1100,7 +1100,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "interface",
"platform": null,
@@ -1170,7 +1170,7 @@
"value": "Class1 .Issue9260 "
}
],
- "level": 0.0,
+ "level": 0,
"summary": "",
"type": "enum",
"platform": null,
@@ -1229,7 +1229,7 @@
"assemblies": [
"BuildFromProject"
],
- "level": 0.0,
+ "level": 0,
"_appName": "Seed",
"_appTitle": "docfx seed website",
"_enableSearch": true,
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromVBSourceCode.BaseClass1.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromVBSourceCode.BaseClass1.html.view.verified.json
index b7b7875a81d..4e8f6256346 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromVBSourceCode.BaseClass1.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromVBSourceCode.BaseClass1.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -214,8 +214,8 @@
},
"id": "WithDeclarationKeyword",
"path": "dotnet/vb/Class1.vb",
- "startLine": 45.0,
- "endLine": 0.0
+ "startLine": 45,
+ "endLine": 0
},
"namespace": "BuildFromVBSourceCode",
"overload": {
@@ -262,7 +262,7 @@
],
"id": "BuildFromVBSourceCode_BaseClass1_WithDeclarationKeyword_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "",
"platform": null,
@@ -324,8 +324,8 @@
},
"id": "BaseClass1",
"path": "dotnet/vb/Class1.vb",
- "startLine": 44.0,
- "endLine": 0.0
+ "startLine": 44,
+ "endLine": 0
},
"namespace": {
"uid": "BuildFromVBSourceCode",
@@ -372,7 +372,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"summary": "This is the BaseClass
\n",
"example": [],
@@ -436,8 +436,8 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
"derivedClasses": [
@@ -487,11 +487,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 2.0
+ "level": 0,
+ "index": 2
}
],
- "level": 1.0,
+ "level": 1,
"inheritedMembers": [
{
"uid": "System.Object.Equals(System.Object)",
@@ -540,7 +540,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -589,7 +589,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Finalize",
@@ -638,7 +638,7 @@
"value": "Finalize ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -687,7 +687,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -736,7 +736,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -785,7 +785,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -834,7 +834,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -883,7 +883,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_appName": "Seed",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromVBSourceCode.Class1.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromVBSourceCode.Class1.html.view.verified.json
index c5457d78f3c..e3ad0bbc116 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromVBSourceCode.Class1.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromVBSourceCode.Class1.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -167,12 +167,12 @@
},
"id": "ValueClass",
"path": "dotnet/vb/Class1.vb",
- "startLine": 13.0,
- "endLine": 0.0
+ "startLine": 13,
+ "endLine": 0
},
"namespace": "BuildFromVBSourceCode",
"example": [],
- "level": 0.0,
+ "level": 0,
"type": "field",
"summary": "This is a Value type
\n",
"platform": null,
@@ -307,8 +307,8 @@
},
"id": "Keyword",
"path": "dotnet/vb/Class1.vb",
- "startLine": 15.0,
- "endLine": 0.0
+ "startLine": 15,
+ "endLine": 0
},
"namespace": "BuildFromVBSourceCode",
"overload": {
@@ -355,7 +355,7 @@
],
"id": "BuildFromVBSourceCode_Class1_Keyword_"
},
- "level": 0.0,
+ "level": 0,
"attributes": [
{
"type": "System.ObsoleteAttribute",
@@ -555,8 +555,8 @@
},
"id": "Value",
"path": "dotnet/vb/Class1.vb",
- "startLine": 36.0,
- "endLine": 0.0
+ "startLine": 36,
+ "endLine": 0
},
"namespace": "BuildFromVBSourceCode",
"example": [],
@@ -604,7 +604,7 @@
],
"id": "BuildFromVBSourceCode_Class1_Value_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "This is a Function
\n",
"platform": null,
@@ -778,8 +778,8 @@
},
"id": "WithDeclarationKeyword",
"path": "dotnet/vb/Class1.vb",
- "startLine": 25.0,
- "endLine": 0.0
+ "startLine": 25,
+ "endLine": 0
},
"namespace": "BuildFromVBSourceCode",
"example": [],
@@ -870,7 +870,7 @@
],
"id": "BuildFromVBSourceCode_Class1_WithDeclarationKeyword_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "What is Sub ?
\n",
"platform": null,
@@ -931,8 +931,8 @@
},
"id": "Class1",
"path": "dotnet/vb/Class1.vb",
- "startLine": 5.0,
- "endLine": 0.0
+ "startLine": 5,
+ "endLine": 0
},
"namespace": {
"uid": "BuildFromVBSourceCode",
@@ -979,7 +979,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"summary": "This is summary from vb class...
\n",
"example": [],
@@ -1043,8 +1043,8 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
},
{
"uid": "BuildFromVBSourceCode.BaseClass1",
@@ -1092,11 +1092,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 1.0
+ "level": 0,
+ "index": 1
}
],
- "level": 2.0,
+ "level": 2,
"inheritedMembers": [
{
"uid": "System.Object.Equals(System.Object)",
@@ -1145,7 +1145,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -1194,7 +1194,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Finalize",
@@ -1243,7 +1243,7 @@
"value": "Finalize ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -1292,7 +1292,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -1341,7 +1341,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -1390,7 +1390,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -1439,7 +1439,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -1488,7 +1488,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"_appName": "Seed",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromVBSourceCode.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromVBSourceCode.html.view.verified.json
index f6bb64c3d8d..4d46cdd9dfb 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromVBSourceCode.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/BuildFromVBSourceCode.html.view.verified.json
@@ -53,7 +53,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "This is the BaseClass
\n",
"type": "class",
"platform": null,
@@ -116,7 +116,7 @@
"value": ""
}
],
- "level": 0.0,
+ "level": 0,
"summary": "This is summary from vb class...
\n",
"type": "class",
"platform": null,
@@ -172,7 +172,7 @@
}
],
"type": "namespace",
- "level": 0.0,
+ "level": 0,
"_appName": "Seed",
"_appTitle": "docfx seed website",
"_enableSearch": true,
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Cat-2.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Cat-2.html.view.verified.json
index e302d5efb86..78923097e58 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Cat-2.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Cat-2.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [
{
@@ -121,8 +121,8 @@
},
"id": ".ctor",
"path": "dotnet/solution/CatLibrary/Class1.cs",
- "startLine": 124.0,
- "endLine": 0.0
+ "startLine": 124,
+ "endLine": 0
},
"assemblies": [
"CatLibrary"
@@ -173,7 +173,7 @@
],
"id": "CatLibrary_Cat_2__ctor_"
},
- "level": 0.0,
+ "level": 0,
"type": "constructor",
"summary": "Default constructor.
\n",
"platform": null,
@@ -444,8 +444,8 @@
},
"id": ".ctor",
"path": "dotnet/solution/CatLibrary/Class1.cs",
- "startLine": 139.0,
- "endLine": 0.0
+ "startLine": 139,
+ "endLine": 0
},
"assemblies": [
"CatLibrary"
@@ -496,7 +496,7 @@
],
"id": "CatLibrary_Cat_2__ctor_"
},
- "level": 0.0,
+ "level": 0,
"type": "constructor",
"summary": "It's a complex constructor. The parameter will have some attributes.
\n",
"platform": null,
@@ -627,8 +627,8 @@
},
"id": ".ctor",
"path": "dotnet/solution/CatLibrary/Class1.cs",
- "startLine": 130.0,
- "endLine": 0.0
+ "startLine": 130,
+ "endLine": 0
},
"assemblies": [
"CatLibrary"
@@ -679,7 +679,7 @@
],
"id": "CatLibrary_Cat_2__ctor_"
},
- "level": 0.0,
+ "level": 0,
"type": "constructor",
"summary": "Constructor with one generic parameter.
\n",
"platform": null,
@@ -813,15 +813,15 @@
},
"id": "isHealthy",
"path": "dotnet/solution/CatLibrary/Class1.cs",
- "startLine": 236.0,
- "endLine": 0.0
+ "startLine": 236,
+ "endLine": 0
},
"assemblies": [
"CatLibrary"
],
"namespace": "CatLibrary",
"example": [],
- "level": 0.0,
+ "level": 0,
"attributes": [
{
"type": "System.ContextStaticAttribute",
@@ -973,8 +973,8 @@
},
"id": "Age",
"path": "dotnet/solution/CatLibrary/Class1.cs",
- "startLine": 215.0,
- "endLine": 0.0
+ "startLine": 215,
+ "endLine": 0
},
"assemblies": [
"CatLibrary"
@@ -1025,7 +1025,7 @@
],
"id": "CatLibrary_Cat_2_Age_"
},
- "level": 0.0,
+ "level": 0,
"attributes": [
{
"type": "System.ObsoleteAttribute",
@@ -1209,8 +1209,8 @@
},
"id": "this[]",
"path": "dotnet/solution/CatLibrary/Class1.cs",
- "startLine": 206.0,
- "endLine": 0.0
+ "startLine": 206,
+ "endLine": 0
},
"assemblies": [
"CatLibrary"
@@ -1261,7 +1261,7 @@
],
"id": "CatLibrary_Cat_2_Item_"
},
- "level": 0.0,
+ "level": 0,
"type": "property",
"summary": "This is index property of Cat. You can see that the visibility is different between get
and set
method.
\n",
"platform": null,
@@ -1389,8 +1389,8 @@
},
"id": "Name",
"path": "dotnet/solution/CatLibrary/Class1.cs",
- "startLine": 260.0,
- "endLine": 0.0
+ "startLine": 260,
+ "endLine": 0
},
"assemblies": [
"CatLibrary"
@@ -1441,7 +1441,7 @@
],
"id": "CatLibrary_Cat_2_Name_"
},
- "level": 0.0,
+ "level": 0,
"implements": [
{
"uid": "CatLibrary.IAnimal.Name",
@@ -1669,8 +1669,8 @@
},
"id": "CalculateFood",
"path": "dotnet/solution/CatLibrary/Class1.cs",
- "startLine": 147.0,
- "endLine": 0.0
+ "startLine": 147,
+ "endLine": 0
},
"documentation": {
"remote": {
@@ -1679,8 +1679,8 @@
"repo": "https://github.com/dotnet/docfx"
},
"path": "specs/Cat.CalculateFood.md",
- "startLine": 1.0,
- "endLine": 15.0
+ "startLine": 1,
+ "endLine": 15
},
"assemblies": [
"CatLibrary"
@@ -1779,7 +1779,7 @@
"description": "This is an overridden
argument exception. you can add additional exception by adding different exception type
.
\n"
}
],
- "level": 0.0,
+ "level": 0,
"conceptual": "\nThis is overriding methods. You can override parameter descriptions for methods, you can even add exceptions to methods. Check the intermediate obj
folder to see the data model of the generated method/class. Override Yaml header should follow the data structure.
\n",
"type": "method",
"summary": "It's an overridden summary in markdown
format
\n",
@@ -1955,8 +1955,8 @@
},
"id": "Equals",
"path": "dotnet/solution/CatLibrary/Class1.cs",
- "startLine": 167.0,
- "endLine": 0.0
+ "startLine": 167,
+ "endLine": 0
},
"assemblies": [
"CatLibrary"
@@ -2050,7 +2050,7 @@
],
"id": "CatLibrary_Cat_2_Equals_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "Override the method of Object.Equals(object obj).
\n",
"platform": null,
@@ -2273,8 +2273,8 @@
},
"id": "GetTailLength",
"path": "dotnet/solution/CatLibrary/Class1.cs",
- "startLine": 176.0,
- "endLine": 0.0
+ "startLine": 176,
+ "endLine": 0
},
"assemblies": [
"CatLibrary"
@@ -2325,7 +2325,7 @@
],
"id": "CatLibrary_Cat_2_GetTailLength_"
},
- "level": 0.0,
+ "level": 0,
"type": "method",
"summary": "It's an unsafe
method.\nAs you see, catName
is a pointer , so we need to add unsafe
keyword.
\n",
"platform": null,
@@ -2551,8 +2551,8 @@
},
"id": "Jump",
"path": "dotnet/solution/CatLibrary/Class1.cs",
- "startLine": 156.0,
- "endLine": 0.0
+ "startLine": 156,
+ "endLine": 0
},
"assemblies": [
"CatLibrary"
@@ -2651,7 +2651,7 @@
"description": "This is an argument exception
\n"
}
],
- "level": 0.0,
+ "level": 0,
"attributes": [
{
"type": "System.Diagnostics.ConditionalAttribute",
@@ -2797,15 +2797,15 @@
},
"id": "ownEat",
"path": "dotnet/solution/CatLibrary/Class1.cs",
- "startLine": 227.0,
- "endLine": 0.0
+ "startLine": 227,
+ "endLine": 0
},
"assemblies": [
"CatLibrary"
],
"namespace": "CatLibrary",
"example": [],
- "level": 0.0,
+ "level": 0,
"attributes": [
{
"type": "System.ObsoleteAttribute",
@@ -3047,8 +3047,8 @@
},
"id": "op_Addition",
"path": "dotnet/solution/CatLibrary/Class1.cs",
- "startLine": 185.0,
- "endLine": 0.0
+ "startLine": 185,
+ "endLine": 0
},
"assemblies": [
"CatLibrary"
@@ -3095,7 +3095,7 @@
],
"id": "CatLibrary_Cat_2_op_Addition_"
},
- "level": 0.0,
+ "level": 0,
"type": "operator",
"summary": "Addition operator of this class.
\n",
"platform": null,
@@ -3271,8 +3271,8 @@
},
"id": "op_Explicit",
"path": "dotnet/solution/CatLibrary/Class1.cs",
- "startLine": 198.0,
- "endLine": 0.0
+ "startLine": 198,
+ "endLine": 0
},
"assemblies": [
"CatLibrary"
@@ -3319,7 +3319,7 @@
],
"id": "CatLibrary_Cat_2_op_Explicit_"
},
- "level": 0.0,
+ "level": 0,
"type": "operator",
"summary": "Expilicit operator of this class.
\nIt means this cat can evolve to change to Tom. Tom and Jerry.
\n",
"platform": null,
@@ -3539,8 +3539,8 @@
},
"id": "op_Subtraction",
"path": "dotnet/solution/CatLibrary/Class1.cs",
- "startLine": 190.0,
- "endLine": 0.0
+ "startLine": 190,
+ "endLine": 0
},
"assemblies": [
"CatLibrary"
@@ -3587,7 +3587,7 @@
],
"id": "CatLibrary_Cat_2_op_Subtraction_"
},
- "level": 0.0,
+ "level": 0,
"type": "operator",
"summary": "Similar with operaotr +, refer to that topic.
\n",
"platform": null,
@@ -3648,8 +3648,8 @@
},
"id": "Cat",
"path": "dotnet/solution/CatLibrary/Class1.cs",
- "startLine": 114.0,
- "endLine": 0.0
+ "startLine": 114,
+ "endLine": 0
},
"documentation": {
"remote": {
@@ -3658,8 +3658,8 @@
"repo": "https://github.com/dotnet/docfx"
},
"path": "specs/Cat.md",
- "startLine": 1.0,
- "endLine": 4.0
+ "startLine": 1,
+ "endLine": 4
},
"assemblies": [
"CatLibrary"
@@ -3709,7 +3709,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"summary": "Here's main class of this Demo .
\nYou can see mostly type of article within this class and you for more detail, please see the remarks.
\n
\nthis class is a template class. It has two Generic parameter. they are: T
and K
.
\nThe extension method of this class can refer to class
\n",
"remarks": "THIS is remarks overridden in MARKDWON file
\n",
@@ -3786,11 +3786,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
}
],
- "level": 1.0,
+ "level": 1,
"implements": [
{
"uid": "CatLibrary.ICat",
@@ -3927,7 +3927,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -3976,7 +3976,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetType",
@@ -4025,7 +4025,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -4074,7 +4074,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -4123,7 +4123,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ToString",
@@ -4172,7 +4172,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
}
],
"extensionMethods": [
@@ -4223,7 +4223,7 @@
"value": "Play (ICat , ColorType )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "CatLibrary.ICat.CatLibrary.ICatExtension.Sleep(System.Int64)",
@@ -4272,7 +4272,7 @@
"value": "Sleep (ICat , Long )"
}
],
- "level": 0.0
+ "level": 0
}
],
"conceptual": "\nThis is a class talking about CAT .
\n\nNOTE \nThis is a CAT class
\n \nRefer to to see other animals.
\n",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.CatException-1.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.CatException-1.html.view.verified.json
index 23052f25a53..a8880b6b1ce 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.CatException-1.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.CatException-1.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [],
"langs": [
@@ -93,8 +93,8 @@
},
"id": "CatException",
"path": "dotnet/solution/CatLibrary/Class1.cs",
- "startLine": 322.0,
- "endLine": 0.0
+ "startLine": 322,
+ "endLine": 0
},
"assemblies": [
"CatLibrary"
@@ -144,7 +144,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"syntax": {
"content": [
@@ -212,8 +212,8 @@
"value": ""
}
],
- "level": 0.0,
- "index": 0.0
+ "level": 0,
+ "index": 0
},
{
"uid": "System.Exception",
@@ -262,11 +262,11 @@
"value": ""
}
],
- "level": 0.0,
- "index": 1.0
+ "level": 0,
+ "index": 1
}
],
- "level": 2.0,
+ "level": 2,
"implements": [
{
"uid": "System.Runtime.Serialization.ISerializable",
@@ -360,56 +360,7 @@
"value": "GetBaseException ()"
}
],
- "level": 0.0
- },
- {
- "uid": "System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)",
- "isEii": false,
- "isExtensionMethod": false,
- "parent": "System.Exception",
- "isExternal": true,
- "href": "https://learn.microsoft.com/dotnet/api/system.exception.getobjectdata",
- "name": [
- {
- "lang": "csharp",
- "value": "GetObjectData(SerializationInfo, StreamingContext)"
- },
- {
- "lang": "vb",
- "value": "GetObjectData(SerializationInfo, StreamingContext)"
- }
- ],
- "nameWithType": [
- {
- "lang": "csharp",
- "value": "Exception.GetObjectData(SerializationInfo, StreamingContext)"
- },
- {
- "lang": "vb",
- "value": "Exception.GetObjectData(SerializationInfo, StreamingContext)"
- }
- ],
- "fullName": [
- {
- "lang": "csharp",
- "value": "System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)"
- },
- {
- "lang": "vb",
- "value": "System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)"
- }
- ],
- "specName": [
- {
- "lang": "csharp",
- "value": "GetObjectData (SerializationInfo , StreamingContext )"
- },
- {
- "lang": "vb",
- "value": "GetObjectData (SerializationInfo , StreamingContext )"
- }
- ],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Exception.GetType",
@@ -458,7 +409,7 @@
"value": "GetType ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Exception.ToString",
@@ -507,7 +458,7 @@
"value": "ToString ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Exception.Data",
@@ -556,7 +507,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Exception.HelpLink",
@@ -605,7 +556,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Exception.HResult",
@@ -654,7 +605,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Exception.InnerException",
@@ -703,7 +654,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Exception.Message",
@@ -752,7 +703,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Exception.Source",
@@ -801,7 +752,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Exception.StackTrace",
@@ -850,7 +801,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Exception.TargetSite",
@@ -899,7 +850,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Exception.SerializeObjectState",
@@ -948,7 +899,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object)",
@@ -997,7 +948,7 @@
"value": "Equals (Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.Equals(System.Object,System.Object)",
@@ -1046,7 +997,7 @@
"value": "Equals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.GetHashCode",
@@ -1095,7 +1046,7 @@
"value": "GetHashCode ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.MemberwiseClone",
@@ -1144,7 +1095,7 @@
"value": "MemberwiseClone ()"
}
],
- "level": 0.0
+ "level": 0
},
{
"uid": "System.Object.ReferenceEquals(System.Object,System.Object)",
@@ -1193,7 +1144,7 @@
"value": "ReferenceEquals (Object , Object )"
}
],
- "level": 0.0
+ "level": 0
}
],
"_appName": "Seed",
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Complex-2.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Complex-2.html.view.verified.json
index 3dd47f43ed2..7abc4283fb8 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Complex-2.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/api/CatLibrary.Complex-2.html.view.verified.json
@@ -47,7 +47,7 @@
"value": ""
}
],
- "level": 0.0
+ "level": 0
},
"children": [],
"langs": [
@@ -93,8 +93,8 @@
},
"id": "Complex",
"path": "dotnet/solution/CatLibrary/Class1.cs",
- "startLine": 280.0,
- "endLine": 0.0
+ "startLine": 280,
+ "endLine": 0
},
"assemblies": [
"CatLibrary"
@@ -144,7 +144,7 @@
"value": "