5 references to ERR_IllegalVarianceSyntax
Microsoft.CodeAnalysis.CSharp (5)
Errors\ErrorFacts.cs (1)
1448
or ErrorCode.
ERR_IllegalVarianceSyntax
Parser\LanguageParser.cs (1)
6374
? this.AddError(this.EatToken(), ErrorCode.
ERR_IllegalVarianceSyntax
)
Symbols\Source\LocalFunctionSymbol.cs (1)
417
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());