2 types derived from MissingMetadataTypeSymbol
Microsoft.CodeAnalysis.CSharp (2)
Symbols\MissingMetadataTypeSymbol.cs (2)
140internal sealed class TopLevel : MissingMetadataTypeSymbol 404internal sealed class Nested : MissingMetadataTypeSymbol
48 references to MissingMetadataTypeSymbol
Microsoft.CodeAnalysis.CSharp (48)
Binder\Binder_InterpolatedString.cs (1)
285if (interpolatedStringHandlerType is MissingMetadataTypeSymbol)
Binder\HostObjectModeBinder.cs (1)
41new object[] { name, ((MissingMetadataTypeSymbol)hostObjectType).ContainingAssembly.Identity },
Compilation\CSharpCompilation.cs (2)
1667result = new MissingMetadataTypeSymbol.TopLevel(Assembly.CorLibrary.Modules[0], ref emittedName, specialType); 1793symbol = new MissingMetadataTypeSymbol.TopLevel(
SymbolDisplay\SymbolDisplayVisitor.Types.cs (2)
398if (underlyingTypeSymbol is UnsupportedMetadataTypeSymbol || underlyingTypeSymbol is MissingMetadataTypeSymbol || symbol.IsUnboundGenericType) 423if (underlyingTypeSymbol?.OriginalDefinition is MissingMetadataTypeSymbol &&
Symbols\AssemblySymbol.cs (2)
363return new MissingMetadataTypeSymbol.TopLevel(this.Modules[0], ref emittedName, diagnosticInfo); 369return new MissingMetadataTypeSymbol.TopLevel(forwardingModule, ref emittedName, diagnosticInfo);
Symbols\Attributes\SourceAttributeData.cs (1)
482if (attributeClass.IsErrorType() && !(attributeClass is MissingMetadataTypeSymbol))
Symbols\Compilation_WellKnownMembers.cs (5)
170result = new MissingMetadataTypeSymbol.TopLevel(this.Assembly.Modules[0], ref emittedName, type, errorInfo); 174result = new MissingMetadataTypeSymbol.TopLevel(this.Assembly.Modules[0], ref emittedName, type); 669if (userDefinedAttribute is MissingMetadataTypeSymbol) 702if (debuggableAttribute is MissingMetadataTypeSymbol) 709if (debuggingModesType is MissingMetadataTypeSymbol)
Symbols\FunctionPointers\FunctionPointerMethodSymbol.cs (1)
217specifierType = new MissingMetadataTypeSymbol.TopLevel(compilation.Assembly.CorLibrary.Modules[0], ref metadataName, new CSDiagnosticInfo(ErrorCode.ERR_TypeNotFound, typeName));
Symbols\Metadata\PE\MetadataDecoder.cs (3)
123return result ?? new MissingMetadataTypeSymbol.Nested((NamedTypeSymbol)container, ref emittedName); 171return result ?? new MissingMetadataTypeSymbol.TopLevel(m, ref emittedName); 177return new MissingMetadataTypeSymbol.TopLevel(new MissingModuleSymbolWithName(moduleSymbol.ContainingAssembly, moduleName), ref emittedName, SpecialType.None);
Symbols\Metadata\PE\PEModuleSymbol.cs (3)
649return new MissingMetadataTypeSymbol.TopLevel(this, ref emittedName); 653return candidate.Kind != SymbolKind.ErrorType || !(candidate is MissingMetadataTypeSymbol); 728return result ?? new MissingMetadataTypeSymbol.TopLevel(this, ref emittedName);
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
2135var missingType = @base as MissingMetadataTypeSymbol.TopLevel;
Symbols\MetadataOrSourceAssemblySymbol.cs (1)
64result = new MissingMetadataTypeSymbol.TopLevel(module, ref emittedName, type);
Symbols\MissingAssemblySymbol.cs (1)
172return new MissingMetadataTypeSymbol.TopLevel(this.moduleSymbol, ref emittedName);
Symbols\MissingCorLibrarySymbol.cs (1)
78NamedTypeSymbol corType = new MissingMetadataTypeSymbol.TopLevel(this.moduleSymbol, ref emittedFullName, type);
Symbols\MissingMetadataTypeSymbol.cs (1)
14/// A <see cref="MissingMetadataTypeSymbol"/> is a special kind of <see cref="ErrorTypeSymbol"/> that represents
Symbols\NonMissingAssemblySymbol.cs (1)
182return CacheTopLevelMetadataType(ref emittedName, result ?? new MissingMetadataTypeSymbol.TopLevel(this.Modules[0], ref emittedName));
Symbols\Retargeting\RetargetingSymbolTranslator.cs (1)
463result1 ??= new MissingMetadataTypeSymbol.Nested(scope, ref mdName);
Symbols\Source\SourceAssemblySymbol.cs (10)
652if (!(compilationRelaxationsAttribute is MissingMetadataTypeSymbol)) 661if (!(runtimeCompatibilityAttribute is MissingMetadataTypeSymbol)) 694if (unverifiableCodeAttribute is MissingMetadataTypeSymbol) 706if (securityPermissionAttribute is MissingMetadataTypeSymbol) 713if (securityAction is MissingMetadataTypeSymbol) 1818if (!(_compilation.GetWellKnownType(WellKnownType.System_Security_UnverifiableCodeAttribute) is MissingMetadataTypeSymbol) && 1819!(_compilation.GetWellKnownType(WellKnownType.System_Security_Permissions_SecurityPermissionAttribute) is MissingMetadataTypeSymbol)) 1822if (!(securityActionType is MissingMetadataTypeSymbol)) 1966if (!(_compilation.GetWellKnownType(WellKnownType.System_Runtime_CompilerServices_CompilationRelaxationsAttribute) is MissingMetadataTypeSymbol)) 1986if (!(_compilation.GetWellKnownType(WellKnownType.System_Runtime_CompilerServices_RuntimeCompatibilityAttribute) is MissingMetadataTypeSymbol))
Symbols\Source\SourceModuleSymbol.cs (1)
632if (!(compilation.GetWellKnownType(WellKnownType.System_Security_UnverifiableCodeAttribute) is MissingMetadataTypeSymbol))
Symbols\Source\SourcePropertyAccessorSymbol.cs (1)
473DeclaringCompilation.GetWellKnownType(WellKnownType.System_Runtime_CompilerServices_IsReadOnlyAttribute) is MissingMetadataTypeSymbol);
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (7)
133compilation.GetSpecialType(SpecialType.System_Collections_Generic_IReadOnlyCollection_T) is not MissingMetadataTypeSymbol && 134compilation.GetSpecialType(SpecialType.System_Collections_Generic_IReadOnlyList_T) is not MissingMetadataTypeSymbol; 781return compilation.GetWellKnownType(WellKnownType.System_IndexOutOfRangeException) is not MissingMetadataTypeSymbol 782&& compilation.GetWellKnownType(WellKnownType.System_Collections_Generic_EqualityComparer_T) is not MissingMetadataTypeSymbol 787&& compilation.GetSpecialType(SpecialType.System_IDisposable) is not MissingMetadataTypeSymbol 788&& compilation.GetSpecialType(SpecialType.System_Collections_IEnumerator) is not MissingMetadataTypeSymbol 789&& compilation.GetSpecialType(SpecialType.System_Collections_Generic_IEnumerator_T) is not MissingMetadataTypeSymbol
Symbols\Synthesized\SynthesizedInstanceConstructor.cs (1)
290if (ContainingType.BaseTypeNoUseSiteDiagnostics is MissingMetadataTypeSymbol)