31 references to SourceAssembly
Microsoft.CodeAnalysis.CSharp (31)
Binder\Binder_Statements.cs (1)
3314Compilation.SourceAssembly.RuntimeCompatibilityWrapNonExceptionThrows)
Binder\Binder_Symbols.cs (1)
2528if (containingAssembly == compilation.SourceAssembly)
Compilation\CSharpCompilation.cs (10)
1388return SourceAssembly; 1856return SourceAssembly.DeclaresTheObjectClass; 2275return SourceAssembly.MightContainNoPiaLocalTypes(); 3363var sourceAssembly = SourceAssembly; 3389get { return SourceAssembly.IsDelaySigned; } 3394get { return SourceAssembly.StrongNameKeys; } 3436SourceAssembly, 3697SourceAssembly.Modules.Skip(1).Select(m => m.Name), //all modules except the first one 3727ImmutableArray<ModuleSymbol> modules = SourceAssembly.Modules; 4732return !isInternal || SourceAssembly.InternalsAreVisible;
Compilation\CSharpCompilation.UsingsFromOptionsAndDiagnostics.cs (1)
136var corLibrary = compilation.SourceAssembly.CorLibrary;
Compiler\DocumentationCommentCompiler.cs (2)
103var compiler = new DocumentationCommentCompiler(assemblyName ?? compilation.SourceAssembly.Name, compilation, writer, filterTree, filterSpanWithinTree, 105compiler.Visit(compilation.SourceAssembly.GlobalNamespace);
Emitter\EditAndContinue\EmitHelpers.cs (6)
56var sourceAssembly = compilation.SourceAssembly; 59var previousSourceAssembly = ((CSharpCompilation)baseline.Compilation).SourceAssembly; 94compilation.SourceAssembly, 211var previousSourceAssembly = ((CSharpCompilation)previousGeneration.Compilation).SourceAssembly; 215compilation.SourceAssembly, 228compilation.SourceAssembly,
FlowAnalysis\DefiniteAssignment.cs (1)
248Debug.Assert((object)member.ContainingAssembly == compilation?.SourceAssembly);
FlowAnalysis\EmptyStructTypeCache.cs (1)
56_sourceAssembly = compilation?.SourceAssembly;
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (1)
193bool runtimeSupportsByRefLikeGenerics = Compilation.SourceAssembly.RuntimeSupportsByRefLikeGenerics;
Symbols\Compilation_UsedAssemblies.cs (5)
130for (int i = 1; i < SourceAssembly.Modules.Length; i++) 132foreach (var dependency in SourceAssembly.Modules[i].ReferencedAssemblySymbols) 214if (SourceAssembly.CorLibrary is object) 217AddUsedAssembly(SourceAssembly.CorLibrary); 238if (assembly is null || assembly == SourceAssembly || assembly.IsMissing)
Symbols\ReferenceManager.cs (1)
1135return new RetargetingAssemblySymbol(Compilation.SourceAssembly, this.IsLinked);
Symbols\Source\SourceNamespaceSymbol.AliasesAndUsings.cs (1)
999var corLibrary = compilation.SourceAssembly.CorLibrary;