Binder\Binder_Symbols.cs (10)
362return this.Compilation.Assembly.GlobalNamespace;
681var array = ArrayTypeSymbol.CreateCSharpArray(this.Compilation.Assembly, type, rankSpecifier.Rank);
846return TypeWithAnnotations.Create(new ExtendedErrorTypeSymbol(qualifierOpt ?? this.Compilation.Assembly.GlobalNamespace, string.Empty, arity: 0, errorInfo: null));
873Compilation.Assembly.GlobalNamespace, identifierValueText, 0,
2007if (container is object && container != Compilation.Assembly && container != Compilation.Assembly.CorLibrary)
2232if (ns.ContainingAssembly == Compilation.Assembly)
2244Debug.Assert(arg2.ContainingAssembly == Compilation.Assembly);
2401return new ExtendedErrorTypeSymbol(qualifierOpt ?? Compilation.Assembly.GlobalNamespace, simpleName, arity, info);
2721Compilation.Assembly.Modules[0].GetReferencedAssemblySymbols())
Compilation\CSharpCompilation.cs (21)
353if (!Assembly.RuntimeSupportsAsyncMethods)
363Debug.Assert(ReferenceEquals(method.ContainingAssembly, Assembly));
1286return index < 0 ? null : this.Assembly.Modules[index];
1299return Assembly.Modules.SelectMany(module => module.GetReferencedAssemblies());
1387modules.AddRange(Assembly.Modules);
1484return Assembly.Modules[0];
1755result = new MissingMetadataTypeSymbol.TopLevel(Assembly.CorLibrary.Modules[0], ref emittedName, specialType);
1759result = Assembly.GetSpecialType(specialType);
1834return Assembly.GetSpecialTypeMember(specialMember);
1844var result = Assembly.GetTypeByReflectionType(type);
1873TypeSymbol? symbol = Assembly.GetTypeByReflectionType(HostObjectType);
1907var result = this.Assembly.GetTypeByMetadataName(fullyQualifiedMetadataName, includeReferences: true, isWellKnownType: false, conflicts: out var _);
1931return this.Assembly.ObjectType;
2483return ArrayTypeSymbol.CreateCSharpArray(this.Assembly, TypeWithAnnotations.Create(elementType, elementNullableAnnotation), rank);
3408Assembly.ForceComplete(location, symbolFilter, cancellationToken);
4004var corAssembly = Assembly.CorLibrary as Symbols.Metadata.PE.PEAssemblySymbol;
4143get { return this.Assembly.GetPublicSymbol(); }
4328if (!FunctionPointerTypeSymbol.IsCallingConventionModifier(internalType) || @this.Assembly.CorLibrary != internalType.ContainingAssembly)
4916return !Assembly.RuntimeSupportsNumericIntPtr;
5038return sustainedLowLatency != null && sustainedLowLatency.ContainingAssembly == Assembly.CorLibrary;
5043=> this.Assembly.SupportsRuntimeCapability(capability);