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