30 references to SourceAssembly
Microsoft.CodeAnalysis.CSharp (30)
Binder\Binder_Statements.cs (1)
3379
Compilation.
SourceAssembly
.RuntimeCompatibilityWrapNonExceptionThrows)
Binder\Binder_Symbols.cs (1)
2613
if (containingAssembly == compilation.
SourceAssembly
)
Compilation\CSharpCompilation.cs (12)
1471
return
SourceAssembly
;
1939
return
SourceAssembly
.DeclaresTheObjectClass;
2378
return
SourceAssembly
.MightContainNoPiaLocalTypes();
3539
var sourceAssembly =
SourceAssembly
;
3565
get { return
SourceAssembly
.IsDelaySigned; }
3570
get { return
SourceAssembly
.StrongNameKeys; }
3612
SourceAssembly
,
3760
sourceAssembly: ((CSharpCompilation)previousGeneration.Compilation).
SourceAssembly
,
3761
SourceAssembly
,
3907
SourceAssembly
.Modules.Skip(1).Select(m => m.Name), //all modules except the first one
3937
ImmutableArray<ModuleSymbol> modules =
SourceAssembly
.Modules;
4944
return !isInternal ||
SourceAssembly
.InternalsAreVisible;
Compilation\CSharpCompilation.UsingsFromOptionsAndDiagnostics.cs (1)
136
var corLibrary = compilation.
SourceAssembly
.CorLibrary;
Compiler\DocumentationCommentCompiler.cs (2)
102
var compiler = new DocumentationCommentCompiler(assemblyName ?? compilation.
SourceAssembly
.Name, compilation, writer, filterTree, filterSpanWithinTree,
104
compiler.Visit(compilation.
SourceAssembly
.SourceModule.GlobalNamespace);
Emitter\EditAndContinue\EmitHelpers.cs (3)
56
var sourceAssembly = compilation.
SourceAssembly
;
59
var previousSourceAssembly = ((CSharpCompilation)baseline.Compilation).
SourceAssembly
;
94
compilation.
SourceAssembly
,
FlowAnalysis\DefiniteAssignment.cs (1)
249
Debug.Assert((object)member.ContainingAssembly == compilation?.
SourceAssembly
);
FlowAnalysis\EmptyStructTypeCache.cs (1)
57
_sourceAssembly = compilation?.
SourceAssembly
;
Symbols\AnonymousTypes\AnonymousTypeManager.Templates.cs (1)
187
bool runtimeSupportsByRefLikeGenerics = Compilation.
SourceAssembly
.RuntimeSupportsByRefLikeGenerics;
Symbols\Compilation_UsedAssemblies.cs (5)
129
for (int i = 1; i <
SourceAssembly
.Modules.Length; i++)
131
foreach (var dependency in
SourceAssembly
.Modules[i].ReferencedAssemblySymbols)
213
if (
SourceAssembly
.CorLibrary is object)
216
AddUsedAssembly(
SourceAssembly
.CorLibrary);
237
if (assembly is null || assembly ==
SourceAssembly
|| assembly.IsMissing)
Symbols\ReferenceManager.cs (1)
1134
return new RetargetingAssemblySymbol(Compilation.
SourceAssembly
, this.IsLinked);
Symbols\Source\SourceNamespaceSymbol.AliasesAndUsings.cs (1)
1020
var corLibrary = compilation.
SourceAssembly
.CorLibrary;