diff --git a/build/Targets/Settings.props b/build/Targets/Settings.props
index b98a224ecd956626cd6980337d5d6e0272b2b07b..737ecf1704f9e20caca9f662ed301464d98ecfc9 100644
--- a/build/Targets/Settings.props
+++ b/build/Targets/Settings.props
@@ -172,6 +172,7 @@
true
VisualBasic
+ $(NoWarn);40057
diff --git a/src/CodeStyle/VisualBasic/Analyzers/BasicCodeStyle.vbproj b/src/CodeStyle/VisualBasic/Analyzers/BasicCodeStyle.vbproj
index d82de6a2b983b966d726ccf826e74c28bce6a46a..b75891d491d336105ee0729defb6e4407c2ddbbd 100644
--- a/src/CodeStyle/VisualBasic/Analyzers/BasicCodeStyle.vbproj
+++ b/src/CodeStyle/VisualBasic/Analyzers/BasicCodeStyle.vbproj
@@ -9,7 +9,6 @@
Library
Microsoft.CodeAnalysis.VisualBasic.CodeStyle
netstandard1.3
- $(NoWarn);40057
@@ -51,4 +50,4 @@
-
\ No newline at end of file
+
diff --git a/src/CodeStyle/VisualBasic/CodeFixes/BasicCodeStyleFixes.vbproj b/src/CodeStyle/VisualBasic/CodeFixes/BasicCodeStyleFixes.vbproj
index 6bba96892d68048b3e5e451897ebae7d5e304442..61e55f733ae881b00ea3132a7f55ce6556e234b7 100644
--- a/src/CodeStyle/VisualBasic/CodeFixes/BasicCodeStyleFixes.vbproj
+++ b/src/CodeStyle/VisualBasic/CodeFixes/BasicCodeStyleFixes.vbproj
@@ -9,7 +9,6 @@
Library
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes
netstandard1.3
- $(NoWarn);40057
@@ -66,4 +65,4 @@
-
\ No newline at end of file
+
diff --git a/src/CodeStyle/VisualBasic/Tests/BasicCodeStyleTests.vbproj b/src/CodeStyle/VisualBasic/Tests/BasicCodeStyleTests.vbproj
index 17709085ee1a5c3850e46941748c4b2cd4a7a040..6f59bbf38bb44aad908504156def2f6e8ef5f9b1 100644
--- a/src/CodeStyle/VisualBasic/Tests/BasicCodeStyleTests.vbproj
+++ b/src/CodeStyle/VisualBasic/Tests/BasicCodeStyleTests.vbproj
@@ -11,7 +11,6 @@
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.UnitTests
netstandard1.3
UnitTestPortable
- $(NoWarn);40057
diff --git a/src/Compilers/VisualBasic/Portable/BasicCodeAnalysis.vbproj b/src/Compilers/VisualBasic/Portable/BasicCodeAnalysis.vbproj
index fc09f62a9be02d60c086ad3068016c272e222bee..d6ed5c28e613fd57ac225b4e2b06950a5fb1de6a 100644
--- a/src/Compilers/VisualBasic/Portable/BasicCodeAnalysis.vbproj
+++ b/src/Compilers/VisualBasic/Portable/BasicCodeAnalysis.vbproj
@@ -10,7 +10,7 @@
Microsoft.CodeAnalysis.VisualBasic
netstandard1.3
true
- $(NoWarn);42014;40057
+ $(NoWarn);42014
..\BasicCodeAnalysisRules.ruleset
portable-net46
@@ -106,4 +105,4 @@
-
\ No newline at end of file
+
diff --git a/src/ExpressionEvaluator/VisualBasic/Source/ResultProvider/NetFX20/BasicResultProvider.NetFX20.vbproj b/src/ExpressionEvaluator/VisualBasic/Source/ResultProvider/NetFX20/BasicResultProvider.NetFX20.vbproj
index 0b1a76f72bf1c00dbcd6c8b6b8166099948a8f1e..973c1b53661b3f4d2879e221c35b3471d7f72141 100644
--- a/src/ExpressionEvaluator/VisualBasic/Source/ResultProvider/NetFX20/BasicResultProvider.NetFX20.vbproj
+++ b/src/ExpressionEvaluator/VisualBasic/Source/ResultProvider/NetFX20/BasicResultProvider.NetFX20.vbproj
@@ -12,7 +12,6 @@
Library
Microsoft.CodeAnalysis.VisualBasic.ExpressionEvaluator.ResultProvider
net20
- $(NoWarn);40057
diff --git a/src/ExpressionEvaluator/VisualBasic/Source/ResultProvider/Portable/BasicResultProvider.Portable.vbproj b/src/ExpressionEvaluator/VisualBasic/Source/ResultProvider/Portable/BasicResultProvider.Portable.vbproj
index e0ad1b132e7ce9f7e49ae3e853f991b1fe1c02bd..3dca73c2baab962c185f2b5cf738a2ea09c0b416 100644
--- a/src/ExpressionEvaluator/VisualBasic/Source/ResultProvider/Portable/BasicResultProvider.Portable.vbproj
+++ b/src/ExpressionEvaluator/VisualBasic/Source/ResultProvider/Portable/BasicResultProvider.Portable.vbproj
@@ -12,7 +12,6 @@
portable-net45+win8
false
- $(NoWarn);40057
@@ -49,4 +48,4 @@
-
\ No newline at end of file
+
diff --git a/src/Features/VisualBasic/Portable/BasicFeatures.vbproj b/src/Features/VisualBasic/Portable/BasicFeatures.vbproj
index 56a00822378401aed893f04c0fab47dd360dd42f..2f75baa78951d82312a01246b872edefab7d71cf 100644
--- a/src/Features/VisualBasic/Portable/BasicFeatures.vbproj
+++ b/src/Features/VisualBasic/Portable/BasicFeatures.vbproj
@@ -9,7 +9,6 @@
Library
Microsoft.CodeAnalysis.VisualBasic.Features
netstandard1.3
- $(NoWarn);40057
@@ -469,4 +468,4 @@
-
\ No newline at end of file
+
diff --git a/src/Interactive/VbiCore/VbiCore.vbproj b/src/Interactive/VbiCore/VbiCore.vbproj
index 5cf87b0046fa25659401bcc33dea4c3ebb9042a7..b5df9fea8602a524644777749560fdefaf7e122d 100644
--- a/src/Interactive/VbiCore/VbiCore.vbproj
+++ b/src/Interactive/VbiCore/VbiCore.vbproj
@@ -15,7 +15,6 @@
netcoreapp1.1
win7-x64;ubuntu.14.04-x64;ubuntu.16.04-x64;osx.10.12-x64
true
- $(NoWarn);40057
@@ -99,4 +98,4 @@
-
\ No newline at end of file
+
diff --git a/src/Samples/VisualBasic/Analyzers/BasicAnalyzers/BasicAnalyzers/BasicAnalyzers.vbproj b/src/Samples/VisualBasic/Analyzers/BasicAnalyzers/BasicAnalyzers/BasicAnalyzers.vbproj
index a64b10b46955900c874ddb281b8b28e020446922..11f94255c868cb7f1e81c14539d3dbebd8c182dc 100644
--- a/src/Samples/VisualBasic/Analyzers/BasicAnalyzers/BasicAnalyzers/BasicAnalyzers.vbproj
+++ b/src/Samples/VisualBasic/Analyzers/BasicAnalyzers/BasicAnalyzers/BasicAnalyzers.vbproj
@@ -13,7 +13,7 @@
netstandard1.3
false
Off
- $(NoWarn);41999,42016,42017,42018,42019,42020,42021,42022,42032,42036;40057
+ $(NoWarn);41999,42016,42017,42018,42019,42020,42021,42022,42032,42036
@@ -107,4 +107,4 @@
-
\ No newline at end of file
+
diff --git a/src/Scripting/VisualBasic/BasicScripting.vbproj b/src/Scripting/VisualBasic/BasicScripting.vbproj
index 453976de3b503801f2a39bd5f43c366c60729e19..b9253b0ee9221bb9a05a20b10f1f8a3a2a769420 100644
--- a/src/Scripting/VisualBasic/BasicScripting.vbproj
+++ b/src/Scripting/VisualBasic/BasicScripting.vbproj
@@ -9,7 +9,6 @@
Library
Microsoft.CodeAnalysis.VisualBasic.Scripting
netstandard1.3
- $(NoWarn);40057
@@ -71,4 +70,4 @@
-
\ No newline at end of file
+
diff --git a/src/Scripting/VisualBasicTest/BasicScriptingTest.vbproj b/src/Scripting/VisualBasicTest/BasicScriptingTest.vbproj
index 5ce3eb141d4172ba1eec2e0f62af48031611b747..20e9149b2d105519ae15330e2c609cd4a9f216b2 100644
--- a/src/Scripting/VisualBasicTest/BasicScriptingTest.vbproj
+++ b/src/Scripting/VisualBasicTest/BasicScriptingTest.vbproj
@@ -11,7 +11,6 @@
Microsoft.CodeAnalysis.VisualBasic.Scripting.UnitTests
netstandard1.3
UnitTestDesktop
- $(NoWarn);40057
@@ -71,4 +70,4 @@
-
\ No newline at end of file
+
diff --git a/src/Tools/Source/CompilerGeneratorTools/Source/VisualBasicErrorFactsGenerator/VisualBasicErrorFactsGenerator.vbproj b/src/Tools/Source/CompilerGeneratorTools/Source/VisualBasicErrorFactsGenerator/VisualBasicErrorFactsGenerator.vbproj
index bf950924681ed85913da93112b663b957b7139fd..b2f7bfed988e7c2ca38d8a83482fe47b185415ea 100644
--- a/src/Tools/Source/CompilerGeneratorTools/Source/VisualBasicErrorFactsGenerator/VisualBasicErrorFactsGenerator.vbproj
+++ b/src/Tools/Source/CompilerGeneratorTools/Source/VisualBasicErrorFactsGenerator/VisualBasicErrorFactsGenerator.vbproj
@@ -16,7 +16,6 @@
netcoreapp1.1
win7-x64;ubuntu.14.04-x64;ubuntu.16.04-x64;osx.10.12-x64
true
- $(NoWarn);40057
@@ -31,4 +30,4 @@
-
\ No newline at end of file
+
diff --git a/src/Tools/Source/CompilerGeneratorTools/Source/VisualBasicSyntaxGenerator/VisualBasicSyntaxGenerator.vbproj b/src/Tools/Source/CompilerGeneratorTools/Source/VisualBasicSyntaxGenerator/VisualBasicSyntaxGenerator.vbproj
index 9aa9b9d8967e71ab3963e6696e44258887ea0056..099f9442a8895b0ca8db3616010cc26efffcc811 100644
--- a/src/Tools/Source/CompilerGeneratorTools/Source/VisualBasicSyntaxGenerator/VisualBasicSyntaxGenerator.vbproj
+++ b/src/Tools/Source/CompilerGeneratorTools/Source/VisualBasicSyntaxGenerator/VisualBasicSyntaxGenerator.vbproj
@@ -17,7 +17,6 @@
netcoreapp1.1
win7-x64;ubuntu.14.04-x64;ubuntu.16.04-x64;osx.10.12-x64
true
- $(NoWarn);40057
@@ -61,4 +60,4 @@
-
\ No newline at end of file
+
diff --git a/src/Workspaces/VisualBasic/Portable/BasicWorkspace.vbproj b/src/Workspaces/VisualBasic/Portable/BasicWorkspace.vbproj
index d643697748f6f1387da72971355c93bd3954d039..9fd5403cd19495157aa6a1166f71ef56050d7bc3 100644
--- a/src/Workspaces/VisualBasic/Portable/BasicWorkspace.vbproj
+++ b/src/Workspaces/VisualBasic/Portable/BasicWorkspace.vbproj
@@ -10,7 +10,6 @@
Microsoft.CodeAnalysis.VisualBasic.Workspaces
netstandard1.3
true
- $(NoWarn);40057
@@ -269,4 +268,4 @@
-
\ No newline at end of file
+