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
Copy file name to clipboardExpand all lines: src/OpenApi/test/Microsoft.AspNetCore.OpenApi.SourceGenerators.Tests/snapshots/AdditionalTextsTests.CanHandleXmlForSchemasInAdditionalTexts#OpenApiXmlCommentSupport.generated.verified.cs
_cache.Add(newMemberKey(typeof(global::ClassLibrary.Project),MemberType.Type,null,null,[]),newXmlComment(@"The project that contains Todo items.",null,null,null,null,false,null,null,null));
187
190
_cache.Add(newMemberKey(typeof(global::ClassLibrary.Project),MemberType.Method,".ctor",typeof(void),[typeof(global::System.String),typeof(global::System.String)]),newXmlComment(@"The project that contains Todo items.",null,null,null,null,false,null,null,null));
188
191
_cache.Add(newMemberKey(typeof(global::ClassLibrary.ProjectBoard.BoardItem),MemberType.Type,null,null,[]),newXmlComment(@"An item on the board.",null,null,null,null,false,null,null,null));
192
+
_cache.Add(newMemberKey(typeof(global::ClassLibrary.ProjectBoard.BoardItem),MemberType.Property,"Name",null,[]),newXmlComment(@"The identifier of the board item. Defaults to ""name"".",null,null,null,null,false,null,null,null));
189
193
_cache.Add(newMemberKey(typeof(global::ClassLibrary.ProjectRecord),MemberType.Type,null,null,[]),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));
190
194
_cache.Add(newMemberKey(typeof(global::ClassLibrary.ProjectRecord),MemberType.Method,".ctor",typeof(void),[typeof(global::System.String),typeof(global::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));
191
195
_cache.Add(newMemberKey(typeof(global::ClassLibrary.ProjectRecord),MemberType.Property,"Name",null,[]),newXmlComment(@"The name of the project.",null,null,null,null,false,null,null,null));
_cache.Add(newMemberKey(typeof(global::ClassLibrary.Holder<>),MemberType.Property,"Value",null,[]),newXmlComment(@"The value to hold.",null,null,null,null,false,null,null,null));
215
+
_cache.Add(newMemberKey(typeof(global::ClassLibrary.Endpoints),MemberType.Method,"ExternalMethod",typeof(void),[typeof(global::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));
216
+
_cache.Add(newMemberKey(typeof(global::ClassLibrary.Endpoints),MemberType.Method,"CreateHolder",typeof(global::ClassLibrary.Holder<>),[typeof(object)]),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));
Copy file name to clipboardExpand all lines: src/OpenApi/test/Microsoft.AspNetCore.OpenApi.SourceGenerators.Tests/snapshots/CompletenessTests.SupportsAllXmlTagsOnSchemas#OpenApiXmlCommentSupport.generated.verified.cs
// Suppress warnings about obsolete types and members
12
+
// in generated code
13
+
#pragma warning disable CS0612,CS0618
11
14
12
15
namespaceSystem.Runtime.CompilerServices
13
16
{
@@ -268,7 +271,7 @@ Note that there isn't a way to provide a ""cref"" to
268
271
{
269
272
Console.WriteLine(c);
270
273
}```"],[newXmlParameterComment(@"left",@"The left operand of the addition.",null,false),newXmlParameterComment(@"right",@"The right operand of the addition.",null,false)],null));
271
-
_cache.Add(newMemberKey(typeof(global::ExampleClass),MemberType.Method,"AddAsync",typeof(global::System.Threading.Tasks.Task<global::System.Int32>),[typeof(global::System.Int32),typeof(global::System.Int32)]),newXmlComment(@"This method is an example of a method that
274
+
_cache.Add(newMemberKey(typeof(global::ExampleClass),MemberType.Method,"AddAsync",typeof(global::System.Threading.Tasks.Task<>),[typeof(global::System.Int32),typeof(global::System.Int32)]),newXmlComment(@"This method is an example of a method that
272
275
returns an awaitable item.",null,null,null,null,false,null,null,null));
273
276
_cache.Add(newMemberKey(typeof(global::ExampleClass),MemberType.Method,"DoNothingAsync",typeof(global::System.Threading.Tasks.Task),[]),newXmlComment(@"This method is an example of a method that
274
277
returns a Task which should map to a void return type.",null,null,null,null,false,null,null,null));
Copy file name to clipboardExpand all lines: src/OpenApi/test/Microsoft.AspNetCore.OpenApi.SourceGenerators.Tests/snapshots/OperationTests.SupportsXmlCommentsOnOperationsFromControllers#OpenApiXmlCommentSupport.generated.verified.cs
0 commit comments