19 references to ERR_UnsupportedCompilerFeature
Microsoft.CodeAnalysis.CSharp (19)
Errors\ErrorFacts.cs (1)
2278
or ErrorCode.
ERR_UnsupportedCompilerFeature
Symbols\EventSymbol.cs (2)
310
protected sealed override bool IsHighestPriorityUseSiteErrorCode(int code) => code is (int)ErrorCode.
ERR_UnsupportedCompilerFeature
or (int)ErrorCode.ERR_BindToBogus;
317
return (object?)info != null && info.Code is (int)ErrorCode.ERR_BindToBogus or (int)ErrorCode.
ERR_UnsupportedCompilerFeature
;
Symbols\FieldSymbol.cs (2)
383
protected sealed override bool IsHighestPriorityUseSiteErrorCode(int code) => code is (int)ErrorCode.
ERR_UnsupportedCompilerFeature
or (int)ErrorCode.ERR_BindToBogus;
390
return (object)info != null && info.Code is (int)ErrorCode.ERR_BindToBogus or (int)ErrorCode.
ERR_UnsupportedCompilerFeature
;
Symbols\Metadata\PE\PEAssemblySymbol.cs (1)
321
=> GetCompilerFeatureRequiredDiagnostic()?.Code == (int)ErrorCode.
ERR_UnsupportedCompilerFeature
|| base.HasUnsupportedMetadata;
Symbols\Metadata\PE\PEModuleSymbol.cs (1)
841
=> GetCompilerFeatureRequiredDiagnostic()?.Code == (int)ErrorCode.
ERR_UnsupportedCompilerFeature
|| base.HasUnsupportedMetadata;
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
2161
if (useSiteInfo.DiagnosticInfo is { Code: (int)ErrorCode.
ERR_UnsupportedCompilerFeature
} diag)
Symbols\Metadata\PE\PEParameterSymbol.cs (1)
1202
return DeriveCompilerFeatureRequiredDiagnostic(decoder) is { Code: (int)ErrorCode.
ERR_UnsupportedCompilerFeature
} || base.HasUnsupportedMetadata;
Symbols\Metadata\PE\PETypeParameterSymbol.cs (1)
727
return DeriveCompilerFeatureRequiredDiagnostic(GetDecoder(containingModule)) is { Code: (int)ErrorCode.
ERR_UnsupportedCompilerFeature
} || base.HasUnsupportedMetadata;
Symbols\Metadata\PE\PEUtilities.cs (1)
16
new CSDiagnosticInfo(ErrorCode.
ERR_UnsupportedCompilerFeature
, symbol, disallowedFeature)
Symbols\MethodSymbol.cs (2)
1075
protected sealed override bool IsHighestPriorityUseSiteErrorCode(int code) => code is (int)ErrorCode.
ERR_UnsupportedCompilerFeature
or (int)ErrorCode.ERR_BindToBogus;
1082
return (object)info != null && info.Code is (int)ErrorCode.ERR_BindToBogus or (int)ErrorCode.
ERR_UnsupportedCompilerFeature
;
Symbols\ParameterSymbol.cs (2)
432
protected sealed override bool IsHighestPriorityUseSiteErrorCode(int code) => code is (int)ErrorCode.
ERR_UnsupportedCompilerFeature
or (int)ErrorCode.ERR_BogusType;
440
return info.DiagnosticInfo?.Code is (int)ErrorCode.ERR_BogusType or (int)ErrorCode.
ERR_UnsupportedCompilerFeature
;
Symbols\PropertySymbol.cs (2)
433
protected sealed override bool IsHighestPriorityUseSiteErrorCode(int code) => code is (int)ErrorCode.
ERR_UnsupportedCompilerFeature
or (int)ErrorCode.ERR_BindToBogus;
440
return (object)info != null && info.Code is (int)ErrorCode.ERR_BindToBogus or (int)ErrorCode.
ERR_UnsupportedCompilerFeature
;
Symbols\TypeSymbol.cs (2)
520
=> code is (int)ErrorCode.
ERR_UnsupportedCompilerFeature
or (int)ErrorCode.ERR_BogusType;
527
return (object)info != null && info.Code is (int)ErrorCode.
ERR_UnsupportedCompilerFeature
or (int)ErrorCode.ERR_BogusType;