6 overrides of IsHighestPriorityUseSiteErrorCode
Microsoft.CodeAnalysis.CSharp (6)
Symbols\EventSymbol.cs (1)
310protected sealed override bool IsHighestPriorityUseSiteErrorCode(int code) => code is (int)ErrorCode.ERR_UnsupportedCompilerFeature or (int)ErrorCode.ERR_BindToBogus;
Symbols\FieldSymbol.cs (1)
383protected sealed override bool IsHighestPriorityUseSiteErrorCode(int code) => code is (int)ErrorCode.ERR_UnsupportedCompilerFeature or (int)ErrorCode.ERR_BindToBogus;
Symbols\MethodSymbol.cs (1)
1075protected sealed override bool IsHighestPriorityUseSiteErrorCode(int code) => code is (int)ErrorCode.ERR_UnsupportedCompilerFeature or (int)ErrorCode.ERR_BindToBogus;
Symbols\ParameterSymbol.cs (1)
432protected sealed override bool IsHighestPriorityUseSiteErrorCode(int code) => code is (int)ErrorCode.ERR_UnsupportedCompilerFeature or (int)ErrorCode.ERR_BogusType;
Symbols\PropertySymbol.cs (1)
433protected sealed override bool IsHighestPriorityUseSiteErrorCode(int code) => code is (int)ErrorCode.ERR_UnsupportedCompilerFeature or (int)ErrorCode.ERR_BindToBogus;
Symbols\TypeSymbol.cs (1)
519protected sealed override bool IsHighestPriorityUseSiteErrorCode(int code)
1 reference to IsHighestPriorityUseSiteErrorCode
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Symbol.cs (1)
1121if (info.Severity == DiagnosticSeverity.Error && IsHighestPriorityUseSiteErrorCode(info.Code))