60 references to GetPublicKeyToken
mscorlib (9)
system\appdomain.cs (3)
1538byte[] pk = asmName.GetPublicKeyToken(); 4062byte[] lhsKey = captcaEntry.GetPublicKeyToken(); 4063byte[] rhsKey = comparand.GetPublicKeyToken();
system\reflection\assembly.cs (1)
2073byte[] pk = partialName.GetPublicKeyToken();
system\resources\manifestbasedresourcegroveler.cs (1)
650byte[] token = an.GetPublicKeyToken();
system\resources\resourcemanager.cs (2)
971byte[] pkt1 = an1.GetPublicKeyToken(); 972byte[] pkt2 = asmName2.GetPublicKeyToken();
system\runtime\serialization\serializationinfo.cs (2)
212return Compare(originalAssembly.GetPublicKeyToken(), newAssembly.GetPublicKeyToken());
PresentationCore (3)
Core\CSharp\System\Windows\Navigation\BaseUriHelper.cs (1)
679byte[] assemblyKeyToken = asmName.GetPublicKeyToken();
Shared\MS\Internal\SafeSecurityHelper.cs (2)
188byte[] reqKeyToken = assemblyName.GetPublicKeyToken(); 195byte[] curKeyToken = curAsmName.GetPublicKeyToken();
PresentationFramework (4)
src\Framework\MS\Internal\AppModel\ResourceContainer.cs (1)
299byte[] reqKeyToken = assemblyInfo.GetPublicKeyToken();
src\Framework\System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (2)
486byte[] publicKeyToken = assemblyName.GetPublicKeyToken(); 543publicKeyToken, localAssemblyName.GetPublicKeyToken());
src\Framework\System\Windows\Markup\Baml2006\Baml6Assembly.cs (1)
52byte[] publicKeyToken = assemblyName.GetPublicKeyToken();
System.Activities (10)
Microsoft\VisualBasic\Activities\XamlIntegration\VisualBasicExpressionConverter.cs (2)
424byte[] requiredToken = this.wrappedReference.AssemblyName.GetPublicKeyToken(); 427byte[] actualToken = assemblyName.GetPublicKeyToken();
System\Activities\Expressions\AssemblyNameEqualityComparer.cs (3)
77byte[] xArray = x.GetPublicKeyToken(); 78byte[] yArray = y.GetPublicKeyToken(); 116byte[] objArray = obj.GetPublicKeyToken();
System\Activities\Expressions\AssemblyReference.cs (5)
127byte[] requiredToken = reference.GetPublicKeyToken(); 130byte[] actualToken = assemblyName.GetPublicKeyToken(); 182byte[] curKeyToken = curAsmName.GetPublicKeyToken(); 186byte[] reqKeyToken = assemblyName.GetPublicKeyToken(); 259byte[] publicKeyToken = assemblyName.GetPublicKeyToken();
System.AddIn (3)
System\Addin\Hosting\Utils.cs (1)
122byte[] publicKeyToken = a1.GetPublicKeyToken();
System\Addin\MiniReflection\MetadataReader\AssemblyInfo.cs (1)
33Token = AN.GetPublicKeyToken();
System\Addin\MiniReflection\MiniAssembly.cs (1)
173assemblySimpleName, publicKeyOrToken, loadedAssemblyName.GetPublicKeyToken()));
System.Data.Entity (4)
System\Data\Common\EntityUtil.cs (2)
1929var targetPublicKeyToken = targetAssemblyName.GetPublicKeyToken(); 1931&& targetPublicKeyToken.SequenceEqual(assemblyName.GetPublicKeyToken());
System\Data\Metadata\ObjectLayer\MetadataAssemblyHelper.cs (2)
53return (ArePublicKeyTokensEqual(assemblyName.GetPublicKeyToken(), EcmaPublicKeyToken) || 54ArePublicKeyTokensEqual(assemblyName.GetPublicKeyToken(), MsPublicKeyToken));
System.Data.SqlXml (1)
System\Xml\Xsl\Xslt\XsltLoader.cs (1)
1200byte[] publicKeyToken = asmName.GetPublicKeyToken();
System.Management (3)
Instrumentation\AssemblyNameUtility.cs (3)
31 return an.Name + "_SN_"+BinToString(an.GetPublicKeyToken()) + "_Version_"+an.Version.Major +"."+ an.Version.Minor; // +"."+ an.Version.Build+"."+an.Version.Revision; 37 return an.Name + "_SN_"+BinToString(an.GetPublicKeyToken()) + "_Version_"+an.Version.Major +"."+ an.Version.Minor+"."+ an.Version.Build+"."+an.Version.Revision; 44return an.Name + "_SN_"+BinToString(an.GetPublicKeyToken()) + "_Version_"+an.Version.Major +"."+ an.Version.Minor+"."+an.Version.Build +"."+ an.Version.Revision;
System.Runtime.Serialization (2)
System\Runtime\Serialization\NetDataContractSerializer.cs (2)
557return IsPublicKeyTokenForwardingSafe(originalAssembly.GetPublicKeyToken(), newAssembly.GetPublicKeyToken());
System.ServiceModel.Internals (1)
System\Runtime\PartialTrustHelpers.cs (1)
105byte[] publicKeyToken = assembly.GetName().GetPublicKeyToken();
System.Web (3)
Configuration\BrowserCapabilitiesCodeGenerator.cs (1)
841SavePublicKeyTokenFile(_publicKeyTokenFile, resultAssembly.GetName().GetPublicKeyToken());
Configuration\CompilationSection.cs (1)
732Byte[] publicKeyToken = asmName.GetPublicKeyToken();
Handlers\AssemblyResourceLoader.cs (1)
439byte[] token = assemblyName.GetPublicKeyToken();
System.Web.Entity (1)
System\Data\WebControls\EntityDataSourceView.cs (1)
1765var asmPublicKeyToken = new AssemblyName(assembly.FullName).GetPublicKeyToken();
System.Web.Extensions (1)
Handlers\ScriptResourceHandler.cs (1)
701url.Append(HexParser.ToString(assemblyName.GetPublicKeyToken()));
System.Windows.Forms (2)
winforms\Managed\System\WinForms\DataObject.cs (2)
1780s_allowedToken = assemblyName.GetPublicKeyToken(); 1802byte[] tokenToBind = nameToBind.GetPublicKeyToken();
System.Workflow.Activities (3)
Common\TypeSystemHelpers.cs (3)
173byte[] thatToken = thatName.GetPublicKeyToken(); 176byte[] thisToken = thisName.GetPublicKeyToken(); 268byte[] thisToken = thisName.GetPublicKeyToken();
System.Workflow.ComponentModel (5)
AuthoringOM\Compiler\TypeSystem\AssemblyLoader.cs (2)
34if (this.assembly == null && asmName.GetPublicKeyToken() != null && (asmName.GetPublicKeyToken().GetLength(0) == 0) && asmName.GetPublicKey() != null && (asmName.GetPublicKey().GetLength(0) == 0))
Shared\TypeSystemHelpers.cs (3)
172byte[] thatToken = thatName.GetPublicKeyToken(); 175byte[] thisToken = thisName.GetPublicKeyToken(); 267byte[] thisToken = thisName.GetPublicKeyToken();
System.Xml (1)
System\Xml\Serialization\Compilation.cs (1)
182byte[] token = name.GetPublicKeyToken();
UIAutomationClient (2)
MS\Internal\Automation\ProxyManager.cs (2)
382proxyAssemblyName.SetPublicKeyToken( ourAssembly.GetPublicKeyToken() ); 403proxyAssemblyName.SetPublicKeyToken( assemblyName.GetPublicKeyToken() );
WindowsBase (2)
Shared\MS\Internal\SafeSecurityHelper.cs (2)
188byte[] reqKeyToken = assemblyName.GetPublicKeyToken(); 195byte[] curKeyToken = curAsmName.GetPublicKeyToken();