5 references to ERR_IllegalVarianceSyntax
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (1)
1445
or ErrorCode.
ERR_IllegalVarianceSyntax
Parser\LanguageParser.cs (1)
6322
? this.AddError(this.EatToken(), ErrorCode.
ERR_IllegalVarianceSyntax
)
Symbols\Source\LocalFunctionSymbol.cs (1)
416
diagnostics.Add(ErrorCode.
ERR_IllegalVarianceSyntax
, parameter.VarianceKeyword.GetLocation());
Symbols\Source\SourceNamedTypeSymbol.cs (1)
189
diagnostics.Add(ErrorCode.
ERR_IllegalVarianceSyntax
, tp.VarianceKeyword.GetLocation());
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
1120
diagnostics.Add(ErrorCode.
ERR_IllegalVarianceSyntax
, parameter.VarianceKeyword.GetLocation());