Binder\Binder_Symbols.cs (10)
359return this.Compilation.Assembly.GlobalNamespace;
678var array = ArrayTypeSymbol.CreateCSharpArray(this.Compilation.Assembly, type, rankSpecifier.Rank);
843return TypeWithAnnotations.Create(new ExtendedErrorTypeSymbol(qualifierOpt ?? this.Compilation.Assembly.GlobalNamespace, string.Empty, arity: 0, errorInfo: null));
870Compilation.Assembly.GlobalNamespace, identifierValueText, 0,
1990if (container is object && container != Compilation.Assembly && container != Compilation.Assembly.CorLibrary)
2215if (ns.ContainingAssembly == Compilation.Assembly)
2227Debug.Assert(arg2.ContainingAssembly == Compilation.Assembly);
2384return new ExtendedErrorTypeSymbol(qualifierOpt ?? Compilation.Assembly.GlobalNamespace, simpleName, arity, info);
2704Compilation.Assembly.Modules[0].GetReferencedAssemblySymbols())
Compilation\CSharpCompilation.cs (21)
347if (!Assembly.RuntimeSupportsAsyncMethods)
357Debug.Assert(ReferenceEquals(method.ContainingAssembly, Assembly));
1265return index < 0 ? null : this.Assembly.Modules[index];
1278return Assembly.Modules.SelectMany(module => module.GetReferencedAssemblies());
1366modules.AddRange(Assembly.Modules);
1463return Assembly.Modules[0];
1734result = new MissingMetadataTypeSymbol.TopLevel(Assembly.CorLibrary.Modules[0], ref emittedName, specialType);
1738result = Assembly.GetSpecialType(specialType);
1813return Assembly.GetSpecialTypeMember(specialMember);
1823var result = Assembly.GetTypeByReflectionType(type);
1852TypeSymbol? symbol = Assembly.GetTypeByReflectionType(HostObjectType);
1886var result = this.Assembly.GetTypeByMetadataName(fullyQualifiedMetadataName, includeReferences: true, isWellKnownType: false, conflicts: out var _);
1910return this.Assembly.ObjectType;
2462return ArrayTypeSymbol.CreateCSharpArray(this.Assembly, TypeWithAnnotations.Create(elementType, elementNullableAnnotation), rank);
3314Assembly.ForceComplete(location, symbolFilter, cancellationToken);
3910var corAssembly = Assembly.CorLibrary as Symbols.Metadata.PE.PEAssemblySymbol;
4049get { return this.Assembly.GetPublicSymbol(); }
4234if (!FunctionPointerTypeSymbol.IsCallingConventionModifier(internalType) || @this.Assembly.CorLibrary != internalType.ContainingAssembly)
4822return !Assembly.RuntimeSupportsNumericIntPtr;
4944return sustainedLowLatency != null && sustainedLowLatency.ContainingAssembly == Assembly.CorLibrary;
4949=> this.Assembly.SupportsRuntimeCapability(capability);