@@ -1853,7 +1853,7 @@ internal class CSharpResources {
...
@@ -1853,7 +1853,7 @@ internal class CSharpResources {
}
}
/// <summary>
/// <summary>
/// Looks up a localized string similar to A using namespace directive can only be applied to namespaces; '{0}' is a type not a namespace.
/// Looks up a localized string similar to A 'using namespace' directive can only be applied to namespaces; '{0}' is a type not a namespace. Consider using a 'using static' directive instead.
/// </summary>
/// </summary>
internalstaticstringERR_BadUsingNamespace{
internalstaticstringERR_BadUsingNamespace{
get{
get{
...
@@ -1862,7 +1862,7 @@ internal class CSharpResources {
...
@@ -1862,7 +1862,7 @@ internal class CSharpResources {
}
}
/// <summary>
/// <summary>
/// Looks up a localized string similar to A using directive can only be applied to static classes or namespaces; the type '{0}' is not a static class.
/// Looks up a localized string similar to A 'using static' directive can only be applied to types; '{0}' is a namespace not a type. Consider using a 'using namespace' directive instead.
/// </summary>
/// </summary>
internalstaticstringERR_BadUsingType{
internalstaticstringERR_BadUsingType{
get{
get{
...
@@ -4948,6 +4948,15 @@ internal class CSharpResources {
...
@@ -4948,6 +4948,15 @@ internal class CSharpResources {
}
}
}
}
/// <summary>
/// Looks up a localized string similar to Assembly culture strings may not contain embedded NUL characters..
<value>A local or parameter named '{0}' cannot be declared in this scope because that name is used in an enclosing local scope to define a local or parameter</value>
<value>A local or parameter named '{0}' cannot be declared in this scope because that name is used in an enclosing local scope to define a local or parameter</value>
<value>A using namespace directive can only be applied to namespaces; '{0}' is a type not a namespace</value>
<value>A 'using namespace' directive can only be applied to namespaces; '{0}' is a type not a namespace. Consider using a 'using static' directive instead</value>
</data>
</data>
<dataname="ERR_BadUsingType"xml:space="preserve">
<dataname="ERR_BadUsingType"xml:space="preserve">
<value>A using directive can only be applied to static classes or namespaces; the type '{0}' is not a static class</value>
<value>A 'using static' directive can only be applied to types; '{0}' is a namespace not a type. Consider using a 'using namespace' directive instead</value>
</data>
<dataname="ERR_NoAliasHere"xml:space="preserve">
<value>A 'using static' directive cannot be used to declare an alias</value>
// (2,7): warning CS0437: The type 'System' in '' conflicts with the imported namespace 'System' in 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. Using the type defined in ''.
// (2,7): warning CS0437: The type 'System' in '' conflicts with the imported namespace 'System' in 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. Using the type defined in ''.
// (2,7): error CS7007: A using directive can only be applied to static classes or namespaces; 'System' is a non-static class
// (2,7): error CS0138: A 'using namespace' directive can only be applied to namespaces; 'System' is a type not a namespace. Consider using a 'using static' directive instead
// (2,7): error CS7007: A using directive can only be applied to static classes or namespaces; the type 'D' is not a static class
// (1,7): error CS0138: A 'using namespace' directive can only be applied to namespaces; 'A<int>.B' is a type not a namespace. Consider using a 'using static' directive instead
// (2,1): hidden CS8019: Unnecessary using directive.
// (2,7): error CS0138: A 'using namespace' directive can only be applied to namespaces; 'D' is a type not a namespace. Consider using a 'using static' directive instead