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)
348if (!Assembly.RuntimeSupportsAsyncMethods)
358Debug.Assert(ReferenceEquals(method.ContainingAssembly, Assembly));
1280return index < 0 ? null : this.Assembly.Modules[index];
1293return Assembly.Modules.SelectMany(module => module.GetReferencedAssemblies());
1381modules.AddRange(Assembly.Modules);
1478return Assembly.Modules[0];
1749result = new MissingMetadataTypeSymbol.TopLevel(Assembly.CorLibrary.Modules[0], ref emittedName, specialType);
1753result = Assembly.GetSpecialType(specialType);
1828return Assembly.GetSpecialTypeMember(specialMember);
1838var result = Assembly.GetTypeByReflectionType(type);
1867TypeSymbol? symbol = Assembly.GetTypeByReflectionType(HostObjectType);
1901var result = this.Assembly.GetTypeByMetadataName(fullyQualifiedMetadataName, includeReferences: true, isWellKnownType: false, conflicts: out var _);
1925return this.Assembly.ObjectType;
2477return ArrayTypeSymbol.CreateCSharpArray(this.Assembly, TypeWithAnnotations.Create(elementType, elementNullableAnnotation), rank);
3329Assembly.ForceComplete(location, symbolFilter, cancellationToken);
3925var corAssembly = Assembly.CorLibrary as Symbols.Metadata.PE.PEAssemblySymbol;
4064get { return this.Assembly.GetPublicSymbol(); }
4249if (!FunctionPointerTypeSymbol.IsCallingConventionModifier(internalType) || @this.Assembly.CorLibrary != internalType.ContainingAssembly)
4837return !Assembly.RuntimeSupportsNumericIntPtr;
4959return sustainedLowLatency != null && sustainedLowLatency.ContainingAssembly == Assembly.CorLibrary;
4964=> this.Assembly.SupportsRuntimeCapability(capability);