Tag: C# Errors

C# Compiler Error – CS4011 ‘await’ requires that the return type ‘{

In this blog post, you’ll learn more about the C# Compiler Error – CS4011 and the related message description C# Compiler Error Code CS4011 C# Compiler Description for the Code :CS4011 ‘await’ requires that the return type ‘{0}’ of ‘{1}.GetAwaiter()’ have suitable ‘IsCompleted’, ‘OnCompleted’, and ‘GetResult’ members, and implement ‘INotifyCompletion’ or ‘ICriticalNotifyCompletion’

C# Compiler Warning – CS8669 the annotation for nullable reference ty

In this blog post, you’ll learn more about the C# Compiler Warning – CS8669 and the related message description C# Compiler Warning Code CS8669 C# Compiler Description for the Code :CS8669 The annotation for nullable reference types should only be used in code within a ‘#nullable’ annotations context. Auto-generated code requires an explicit ‘#nullable’ directive in source.

C# Compiler Error – CS0217 in order to be applicable as a short cir

In this blog post, you’ll learn more about the C# Compiler Error – CS0217 and the related message description C# Compiler Error Code CS0217 C# Compiler Description for the Code :CS0217 In order to be applicable as a short circuit operator a user-defined logical operator (‘{0}’) must have the same return type and parameter types

C# Compiler Warning – CS7080 the callermembernameattribute applied to

In this blog post, you’ll learn more about the C# Compiler Warning – CS7080 and the related message description C# Compiler Warning Code CS7080 C# Compiler Description for the Code :CS7080 The CallerMemberNameAttribute applied to parameter ‘{0}’ will have no effect. It is overridden by the CallerFilePathAttribute.