9 overrides of ErrorInfo
Microsoft.CodeAnalysis.CSharp (9)
Symbols\ErrorTypeSymbol.cs (1)
611internal override DiagnosticInfo? ErrorInfo
Symbols\ExtendedErrorTypeSymbol.cs (1)
99internal override DiagnosticInfo? ErrorInfo
Symbols\MissingMetadataTypeSymbol.cs (1)
62internal override DiagnosticInfo ErrorInfo
Symbols\NoPiaAmbiguousCanonicalTypeSymbol.cs (1)
79internal override DiagnosticInfo ErrorInfo
Symbols\NoPiaIllegalGenericInstantiationSymbol.cs (1)
55internal override DiagnosticInfo ErrorInfo
Symbols\NoPiaMissingCanonicalTypeSymbol.cs (1)
103internal override DiagnosticInfo ErrorInfo
Symbols\PlaceholderTypeArgumentSymbol.cs (1)
54internal override DiagnosticInfo? ErrorInfo
Symbols\UnboundGenericType.cs (1)
97internal override DiagnosticInfo ErrorInfo
Symbols\UnsupportedMetadataTypeSymbol.cs (1)
25internal override DiagnosticInfo ErrorInfo
12 references to ErrorInfo
Microsoft.CodeAnalysis.CSharp (12)
Binder\Binder_Symbols.cs (4)
2282DiagnosticInfo errorInfo = errorType.ErrorInfo; 2567if ((object)errorQualifier != null && errorQualifier.ErrorInfo != null) 2569return (CSDiagnosticInfo)errorQualifier.ErrorInfo; 2645DiagnosticInfo diagInfo = ((ErrorTypeSymbol)forwardedType).ErrorInfo;
Emitter\Model\PEModuleBuilder.cs (2)
980DiagnosticInfo diagInfo = errorType.GetUseSiteInfo().DiagnosticInfo ?? errorType.ErrorInfo; 985diagInfo = errorType.GetUseSiteInfo().DiagnosticInfo ?? errorType.ErrorInfo;
Symbols\ErrorTypeSymbol.cs (2)
84return new UseSiteInfo<AssemblySymbol>(this.ErrorInfo); 613get { return _originalDefinition.ErrorInfo; }
Symbols\MissingMetadataTypeSymbol.cs (1)
124else if (ContainingType is ErrorTypeSymbol { ErrorInfo: { } info })
Symbols\NoPiaIllegalGenericInstantiationSymbol.cs (1)
61DiagnosticInfo? underlyingInfo = ((ErrorTypeSymbol)_underlyingSymbol).ErrorInfo;
Symbols\Retargeting\RetargetingSymbolTranslator.cs (1)
824type.ErrorInfo ?? new CSDiagnosticInfo(ErrorCode.ERR_ErrorInReferencedAssembly, type.ContainingAssembly?.Identity.GetDisplayName() ?? string.Empty), true);
Symbols\Source\SourceAssemblySymbol.cs (1)
1419DiagnosticInfo info = ((ErrorTypeSymbol)forwarded).ErrorInfo;