16 instantiations of TopLevel
Microsoft.CodeAnalysis.CSharp (16)
Compilation\CSharpCompilation.cs (2)
1755result = new MissingMetadataTypeSymbol.TopLevel(Assembly.CorLibrary.Modules[0], ref emittedName, specialType); 1881symbol = new MissingMetadataTypeSymbol.TopLevel(
Symbols\AssemblySymbol.cs (2)
370return new MissingMetadataTypeSymbol.TopLevel(this.Modules[0], ref emittedName, diagnosticInfo); 376return new MissingMetadataTypeSymbol.TopLevel(forwardingModule, ref emittedName, diagnosticInfo);
Symbols\Compilation_WellKnownMembers.cs (1)
181result = new MissingMetadataTypeSymbol.TopLevel(this.Assembly.Modules[0], ref emittedName, type, errorInfo);
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 (2)
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 (2)
538return new MissingMetadataTypeSymbol.TopLevel(this, ref emittedName); 617return result ?? new MissingMetadataTypeSymbol.TopLevel(this, ref emittedName);
Symbols\MetadataOrSourceAssemblySymbol.cs (1)
64result = new MissingMetadataTypeSymbol.TopLevel(module, ref emittedName, type);
Symbols\MissingAssemblySymbol.cs (1)
173return new MissingMetadataTypeSymbol.TopLevel(this.moduleSymbol, ref emittedName);
Symbols\MissingCorLibrarySymbol.cs (1)
78NamedTypeSymbol corType = new MissingMetadataTypeSymbol.TopLevel(this.moduleSymbol, ref emittedFullName, type);
Symbols\MissingMetadataTypeSymbol.cs (2)
208return new TopLevel(_containingModule, _namespaceName, name, arity, mangleName, _isNativeInt, _lazyErrorInfo, _lazyContainingNamespace, _lazyTypeId, newData); 354var other = new TopLevel(_containingModule, _namespaceName, name, arity, mangleName, isNativeInt: asNativeInt, _lazyErrorInfo, _lazyContainingNamespace, _lazyTypeId, TupleData);
Symbols\NonMissingAssemblySymbol.cs (1)
182return CacheTopLevelMetadataType(ref emittedName, result ?? new MissingMetadataTypeSymbol.TopLevel(this.Modules[0], ref emittedName));
6 references to TopLevel
Microsoft.CodeAnalysis.CSharp (6)
Symbols\Metadata\PE\PENamedTypeSymbol.cs (2)
2744var missingType = @base as MissingMetadataTypeSymbol.TopLevel;
Symbols\MissingMetadataTypeSymbol.cs (4)
345private TopLevel AsNativeInteger(bool asNativeInt) 354var other = new TopLevel(_containingModule, _namespaceName, name, arity, mangleName, isNativeInt: asNativeInt, _lazyErrorInfo, _lazyContainingNamespace, _lazyTypeId, TupleData); 382var other = t2 as TopLevel;