You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/OpenApi/test/Microsoft.AspNetCore.OpenApi.SourceGenerators.Tests/snapshots/AddOpenApiTests.CanInterceptAddOpenApi#OpenApiXmlCommentSupport.generated.verified.cs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -70,10 +70,10 @@ file static class XmlCommentCache
Copy file name to clipboardExpand all lines: src/OpenApi/test/Microsoft.AspNetCore.OpenApi.SourceGenerators.Tests/snapshots/AdditionalTextsTests.CanHandleXmlForSchemasInAdditionalTexts#OpenApiXmlCommentSupport.generated.verified.cs
+33-33Lines changed: 33 additions & 33 deletions
Original file line number
Diff line number
Diff line change
@@ -70,39 +70,39 @@ file static class XmlCommentCache
_cache.Add(@"T:ClassLibrary.Todo",newXmlComment(@"This is a todo item.",null,null,null,null,false,null,null,null));
75
-
_cache.Add(@"T:ClassLibrary.Project",newXmlComment(@"The project that contains Todo items.",null,null,null,null,false,null,null,null));
76
-
_cache.Add(@"M:ClassLibrary.Project.#ctor(System.String,System.String)",newXmlComment(@"The project that contains Todo items.",null,null,null,null,false,null,null,null));
77
-
_cache.Add(@"T:ClassLibrary.ProjectBoard.BoardItem",newXmlComment(@"An item on the board.",null,null,null,null,false,null,null,null));
78
-
_cache.Add(@"P:ClassLibrary.ProjectBoard.BoardItem.Name",newXmlComment(@"The identifier of the board item. Defaults to ""name"".",null,null,null,null,false,null,null,null));
79
-
_cache.Add(@"T:ClassLibrary.ProjectRecord",newXmlComment(@"The project that contains Todo items.",null,null,null,null,false,null,[newXmlParameterComment(@"Name",@"The name of the project.",null,false),newXmlParameterComment(@"Description",@"The description of the project.",null,false)],null));
80
-
_cache.Add(@"M:ClassLibrary.ProjectRecord.#ctor(System.String,System.String)",newXmlComment(@"The project that contains Todo items.",null,null,null,null,false,null,[newXmlParameterComment(@"Name",@"The name of the project.",null,false),newXmlParameterComment(@"Description",@"The description of the project.",null,false)],null));
81
-
_cache.Add(@"P:ClassLibrary.ProjectRecord.Name",newXmlComment(@"The name of the project.",null,null,null,null,false,null,null,null));
82
-
_cache.Add(@"P:ClassLibrary.ProjectRecord.Description",newXmlComment(@"The description of the project.",null,null,null,null,false,null,null,null));
83
-
_cache.Add(@"P:ClassLibrary.TodoWithDescription.Id",newXmlComment(@"The identifier of the todo.",null,null,null,null,false,null,null,null));
84
-
_cache.Add(@"P:ClassLibrary.TodoWithDescription.Name",newXmlComment(null,null,null,null,@"The name of the todo.",false,null,null,null));
85
-
_cache.Add(@"P:ClassLibrary.TodoWithDescription.Description",newXmlComment(@"A description of the todo.",null,null,null,@"Another description of the todo.",false,null,null,null));
_cache.Add(@"P:ClassLibrary.Holder`1.Value",newXmlComment(@"The value to hold.",null,null,null,null,false,null,null,null));
101
-
_cache.Add(@"M:ClassLibrary.Endpoints.ExternalMethod(System.String)",newXmlComment(@"An external method.",null,null,null,null,false,null,[newXmlParameterComment(@"name",@"The name of the tester. Defaults to ""Tester"".",null,false)],null));
102
-
_cache.Add(@"M:ClassLibrary.Endpoints.CreateHolder``1(``0)",newXmlComment(@"Creates a holder for the specified value.",null,null,@"A holder for the specified value.",null,false,[@"{ value: 42 }"],[newXmlParameterComment(@"value",@"The value to hold.",null,false)],null));
103
-
104
-
105
-
return_cache;
73
+
varcache=newDictionary<string,XmlComment>();
74
+
cache.Add(@"T:ClassLibrary.Todo",newXmlComment(@"This is a todo item.",null,null,null,null,false,null,null,null));
75
+
cache.Add(@"T:ClassLibrary.Project",newXmlComment(@"The project that contains Todo items.",null,null,null,null,false,null,null,null));
76
+
cache.Add(@"M:ClassLibrary.Project.#ctor(System.String,System.String)",newXmlComment(@"The project that contains Todo items.",null,null,null,null,false,null,null,null));
77
+
cache.Add(@"T:ClassLibrary.ProjectBoard.BoardItem",newXmlComment(@"An item on the board.",null,null,null,null,false,null,null,null));
78
+
cache.Add(@"P:ClassLibrary.ProjectBoard.BoardItem.Name",newXmlComment(@"The identifier of the board item. Defaults to ""name"".",null,null,null,null,false,null,null,null));
79
+
cache.Add(@"T:ClassLibrary.ProjectRecord",newXmlComment(@"The project that contains Todo items.",null,null,null,null,false,null,[newXmlParameterComment(@"Name",@"The name of the project.",null,false),newXmlParameterComment(@"Description",@"The description of the project.",null,false)],null));
80
+
cache.Add(@"M:ClassLibrary.ProjectRecord.#ctor(System.String,System.String)",newXmlComment(@"The project that contains Todo items.",null,null,null,null,false,null,[newXmlParameterComment(@"Name",@"The name of the project.",null,false),newXmlParameterComment(@"Description",@"The description of the project.",null,false)],null));
81
+
cache.Add(@"P:ClassLibrary.ProjectRecord.Name",newXmlComment(@"The name of the project.",null,null,null,null,false,null,null,null));
82
+
cache.Add(@"P:ClassLibrary.ProjectRecord.Description",newXmlComment(@"The description of the project.",null,null,null,null,false,null,null,null));
83
+
cache.Add(@"P:ClassLibrary.TodoWithDescription.Id",newXmlComment(@"The identifier of the todo.",null,null,null,null,false,null,null,null));
84
+
cache.Add(@"P:ClassLibrary.TodoWithDescription.Name",newXmlComment(null,null,null,null,@"The name of the todo.",false,null,null,null));
85
+
cache.Add(@"P:ClassLibrary.TodoWithDescription.Description",newXmlComment(@"A description of the todo.",null,null,null,@"Another description of the todo.",false,null,null,null));
cache.Add(@"P:ClassLibrary.Holder`1.Value",newXmlComment(@"The value to hold.",null,null,null,null,false,null,null,null));
101
+
cache.Add(@"M:ClassLibrary.Endpoints.ExternalMethod(System.String)",newXmlComment(@"An external method.",null,null,null,null,false,null,[newXmlParameterComment(@"name",@"The name of the tester. Defaults to ""Tester"".",null,false)],null));
102
+
cache.Add(@"M:ClassLibrary.Endpoints.CreateHolder``1(``0)",newXmlComment(@"Creates a holder for the specified value.",null,null,@"A holder for the specified value.",null,false,[@"{ value: 42 }"],[newXmlParameterComment(@"value",@"The value to hold.",null,false)],null));
0 commit comments