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