22 references to HashAlgorithm
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (11)
Attributes\AttributeTests_Assembly.cs (11)
602
Assert.Equal(AssemblyHashAlgorithm.Sha1, assembly.
HashAlgorithm
);
633
Assert.Equal(AssemblyHashAlgorithm.None, assembly.
HashAlgorithm
);
663
Assert.Equal(AssemblyHashAlgorithm.MD5, assembly.
HashAlgorithm
);
693
Assert.Equal(AssemblyHashAlgorithm.Sha1, assembly.
HashAlgorithm
);
721
Assert.Equal(System.Configuration.Assemblies.AssemblyHashAlgorithm.SHA256, (System.Configuration.Assemblies.AssemblyHashAlgorithm)assembly.
HashAlgorithm
);
750
Assert.Equal(System.Configuration.Assemblies.AssemblyHashAlgorithm.SHA384, (System.Configuration.Assemblies.AssemblyHashAlgorithm)assembly.
HashAlgorithm
);
783
Assert.Equal(System.Configuration.Assemblies.AssemblyHashAlgorithm.SHA512, (System.Configuration.Assemblies.AssemblyHashAlgorithm)assembly.
HashAlgorithm
);
823
Assert.Equal(AssemblyHashAlgorithm.MD5, assembly.
HashAlgorithm
);
873
VerifyAssemblyTable(comp, r => { Assert.Equal(AssemblyHashAlgorithm.MD5, r.
HashAlgorithm
); });
877
VerifyAssemblyTable(comp, r => { Assert.Equal(AssemblyHashAlgorithm.None, r.
HashAlgorithm
); });
881
VerifyAssemblyTable(comp, r => { Assert.Equal(12345, (int)r.
HashAlgorithm
); });
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (8)
Attributes\AssemblyAttributes.vb (8)
792
Assert.Equal(AssemblyHashAlgorithm.Sha1, assembly.
HashAlgorithm
)
823
Assert.Equal(AssemblyHashAlgorithm.None, assembly.
HashAlgorithm
)
854
Assert.Equal(AssemblyHashAlgorithm.MD5, assembly.
HashAlgorithm
)
885
Assert.Equal(AssemblyHashAlgorithm.Sha1, assembly.
HashAlgorithm
)
915
Assert.Equal(System.Configuration.Assemblies.AssemblyHashAlgorithm.SHA256, CType(assembly.
HashAlgorithm
, System.Configuration.Assemblies.AssemblyHashAlgorithm))
946
Assert.Equal(System.Configuration.Assemblies.AssemblyHashAlgorithm.SHA384, CType(assembly.
HashAlgorithm
, System.Configuration.Assemblies.AssemblyHashAlgorithm))
980
Assert.Equal(System.Configuration.Assemblies.AssemblyHashAlgorithm.SHA512, CType(assembly.
HashAlgorithm
, System.Configuration.Assemblies.AssemblyHashAlgorithm))
1024
Assert.Equal(AssemblyHashAlgorithm.MD5, assembly.
HashAlgorithm
)
System.Reflection.Metadata (2)
System\Reflection\Metadata\TypeSystem\AssemblyDefinition.netstandard.cs (1)
18
return _reader.GetAssemblyName(Name, Version, Culture, PublicKey,
HashAlgorithm
, flags);
System\Reflection\Metadata\TypeSystem\AssemblyFile.cs (1)
52
/// Hash value of the file content calculated using <see cref="AssemblyDefinition.
HashAlgorithm
"/>.
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\Assemblies\Ecma\EcmaAssembly.GetName.cs (1)
42
data.HashAlgorithm = ad.
HashAlgorithm
.ToConfigurationAssemblyHashAlgorithm();