Skip to content

Commit 981b97b

Browse files
committed
Remove not needed attributes
1 parent 03355e6 commit 981b97b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/libraries/Microsoft.Extensions.Hosting/src/HostBuilder.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,6 @@ public IHostBuilder ConfigureContainer<TContainerBuilder>(Action<HostBuilderCont
125125
/// </summary>
126126
/// <returns>An initialized <see cref="IHost"/></returns>
127127
/// <remarks>Adds basic services to the host such as application lifetime, host environment, and logging.</remarks>
128-
[MemberNotNull(nameof(_hostConfiguration))]
129-
[MemberNotNull(nameof(_defaultProvider))]
130-
[MemberNotNull(nameof(_hostingEnvironment))]
131-
[MemberNotNull(nameof(_hostBuilderContext))]
132-
[MemberNotNull(nameof(_appConfiguration))]
133-
[MemberNotNull(nameof(_appServices))]
134128
public IHost Build()
135129
{
136130
if (_hostBuilt)

0 commit comments

Comments
 (0)