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