4 references to ERR_ThisInBadContext
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Expressions.cs (1)
2462Error(diagnostics, inStaticContext ? ErrorCode.ERR_ThisInStaticMeth : ErrorCode.ERR_ThisInBadContext, node);
Errors\ErrorFacts.cs (1)
653or ErrorCode.ERR_ThisInBadContext
Symbols\Source\ParameterHelpers.cs (2)
147diagnostics.Add(ErrorCode.ERR_ThisInBadContext, thisKeyword.GetLocation()); 451diagnostics.Add(ErrorCode.ERR_ThisInBadContext, modifier.GetLocation());