Skip to content

Commit

Permalink
Remove not needed attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkoshevoi committed Apr 3, 2022
1 parent 03355e6 commit 981b97b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/libraries/Microsoft.Extensions.Hosting/src/HostBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,6 @@ public IHostBuilder ConfigureContainer<TContainerBuilder>(Action<HostBuilderCont
/// </summary>
/// <returns>An initialized <see cref="IHost"/></returns>
/// <remarks>Adds basic services to the host such as application lifetime, host environment, and logging.</remarks>
[MemberNotNull(nameof(_hostConfiguration))]
[MemberNotNull(nameof(_defaultProvider))]
[MemberNotNull(nameof(_hostingEnvironment))]
[MemberNotNull(nameof(_hostBuilderContext))]
[MemberNotNull(nameof(_appConfiguration))]
[MemberNotNull(nameof(_appServices))]
public IHost Build()
{
if (_hostBuilt)
Expand Down

0 comments on commit 981b97b

Please sign in to comment.