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,
1922if (container is object && container != Compilation.Assembly && container != Compilation.Assembly.CorLibrary)
2147if (ns.ContainingAssembly == Compilation.Assembly)
2159Debug.Assert(arg2.ContainingAssembly == Compilation.Assembly);
2316return new ExtendedErrorTypeSymbol(qualifierOpt ?? Compilation.Assembly.GlobalNamespace, simpleName, arity, info);
2636Compilation.Assembly.Modules[0].GetReferencedAssemblySymbols())
Compilation\CSharpCompilation.cs (19)
1203return index < 0 ? null : this.Assembly.Modules[index];
1216return Assembly.Modules.SelectMany(module => module.GetReferencedAssemblies());
1304modules.AddRange(Assembly.Modules);
1401return Assembly.Modules[0];
1672result = new MissingMetadataTypeSymbol.TopLevel(Assembly.CorLibrary.Modules[0], ref emittedName, specialType);
1676result = Assembly.GetSpecialType(specialType);
1751return Assembly.GetSpecialTypeMember(specialMember);
1761var result = Assembly.GetTypeByReflectionType(type);
1790TypeSymbol? symbol = Assembly.GetTypeByReflectionType(HostObjectType);
1824var result = this.Assembly.GetTypeByMetadataName(fullyQualifiedMetadataName, includeReferences: true, isWellKnownType: false, conflicts: out var _);
1848return this.Assembly.ObjectType;
2380return ArrayTypeSymbol.CreateCSharpArray(this.Assembly, TypeWithAnnotations.Create(elementType, elementNullableAnnotation), rank);
3232Assembly.ForceComplete(location, symbolFilter, cancellationToken);
3793var corAssembly = Assembly.CorLibrary as Symbols.Metadata.PE.PEAssemblySymbol;
3932get { return this.Assembly.GetPublicSymbol(); }
4117if (!FunctionPointerTypeSymbol.IsCallingConventionModifier(internalType) || @this.Assembly.CorLibrary != internalType.ContainingAssembly)
4705return !Assembly.RuntimeSupportsNumericIntPtr;
4827return sustainedLowLatency != null && sustainedLowLatency.ContainingAssembly == Assembly.CorLibrary;
4832=> this.Assembly.SupportsRuntimeCapability(capability);