Binder\Binder_Symbols.cs (10)
360return this.Compilation.Assembly.GlobalNamespace;
679var array = ArrayTypeSymbol.CreateCSharpArray(this.Compilation.Assembly, type, rankSpecifier.Rank);
844return TypeWithAnnotations.Create(new ExtendedErrorTypeSymbol(qualifierOpt ?? this.Compilation.Assembly.GlobalNamespace, string.Empty, arity: 0, errorInfo: null));
871Compilation.Assembly.GlobalNamespace, identifierValueText, 0,
2003if (container is object && container != Compilation.Assembly && container != Compilation.Assembly.CorLibrary)
2228if (ns.ContainingAssembly == Compilation.Assembly)
2240Debug.Assert(arg2.ContainingAssembly == Compilation.Assembly);
2397return new ExtendedErrorTypeSymbol(qualifierOpt ?? Compilation.Assembly.GlobalNamespace, simpleName, arity, info);
2717Compilation.Assembly.Modules[0].GetReferencedAssemblySymbols())
Compilation\CSharpCompilation.cs (21)
348if (!Assembly.RuntimeSupportsAsyncMethods)
358Debug.Assert(ReferenceEquals(method.ContainingAssembly, Assembly));
1266return index < 0 ? null : this.Assembly.Modules[index];
1279return Assembly.Modules.SelectMany(module => module.GetReferencedAssemblies());
1367modules.AddRange(Assembly.Modules);
1464return Assembly.Modules[0];
1735result = new MissingMetadataTypeSymbol.TopLevel(Assembly.CorLibrary.Modules[0], ref emittedName, specialType);
1739result = Assembly.GetSpecialType(specialType);
1814return Assembly.GetSpecialTypeMember(specialMember);
1824var result = Assembly.GetTypeByReflectionType(type);
1853TypeSymbol? symbol = Assembly.GetTypeByReflectionType(HostObjectType);
1887var result = this.Assembly.GetTypeByMetadataName(fullyQualifiedMetadataName, includeReferences: true, isWellKnownType: false, conflicts: out var _);
1911return this.Assembly.ObjectType;
2463return ArrayTypeSymbol.CreateCSharpArray(this.Assembly, TypeWithAnnotations.Create(elementType, elementNullableAnnotation), rank);
3315Assembly.ForceComplete(location, symbolFilter, cancellationToken);
3911var corAssembly = Assembly.CorLibrary as Symbols.Metadata.PE.PEAssemblySymbol;
4050get { return this.Assembly.GetPublicSymbol(); }
4235if (!FunctionPointerTypeSymbol.IsCallingConventionModifier(internalType) || @this.Assembly.CorLibrary != internalType.ContainingAssembly)
4823return !Assembly.RuntimeSupportsNumericIntPtr;
4945return sustainedLowLatency != null && sustainedLowLatency.ContainingAssembly == Assembly.CorLibrary;
4950=> this.Assembly.SupportsRuntimeCapability(capability);