| File: Symbols\UnsupportedMetadataTypeSymbol.cs | Web Access |
| Project: src\roslyn\src\Compilers\CSharp\Portable\Microsoft.CodeAnalysis.CSharp.csproj (Microsoft.CodeAnalysis.CSharp) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. using System; using System.Diagnostics; using Roslyn.Utilities; namespace Microsoft.CodeAnalysis.CSharp.Symbols { internal sealed class UnsupportedMetadataTypeSymbol : ErrorTypeSymbol { private readonly BadImageFormatException? _mrEx; internal UnsupportedMetadataTypeSymbol(BadImageFormatException? mrEx = null) { _mrEx = mrEx; } protected override NamedTypeSymbol WithTupleDataCore(TupleExtraData newData) { return this; } internal override DiagnosticInfo ErrorInfo { get { return new CSDiagnosticInfo(ErrorCode.ERR_BogusType, string.Empty); } } internal override bool MangleName { get { return false; } } internal override bool IsFileLocal => false; internal override FileIdentifier? AssociatedFileIdentifier => null; } }