Binder\Binder_Symbols.cs (10)
350return symbol.ContainingNamespaceOrType() ?? this.Compilation.Assembly.GlobalNamespace;
669var array = ArrayTypeSymbol.CreateCSharpArray(this.Compilation.Assembly, type, rankSpecifier.Rank);
834return TypeWithAnnotations.Create(new ExtendedErrorTypeSymbol(qualifierOpt ?? this.Compilation.Assembly.GlobalNamespace, string.Empty, arity: 0, errorInfo: null));
861Compilation.Assembly.GlobalNamespace, identifierValueText, 0,
1904if (container is object && container != Compilation.Assembly && container != Compilation.Assembly.CorLibrary)
2129if (ns.ContainingAssembly == Compilation.Assembly)
2141Debug.Assert(arg2.ContainingAssembly == Compilation.Assembly);
2298return new ExtendedErrorTypeSymbol(qualifierOpt ?? Compilation.Assembly.GlobalNamespace, simpleName, arity, info);
2619Compilation.Assembly.Modules[0].GetReferencedAssemblySymbols())
Compilation\CSharpCompilation.cs (19)
1198return index < 0 ? null : this.Assembly.Modules[index];
1211return Assembly.Modules.SelectMany(module => module.GetReferencedAssemblies());
1299modules.AddRange(Assembly.Modules);
1396return Assembly.Modules[0];
1667result = new MissingMetadataTypeSymbol.TopLevel(Assembly.CorLibrary.Modules[0], ref emittedName, specialType);
1671result = Assembly.GetSpecialType(specialType);
1746return Assembly.GetSpecialTypeMember(specialMember);
1756var result = Assembly.GetTypeByReflectionType(type);
1785TypeSymbol? symbol = Assembly.GetTypeByReflectionType(HostObjectType);
1819var result = this.Assembly.GetTypeByMetadataName(fullyQualifiedMetadataName, includeReferences: true, isWellKnownType: false, conflicts: out var _);
1843return this.Assembly.ObjectType;
2375return ArrayTypeSymbol.CreateCSharpArray(this.Assembly, TypeWithAnnotations.Create(elementType, elementNullableAnnotation), rank);
3207Assembly.ForceComplete(location, symbolFilter, cancellationToken);
3768var corAssembly = Assembly.CorLibrary as Symbols.Metadata.PE.PEAssemblySymbol;
3907get { return this.Assembly.GetPublicSymbol(); }
4092if (!FunctionPointerTypeSymbol.IsCallingConventionModifier(internalType) || @this.Assembly.CorLibrary != internalType.ContainingAssembly)
4680return !Assembly.RuntimeSupportsNumericIntPtr;
4802return sustainedLowLatency != null && sustainedLowLatency.ContainingAssembly == Assembly.CorLibrary;
4807=> this.Assembly.SupportsRuntimeCapability(capability);