Category: C#
C# Compiler Error – CS8831 ‘{0}’: target runtime doesn’t support co
In this blog post, you’ll learn more about the C# Compiler Error – CS8831 and the related message description C# Compiler Error Code CS8831 C# Compiler Description for the Code :CS8831 ‘{0}’: Target runtime doesn’t support covariant types in overrides. Type must be ‘{2}’ to match overridden member ‘{1}’
C# Compiler Error – CS0451 the ‘new()’ constraint cannot be used wi
In this blog post, you’ll learn more about the C# Compiler Error – CS0451 and the related message description C# Compiler Error Code CS0451 C# Compiler Description for the Code :CS0451 The ‘new()’ constraint cannot be used with the ‘struct’ constraint
C# Compiler Error – CS1520 method must have a return type
In this blog post, you’ll learn more about the C# Compiler Error – CS1520 and the related message description C# Compiler Error Code CS1520 C# Compiler Description for the Code :CS1520 Method must have a return type
C# Compiler Error – CS1726 friend assembly reference ‘{0}’ is inval
In this blog post, you’ll learn more about the C# Compiler Error – CS1726 and the related message description C# Compiler Error Code CS1726 C# Compiler Description for the Code :CS1726 Friend assembly reference ‘{0}’ is invalid. Strong-name signed assemblies must specify a public key in their InternalsVisibleTo declarations.
C# Compiler Error – CS0562 the parameter of a unary operator must b
In this blog post, you’ll learn more about the C# Compiler Error – CS0562 and the related message description C# Compiler Error Code CS0562 C# Compiler Description for the Code :CS0562 The parameter of a unary operator must be the containing type
C# Compiler Error – CS0315 the type ‘{3}’ cannot be used as type pa
In this blog post, you’ll learn more about the C# Compiler Error – CS0315 and the related message description C# Compiler Error Code CS0315 C# Compiler Description for the Code :CS0315 The type ‘{3}’ cannot be used as type parameter ‘{2}’ in the generic type or method ‘{0}’. There is no boxing conversion from ‘{3}’ to ‘{1}’.
C# Compiler Error – CS8879 record member ‘{0}’ must be private.
In this blog post, you’ll learn more about the C# Compiler Error – CS8879 and the related message description C# Compiler Error Code CS8879 C# Compiler Description for the Code :CS8879 Record member ‘{0}’ must be private.
C# Compiler Warning – CS3015 ‘{0}’ has no accessible constructors whi
In this blog post, you’ll learn more about the C# Compiler Warning – CS3015 and the related message description C# Compiler Warning Code CS3015 C# Compiler Description for the Code :CS3015 ‘{0}’ has no accessible constructors which use only CLS-compliant types
C# Compiler Error – CS0030 cannot convert type ‘{0}’ to ‘{1}’
In this blog post, you’ll learn more about the C# Compiler Error – CS0030 and the related message description C# Compiler Error Code CS0030 C# Compiler Description for the Code :CS0030 Cannot convert type ‘{0}’ to ‘{1}’
Launching the Location Settings App using URI Scheme in Windows Phone 8
Below is a sample code snippet demonstrating on how to launch the Location Settings App via the URI Scheme and LaunchUriAsync method in Windows Phone using C#. Launching the Location Settings App using URI Scheme in Windows Phone 8
C# Compiler Error – CS0678 ‘{0}’: a field cannot be both volatile a
In this blog post, you’ll learn more about the C# Compiler Error – CS0678 and the related message description C# Compiler Error Code CS0678 C# Compiler Description for the Code :CS0678 ‘{0}’: a field cannot be both volatile and readonly
C# Compiler Error – CS1640 foreach statement cannot operate on vari
In this blog post, you’ll learn more about the C# Compiler Error – CS1640 and the related message description C# Compiler Error Code CS1640 C# Compiler Description for the Code :CS1640 foreach statement cannot operate on variables of type ‘{0}’ because it implements multiple instantiations of ‘{1}’; try casting to a specific interface instantiation