50 references to GetAssemblyDefinition
Crossgen2Tasks (1)
PrepareForReadyToRunCompilation.cs (1)
440foreach (var attributeHandle in mdReader.GetAssemblyDefinition().GetCustomAttributes())
Microsoft.AspNetCore.App.UnitTests (5)
PackageTests.cs (2)
99var assemblyVersion = reader.GetAssemblyDefinition().Version; 129var assemblyVersion = reader.GetAssemblyDefinition().Version;
SharedFxTests.cs (1)
190var assemblyDefinition = reader.GetAssemblyDefinition();
TargetingPackTests.cs (2)
87var assemblyDefinition = reader.GetAssemblyDefinition(); 203var assemblyDefinition = reader.GetAssemblyDefinition();
Microsoft.Build.Tasks.Core (4)
AssemblyDependency\AssemblyInformation.cs (1)
489foreach (var attrHandle in metadataReader.GetAssemblyDefinition().GetCustomAttributes())
ManifestUtil\MetadataReader.cs (3)
86AssemblyDefinition def = _reader.GetAssemblyDefinition(); 141AssemblyDefinition ad = _reader.GetAssemblyDefinition(); 167AssemblyDefinition ad = _reader.GetAssemblyDefinition();
Microsoft.CodeAnalysis (3)
Compilation\DeterministicKeyBuilder.cs (1)
352var assemblyDef = peReader.GetAssemblyDefinition();
MetadataReader\MetadataReaderExtensions.cs (1)
50var assemblyDef = reader.GetAssemblyDefinition();
MetadataReference\AssemblyIdentityUtils.cs (1)
25AssemblyDefinition assemblyDefinition = metadataReader.GetAssemblyDefinition();
Microsoft.CodeAnalysis.CodeStyle (1)
src\Compilers\Core\Portable\MetadataReference\AssemblyIdentityUtils.cs (1)
25AssemblyDefinition assemblyDefinition = metadataReader.GetAssemblyDefinition();
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (2)
CommandLineTests.cs (2)
4507Assert.Equal("aa", peReader.GetString(peReader.GetAssemblyDefinition().Name)); 7096Assert.Equal(PathUtilities.RemoveExtension(expectedOutputName), peReader.GetString(peReader.GetAssemblyDefinition().Name));
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (8)
Emit\CompilationEmitTests.cs (8)
912var attributes = reader.GetAssemblyDefinition().GetCustomAttributes(); 933var attributes = reader.GetAssemblyDefinition().GetCustomAttributes(); 955var attributes = reader.GetAssemblyDefinition().GetCustomAttributes(); 4031Assert.Equal(name, peReader.GetString(peReader.GetAssemblyDefinition().Name)); 4097Assert.Equal(nameOverride, peReader.GetString(peReader.GetAssemblyDefinition().Name)); 4128Assert.Equal(nameOverride, peReader.GetString(peReader.GetAssemblyDefinition().Name)); 4159Assert.Equal(nameOverride, peReader.GetString(peReader.GetAssemblyDefinition().Name)); 4190Assert.Equal(nameOverride, peReader.GetString(peReader.GetAssemblyDefinition().Name));
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (9)
Attributes\AttributeTests_Assembly.cs (9)
601AssemblyDefinition assembly = reader.GetAssemblyDefinition(); 632AssemblyDefinition assembly = reader.GetAssemblyDefinition(); 662AssemblyDefinition assembly = reader.GetAssemblyDefinition(); 692AssemblyDefinition assembly = reader.GetAssemblyDefinition(); 720AssemblyDefinition assembly = reader.GetAssemblyDefinition(); 749AssemblyDefinition assembly = reader.GetAssemblyDefinition(); 782AssemblyDefinition assembly = reader.GetAssemblyDefinition(); 822AssemblyDefinition assembly = peReader.GetAssemblyDefinition(); 947AssemblyDefinition row = peReader.GetAssemblyDefinition();
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Emit\CompilationOutputFilesTests.cs (1)
53Assert.Equal("lib", mdReader.GetString(mdReader.GetAssemblyDefinition().Name));
Microsoft.CodeAnalysis.Rebuild (1)
CompilationOptionsReader.cs (1)
249var blob = metadataReader.GetAssemblyDefinition().PublicKey;
Microsoft.CodeAnalysis.Test.Utilities (1)
Metadata\ILValidation.cs (1)
94ImmutableArray<byte> publicKeyBlob = metadataReader.GetBlobContent(metadataReader.GetAssemblyDefinition().PublicKey);
Microsoft.CodeAnalysis.Workspaces (1)
src\Compilers\Core\Portable\MetadataReference\AssemblyIdentityUtils.cs (1)
25AssemblyDefinition assemblyDefinition = metadataReader.GetAssemblyDefinition();
Microsoft.DotNet.Build.Tasks.Packaging (1)
VersionUtility.cs (1)
44result = reader.GetAssemblyDefinition().Version;
Microsoft.DotNet.PackageTesting (2)
VerifyClosure.cs (1)
436AssemblyDefinition assembly = contractReader.GetAssemblyDefinition();
VerifyTypes.cs (1)
157AssemblyDefinition assembly = contractReader.GetAssemblyDefinition();
Microsoft.DotNet.SharedFramework.Sdk (3)
src\FileUtilities.cs (1)
46return peReader.GetMetadataReader().GetAssemblyDefinition().GetAssemblyName();
src\Microsoft.DotNet.PackageTesting\VerifyClosure.cs (1)
436AssemblyDefinition assembly = contractReader.GetAssemblyDefinition();
src\Microsoft.DotNet.PackageTesting\VerifyTypes.cs (1)
157AssemblyDefinition assembly = contractReader.GetAssemblyDefinition();
Microsoft.DotNet.SignTool (1)
src\Configuration.cs (1)
602var assemblyDef = metadataReader.GetAssemblyDefinition();
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (2)
ProjectSystemShim\VisualStudioCompilationOutputFilesTests.cs (2)
63Assert.Equal("lib", mdReader.GetString(mdReader.GetAssemblyDefinition().Name)); 102Assert.Equal("lib", mdReader.GetString(mdReader.GetAssemblyDefinition().Name));
RunTests (1)
AssemblyScheduler.cs (1)
350var attributes = metadataReader.GetAssemblyDefinition().GetCustomAttributes();
System.Diagnostics.FileVersionInfo (1)
System\Diagnostics\FileVersionInfo.Unix.cs (1)
79AssemblyDefinition assemblyDefinition = metadataReader.GetAssemblyDefinition();
System.Reflection.Metadata (1)
System\Reflection\Metadata\MetadataReader.netstandard.cs (1)
87AssemblyName assemblyName = mdReader.GetAssemblyDefinition().GetAssemblyName();
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Assemblies\Ecma\EcmaAssembly.cs (1)
28_neverAccessThisExceptThroughAssemblyDefinitionProperty = reader.GetAssemblyDefinition();