Skip to content

Commit 10a7da7

Browse files
committed
Use string instead of typeof
1 parent 4ffdaa3 commit 10a7da7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libraries/Microsoft.Extensions.Configuration.Binder/gen/Parser/KnownTypeSymbols.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ public KnownTypeSymbols(CSharpCompilation compilation)
135135
Delegate = Compilation.GetSpecialType(SpecialType.System_Delegate);
136136

137137
// Only generate nullable attributes if available
138-
NotNullIfNotNullAttribute = compilation.GetBestTypeByMetadataName(typeof(System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute));
138+
NotNullIfNotNullAttribute = compilation.GetBestTypeByMetadataName("System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute");
139139
}
140140
}
141141
}

0 commit comments

Comments
 (0)