File tree Expand file tree Collapse file tree
AspNetCoreAnalyzers.Tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ internal static void Initialize()
1212 MetadataReferences . Transitive (
1313 typeof ( Microsoft . EntityFrameworkCore . DbContext ) ,
1414 typeof ( Microsoft . Extensions . Hosting . GenericHostBuilderExtensions ) ,
15- typeof ( Microsoft . AspNetCore . Mvc . Controller ) ,
16- typeof ( Microsoft . AspNetCore . Mvc . HttpGetAttribute ) ) ) ;
15+ typeof ( Microsoft . Extensions . DependencyInjection . MvcServiceCollectionExtensions ) ,
16+ typeof ( Microsoft . AspNetCore . Builder . HttpsPolicyBuilderExtensions ) ) ) ;
1717 }
1818 }
1919}
Original file line number Diff line number Diff line change 1- namespace ValidCode
1+ namespace ValidCode
22{
33 using System . Collections . Generic ;
44
55 public class Order
66 {
77 public int Id { get ; set ; }
88
9- public IEnumerable < OrderItem > Items { get ; set ; }
9+ public IEnumerable < OrderItem > ? Items { get ; set ; }
1010 }
1111}
You can’t perform that action at this time.
0 commit comments