1 instantiation of PEAssemblySymbol
Microsoft.CodeAnalysis.CSharp (1)
Symbols\ReferenceManager.cs (1)
984
return new
PEAssemblySymbol
(Assembly, DocumentationProvider, this.IsLinked, this.EffectiveImportOptions);
24 references to PEAssemblySymbol
Microsoft.CodeAnalysis.CSharp (24)
Compilation\CSharpCompilation.cs (2)
3773
var
corAssembly = Assembly.CorLibrary as Symbols.Metadata.PE.
PEAssemblySymbol
;
Emitter\EditAndContinue\CSharpDefinitionMap.cs (1)
62
Debug.Assert(stateMachineType.ContainingAssembly is
PEAssemblySymbol
);
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (1)
41
PEAssemblySymbol
otherAssembly)
Emitter\EditAndContinue\EmitHelpers.cs (2)
65
var
metadataAssembly = (
PEAssemblySymbol
)metadataDecoder.ModuleSymbol.ContainingAssembly;
Emitter\EditAndContinue\PEDeltaAssemblyBuilder.cs (1)
102
var
metadataAssembly = metadataCompilation.GetBoundReferenceManager().CreatePEAssemblyForAssemblyMetadata(AssemblyMetadata.Create(originalMetadata), MetadataImportOptions.All, out assemblyReferenceIdentityMap);
Symbols\Metadata\PE\MetadataDecoder.cs (1)
56
: base(moduleSymbol.Module, (moduleSymbol.ContainingAssembly is
PEAssemblySymbol
) ? moduleSymbol.ContainingAssembly.Identity : null, SymbolFactory.Instance, moduleSymbol)
Symbols\Metadata\PE\PEModuleSymbol.cs (4)
125
internal PEModuleSymbol(
PEAssemblySymbol
assemblySymbol, PEModule module, MetadataImportOptions importOptions, int ordinal)
538
var
assembly = _assemblySymbol as
PEAssemblySymbol
;
837
return _lazyCachedCompilerFeatureRequiredDiagnosticInfo ?? (_assemblySymbol as
PEAssemblySymbol
)?.GetCompilerFeatureRequiredDiagnostic();
Symbols\Metadata\PE\PENamedTypeSymbol.cs (2)
1735
var
containingAssembly = this.ContainingAssembly as
PEAssemblySymbol
;
Symbols\ReferenceManager.cs (10)
217
/// Creates a <see cref="
PEAssemblySymbol
"/> from specified metadata.
247
public
PEAssemblySymbol
CreatePEAssemblyForAssemblyMetadata(AssemblyMetadata metadata, MetadataImportOptions importOptions, out ImmutableDictionary<AssemblyIdentity, AssemblyIdentity> assemblyReferenceIdentityMap)
266
var
assemblySymbol = new PEAssemblySymbol(assembly, DocumentationProvider.Default, isLinked: false, importOptions: importOptions);
635
fileData.CachedSymbols.Add((
PEAssemblySymbol
)current.AssemblySymbol);
725
var
portableExecutableAssemblySymbol = (
PEAssemblySymbol
)currentBindingResult.AssemblySymbol;
1022
var
peAssembly = assembly as
PEAssemblySymbol
;
1033
return IsMatchingAssembly(candidateAssembly as
PEAssemblySymbol
);
1036
private bool IsMatchingAssembly(
PEAssemblySymbol
? peAssembly)