124 instantiations of AssemblyName
mscorlib (26)
system\appdomain.cs (3)
1536AssemblyName asmName = new AssemblyName(assemblyName); 4051AssemblyName captcaEntry = new AssemblyName((string)lhs); 4122AssemblyName asmName = new AssemblyName();
system\reflection\assembly.cs (8)
1392AssemblyName an = new AssemblyName(); 1707AssemblyName an = new AssemblyName(); 1768AssemblyName an = new AssemblyName(); 1966AssemblyName an = new AssemblyName(partialName); 2004AssemblyName an = new AssemblyName(partialName); 2101AssemblyName ainfo = new AssemblyName((String)myEnum.Current); 2909AssemblyName an = new AssemblyName(); 3086loadFromAsmName = new AssemblyName();
system\reflection\assemblyname.cs (1)
179AssemblyName name = new AssemblyName();
system\reflection\emit\dynamicmethod.cs (1)
323AssemblyName assemblyName = new AssemblyName("Anonymously Hosted DynamicMethods Assembly");
system\resources\manifestbasedresourcegroveler.cs (2)
614AssemblyName mscorlib = new AssemblyName(ResourceManager.MscorlibName); 648AssemblyName an = new AssemblyName();
system\resources\resourcemanager.cs (1)
953AssemblyName an1 = new AssemblyName(asmTypeName1.Substring(comma));
system\resources\resourcereader.cs (3)
910AssemblyName mscorlib = new AssemblyName(ResourceManager.MscorlibName); 1148an = new AssemblyName(); 1304AssemblyName an = new AssemblyName(assemblyName);
system\runtime\interopservices\typelibconverter.cs (1)
337AssemblyName AsmName = new AssemblyName();
system\runtime\serialization\formatters\binary\binaryobjectreader.cs (1)
1368assm = ObjectReader.ResolveSimpleAssemblyName(new AssemblyName(assemblyName));
system\runtime\serialization\serializationinfo.cs (2)
201AssemblyName originalAssembly = new AssemblyName(originalAssemblyName); 202AssemblyName newAssembly = new AssemblyName(newAssemblyName);
system\security\codeaccesssecurityengine.cs (1)
136AssemblyName asmName = new AssemblyName((String)assemblyOrString);
system\security\util\xmlutil.cs (1)
112AssemblyName an = new AssemblyName(assemblyFullName);
system\typenameparser.cs (1)
237assembly = assemblyResolver(new AssemblyName(asmName));
PresentationBuildTasks (5)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (1)
2385AssemblyName assemblyName = new AssemblyName(Assembly.GetExecutingAssembly().FullName);
Framework\System\Windows\Markup\XamlTypeMapper.cs (2)
473AssemblyName assemblyName = new AssemblyName(args.Name); 482AssemblyName cachedName = new AssemblyName(asm.FullName);
Shared\System\Windows\Markup\ReflectionHelper.cs (2)
521AssemblyName assemblyName = new AssemblyName(assemblyGivenName); 530AssemblyName cachedName = new AssemblyName(asm.FullName);
PresentationCore (4)
Core\CSharp\System\Windows\Navigation\BaseUriHelper.cs (2)
233AssemblyName asmName = new AssemblyName(assemblyName); 487AssemblyName currAssemblyName = new AssemblyName(assemblyInfo.FullName);
Shared\MS\Internal\SafeSecurityHelper.cs (2)
95AssemblyName name = new AssemblyName(assembly.FullName); 231result = new AssemblyName(assembly.FullName);
PresentationFramework (11)
src\Framework\MS\Internal\AppModel\ResourceContainer.cs (1)
275AssemblyName assemblyInfo = new AssemblyName(assembly.FullName);
src\Framework\MS\Internal\AppModel\XappLauncher.cs (1)
1217AssemblyName assyName = new AssemblyName(attr.Substring(attr.IndexOf(",",StringComparison.OrdinalIgnoreCase) + 1));
src\Framework\System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (3)
482AssemblyName assemblyName = new AssemblyName(bamlAssembly.Name); 506AssemblyName shortName = new AssemblyName(assemblyName.Name); 533AssemblyName localAssemblyName = new AssemblyName(_localAssembly.FullName);
src\Framework\System\Windows\Markup\Baml2006\Baml6Assembly.cs (2)
48AssemblyName assemblyName = new AssemblyName(Name); 61AssemblyName shortName = new AssemblyName(assemblyName.Name);
src\Framework\System\Windows\Markup\Primitives\MarkupWriter.cs (1)
1613Assembly referencedAssembly = Assembly.Load(new AssemblyName(definition.AssemblyName));
src\Framework\System\Windows\SystemResources.cs (1)
963AssemblyName asemblyName = new AssemblyName(assembly.FullName);
src\Shared\MS\Internal\SafeSecurityHelper.cs (2)
95AssemblyName name = new AssemblyName(assembly.FullName); 119AssemblyName name = new AssemblyName(protoAssembly.FullName);
System (1)
compmod\system\codedom\compiler\CompilerResults.cs (1)
106AssemblyName assemName = new AssemblyName();
System.Activities (13)
Microsoft\VisualBasic\Activities\VisualBasicDesignerHelper.cs (2)
132assembliesSet.Add(new AssemblyName(assm)); 235assembliesSet.Add(new AssemblyName(assm));
Microsoft\VisualBasic\Activities\VisualBasicImportReference.cs (1)
40this.assemblyName = new AssemblyName(value);
System\Activities\Debugger\StateManager.cs (1)
688AssemblyName assemblyName = new AssemblyName();
System\Activities\DynamicUpdate\ArgumentInfo.cs (1)
327AssemblyName tempAssemName = new AssemblyName(type.Assembly.FullName);
System\Activities\Expressions\AssemblyReference.cs (2)
220return new AssemblyName(assembly.FullName); 240assemblyName = new AssemblyName(assembly.FullName);
System\Activities\Expressions\TextExpression.cs (4)
42new AssemblyName("mscorlib"), 43new AssemblyName("System"), 44new AssemblyName("System.Activities"), 45new AssemblyName("System.Core")
System\Activities\XamlIntegration\AssemblyReferenceConverter.cs (1)
30AssemblyName = new AssemblyName(stringValue)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (1)
152AssemblyName currentAssemblyName = new AssemblyName(Assembly.GetExecutingAssembly().FullName);
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\NamespaceHelper.cs (1)
89AssemblyName = new AssemblyName(assemblyName)
System.Activities.Presentation\System\Activities\Presentation\NamespaceListProperty.cs (1)
553this.TextExpressionReferences.Add(new AssemblyReference { AssemblyName = new AssemblyName(assembly) });
System.AddIn (3)
System\Addin\Hosting\ActivationWorker.cs (1)
158AssemblyName name1 = new AssemblyName(assemblyName);
System\Addin\Hosting\Store\AddIn.cs (1)
110return new AssemblyName(_assemblyName);
System\Addin\MiniReflection\MiniAssembly.cs (1)
168new System.Reflection.AssemblyName(loadedAssembly.FullName);
System.Core (1)
Microsoft\Scripting\Compiler\AssemblyGen.cs (1)
60var name = new AssemblyName("Snippets");
System.Data (2)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\NamespaceHelper.cs (1)
89AssemblyName = new AssemblyName(assemblyName)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\NamespaceListProperty.cs (1)
553this.TextExpressionReferences.Add(new AssemblyReference { AssemblyName = new AssemblyName(assembly) });
System.Data.Entity (12)
System\Data\Common\EntityUtil.cs (2)
1839var connectionProviderFactoryAssemblyName = new AssemblyName( 1898assemblyName = new AssemblyName(infoRowProviderAssemblyName);
System\Data\Metadata\DefaultAssemblyResolver.cs (4)
40if (AssemblyName.ReferenceMatchesDefinition(referenceName, new AssemblyName(current.FullName))) 68if (AssemblyName.ReferenceMatchesDefinition(referenceName, new AssemblyName(current.FullName))) 169AssemblyName xname = new AssemblyName(x.FullName); 170AssemblyName yname = new AssemblyName(y.FullName);
System\Data\Metadata\MetadataArtifactLoaderCompositeResource.cs (1)
281AssemblyName referenceName = new AssemblyName(assemblyName);
System\Data\Metadata\MetadataWorkspace.cs (1)
67if (AssemblyName.ReferenceMatchesDefinition(referenceName, new AssemblyName(assembly.FullName)))
System\Data\Metadata\ObjectLayer\MetadataAssemblyHelper.cs (1)
41AssemblyName assemblyName = new AssemblyName(assembly.FullName);
System\Data\Objects\Internal\EntityProxyFactory.cs (1)
69AssemblyName assemblyName = new AssemblyName(String.Format(CultureInfo.InvariantCulture, "EntityFrameworkDynamicProxies-{0}", assembly.FullName));
System\Data\SqlClient\SqlTypesAssembly.cs (2)
102AssemblyName asmName = new AssemblyName(assemblyFullName); 138if (EntityUtil.AssemblyNamesMatch(assembly.FullName, new AssemblyName(knownAssemblyFullName)))
System.Data.Services.Client (1)
System\Data\Services\Client\ClientConvert.cs (1)
539type.Assembly.GetName(), new System.Reflection.AssemblyName(SystemDataLinq))))
System.Data.SqlXml (2)
System\Xml\Xsl\IlGen\XmlILModule.cs (1)
341name = new AssemblyName();
System\Xml\Xsl\Xslt\XsltLoader.cs (1)
1197AssemblyName asmName = new AssemblyName(name);
System.Management (2)
WmiGenerator.cs (2)
4962assemblyName = new AssemblyName(); 4984assemblyName = new AssemblyName();
System.Runtime.Serialization (3)
System\Runtime\Serialization\NetDataContractSerializer.cs (2)
546AssemblyName originalAssembly = new AssemblyName(originalAssemblyName); 547AssemblyName newAssembly = new AssemblyName(newAssemblyName);
System\Runtime\Serialization\XmlObjectSerializerReadContextComplex.cs (1)
404AssemblyName an = new AssemblyName(assemblyName);
System.ServiceModel (1)
System\ServiceModel\ComIntegration\EmitterCache.cs (1)
47AssemblyName assemblyName = new AssemblyName();
System.Web (9)
Compilation\AssemblyResolver.cs (1)
275AssemblyName aName = new AssemblyName(assemblyName);
Compilation\BuildManagerHost.cs (1)
118AssemblyName asmName = new AssemblyName(assemblyName);
Configuration\CompilationSection.cs (2)
729AssemblyName asmName = new AssemblyName(assemblyName); 746if (StringUtil.EqualsIgnoreCase(asmName.Name, new AssemblyName(a[i].FullName).Name)) {
Handlers\AssemblyResourceLoader.cs (2)
257AssemblyName assemblyName = new AssemblyName(assembly.FullName); 550AssemblyName realName = new AssemblyName();
UI\TemplateParser.cs (1)
2337AssemblyName asmName = new AssemblyName(assemblyName);
Util\FactoryGenerator.cs (1)
124AssemblyName assemblyName = new AssemblyName();
Util\FastPropertyAccessor.cs (1)
90AssemblyName assemblyName = new AssemblyName();
System.Web.Entity (1)
System\Data\WebControls\EntityDataSourceView.cs (1)
1765var asmPublicKeyToken = new AssemblyName(assembly.FullName).GetPublicKeyToken();
System.Web.Extensions (6)
Compilation\WCFBuildProvider.cs (1)
615System.Reflection.AssemblyName assemblyToLookFor = new System.Reflection.AssemblyName(assemblyName);
Handlers\ScriptResourceHandler.cs (2)
135AssemblyName realName = new AssemblyName(); 174AssemblyName assemblyName = new AssemblyName(assembly.FullName);
UI\AssemblyCache.cs (1)
50version = new AssemblyName(assembly.FullName).Version;
UI\ScriptReference.cs (1)
307AssemblyName assemblyName = new AssemblyName(assembly.FullName);
UI\WebControls\Dynamic.cs (1)
270AssemblyName name = new AssemblyName("DynamicClasses");
System.Web.Mobile (1)
UI\MobileControls\FactoryGenerator.cs (1)
138AssemblyName assemblyName = new AssemblyName();
System.Windows.Forms (8)
winforms\Managed\System\Resources\ResXDataNode.cs (2)
74private static ITypeResolutionService internalTypeResolver = new AssemblyNamesTypeResolutionService(new AssemblyName[] { new AssemblyName("System.Windows.Forms") }); 1011assemblyName = new AssemblyName(fullName);
winforms\Managed\System\Resources\ResXResourceReader.cs (1)
572AssemblyName assemblyName = new AssemblyName(typeName);
winforms\Managed\System\Resources\ResXResourceWriter.cs (2)
549alias = GetAliasFromName(new AssemblyName(assemblyName)); 554alias = GetAliasFromName(new AssemblyName(GetFullName(type)));
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (1)
51AssemblyName assemblyName = new AssemblyName();
winforms\Managed\System\WinForms\DataObject.cs (2)
1777AssemblyName assemblyName = new AssemblyName(typeof(Bitmap).Assembly.FullName); 1796nameToBind = new AssemblyName(assemblyName);
System.Workflow.ComponentModel (1)
AuthoringOM\Compiler\ReferencedAssemblyResolver.cs (1)
52AssemblyName assemblyName = new AssemblyName(name);
System.Xml (1)
System\Xml\Serialization\CodeGenerator.cs (1)
1732AssemblyName assemblyName = new AssemblyName();
UIAutomationClient (2)
MS\Internal\Automation\ProxyManager.cs (2)
378AssemblyName proxyAssemblyName = new AssemblyName(); 389AssemblyName assemblyName = new AssemblyName();
WindowsBase (4)
Base\System\Windows\SplashScreen.cs (1)
81AssemblyName name = new AssemblyName(resourceAssembly.FullName);
Shared\MS\Internal\SafeSecurityHelper.cs (1)
231result = new AssemblyName(assembly.FullName);
Shared\System\Windows\Markup\ReflectionHelper.cs (2)
380AssemblyName assemblyName = new AssemblyName(assemblyGivenName); 391AssemblyName cachedName = new AssemblyName(retassem.FullName);
XamlBuildTask (2)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (1)
80AssemblyName assemblyName = new AssemblyName(Assembly.GetExecutingAssembly().FullName);
Microsoft\Build\Tasks\Xaml\ResolveAssemblyHelper.cs (1)
51AssemblyName targetAssemblyName = new AssemblyName(args.Name);
473 references to AssemblyName
mscorlib (131)
system\activator.cs (1)
327AssemblyName assemblyName = RuntimeAssembly.CreateAssemblyName(assemblyString, false /*forIntrospection*/, out assemblyFromResolveEvent);
system\appdomain.cs (25)
1215AssemblyName name, 1228AssemblyName name, 1244public AssemblyBuilder DefineDynamicAssembly(AssemblyName name, 1263AssemblyName name, 1283AssemblyName name, 1303AssemblyName name, 1327AssemblyName name, 1345AssemblyName name, 1370AssemblyName name, 1396AssemblyName name, 1424AssemblyName name, 1452AssemblyName name, 1480AssemblyName name, 1504AssemblyName name, 1530private extern String nApplyPolicy(AssemblyName an); 1536AssemblyName asmName = new AssemblyName(assemblyName); 1843public Assembly Load(AssemblyName assemblyRef) 1917public Assembly Load(AssemblyName assemblyRef, 2074public int ExecuteAssemblyByName(AssemblyName assemblyName, 2093public int ExecuteAssemblyByName(AssemblyName assemblyName, params string[] args) 4034AssemblyName assemblyName = assembly.GetName(); 4051AssemblyName captcaEntry = new AssemblyName((string)lhs); 4052AssemblyName comparand = (AssemblyName)rhs; 4122AssemblyName asmName = new AssemblyName();
system\iappdomain.cs (11)
91AssemblyBuilder DefineDynamicAssembly(AssemblyName name, 94AssemblyBuilder DefineDynamicAssembly(AssemblyName name, 98AssemblyBuilder DefineDynamicAssembly(AssemblyName name, 102AssemblyBuilder DefineDynamicAssembly(AssemblyName name, 108AssemblyBuilder DefineDynamicAssembly(AssemblyName name, 113AssemblyBuilder DefineDynamicAssembly(AssemblyName name, 120AssemblyBuilder DefineDynamicAssembly(AssemblyName name, 127AssemblyBuilder DefineDynamicAssembly(AssemblyName name, 135AssemblyBuilder DefineDynamicAssembly(AssemblyName name, 180Assembly Load(AssemblyName assemblyRef); 193Assembly Load(AssemblyName assemblyRef,
system\reflection\assembly.cs (39)
301AssemblyName assemblyName = RuntimeAssembly.CreateAssemblyName( 351public static Assembly Load(AssemblyName assemblyRef) 370public static Assembly Load(AssemblyName assemblyRef, Evidence assemblySecurity) 705return AssemblyName.EscapeCodeBase(CodeBase); 712public virtual AssemblyName GetName() 720public virtual AssemblyName GetName(bool copiedName) 1101public virtual AssemblyName[] GetReferencedAssemblies() 1390public override AssemblyName GetName(bool copiedName) 1392AssemblyName an = new AssemblyName(); 1430AssemblyName assemblyName = GetName(); 1707AssemblyName an = new AssemblyName(); 1736AssemblyName an = CreateAssemblyName(assemblyString, forIntrospection, out assembly); 1752internal static AssemblyName CreateAssemblyName( 1768AssemblyName an = new AssemblyName(); 1782AssemblyName assemblyRef, 1798AssemblyName assemblyRef, 1819assemblyRef = (AssemblyName)assemblyRef.Clone(); 1911private static extern RuntimeAssembly _nLoad(AssemblyName fileName, 1929private static extern bool IsFrameworkAssembly(AssemblyName assemblyName); 1934internal static extern bool IsNewPortableAssembly(AssemblyName assemblyName); 1939private static RuntimeAssembly nLoad(AssemblyName fileName, 1966AssemblyName an = new AssemblyName(partialName); 1978AssemblyName GACAssembly = EnumerateCache(an); 2004AssemblyName an = new AssemblyName(partialName); 2009internal static RuntimeAssembly LoadWithPartialNameInternal(AssemblyName an, Evidence securityEvidence, ref StackCrawlMark stackMark) 2045AssemblyName GACAssembly = EnumerateCache(an); 2071private static bool IsSimplyNamed(AssemblyName partialName) 2087private static AssemblyName EnumerateCache(AssemblyName partialName) 2097AssemblyName ainfoBest = null; 2101AssemblyName ainfo = new AssemblyName((String)myEnum.Current); 2325private static extern AssemblyName[] GetReferencedAssemblies(RuntimeAssembly assembly); 2328public override AssemblyName[] GetReferencedAssemblies() 2791IPermission perm = CreateWebPermission(AssemblyName.EscapeCodeBase(codeBase)); 2909AssemblyName an = new AssemblyName(); 3006AssemblyName defName = retAssembly.GetName(); 3007if (!AssemblyName.ReferenceMatchesDefinitionInternal(an,defName,false)) 3053private RuntimeAssembly InternalProbeForSatelliteAssemblyNextToParentAssembly(AssemblyName an, 3082AssemblyName loadFromAsmName = null;
system\reflection\assemblyname.cs (7)
179AssemblyName name = new AssemblyName(); 203static public AssemblyName GetAssemblyName(String assemblyFile) 400static public bool ReferenceMatchesDefinition(AssemblyName reference, 401AssemblyName definition) 417static internal extern bool ReferenceMatchesDefinitionInternal(AssemblyName reference, 418AssemblyName definition, 550static internal extern AssemblyName nGetFileInformation(String s);
system\reflection\assemblynameproxy.cs (2)
27public AssemblyName GetAssemblyName(String assemblyFile) 29return AssemblyName.GetAssemblyName(assemblyFile);
system\reflection\cominterfaces.cs (4)
186AssemblyName GetName(); 190AssemblyName GetName(bool copiedName); 242AssemblyName[] GetReferencedAssemblies(); 663[TypeLibImportClassAttribute(typeof(System.Reflection.AssemblyName))]
system\reflection\emit\assemblybuilder.cs (8)
297AssemblyName name, 334name = (AssemblyName)name.Clone(); 498AssemblyName name, 511AssemblyName name, 530AssemblyName name, 548AssemblyName name, 1287public override AssemblyName GetName(bool copiedName) 1353public override AssemblyName[] GetReferencedAssemblies()
system\reflection\emit\dynamicmethod.cs (1)
323AssemblyName assemblyName = new AssemblyName("Anonymously Hosted DynamicMethods Assembly");
system\resources\manifestbasedresourcegroveler.cs (2)
614AssemblyName mscorlib = new AssemblyName(ResourceManager.MscorlibName); 648AssemblyName an = new AssemblyName();
system\resources\resourcemanager.cs (2)
933AssemblyName asmName2) 953AssemblyName an1 = new AssemblyName(asmTypeName1.Substring(comma));
system\resources\resourcereader.cs (3)
910AssemblyName mscorlib = new AssemblyName(ResourceManager.MscorlibName); 1130AssemblyName an; 1304AssemblyName an = new AssemblyName(assemblyName);
system\runtime\interopservices\marshal.cs (1)
1635AssemblyName AsmName = TypeLibConverter.GetAssemblyNameFromTypelib(pTLB, null, null, null, null, AssemblyNameFlags.None);
system\runtime\interopservices\typelibconverter.cs (5)
116AssemblyName asmName = GetAssemblyNameFromTypelib(typeLib, asmFileName, publicKey, keyPair, asmVersion, asmNameFlags); 230private static AssemblyBuilder CreateAssemblyForTypeLib(Object typeLib, String asmFileName, AssemblyName asmName, bool bPrimaryInteropAssembly, bool bReflectionOnly, bool bNoDefineVersionResource) 294internal static AssemblyName GetAssemblyNameFromTypelib(Object typeLib, String asmFileName, byte[] publicKey, StrongNameKeyPair keyPair, Version asmVersion, AssemblyNameFlags asmNameFlags) 337AssemblyName AsmName = new AssemblyName(); 419private static void SetVersionInformation(AssemblyBuilder asmBldr, Object typeLib, AssemblyName asmName)
system\runtime\serialization\formatters\binary\binaryobjectreader.cs (1)
1424private static Assembly ResolveSimpleAssemblyName(AssemblyName assemblyName)
system\runtime\serialization\serializationinfo.cs (2)
201AssemblyName originalAssembly = new AssemblyName(originalAssemblyName); 202AssemblyName newAssembly = new AssemblyName(newAssemblyName);
system\security\codeaccesssecurityengine.cs (2)
109AssemblyName asmName = null; 136AssemblyName asmName = new AssemblyName((String)assemblyOrString);
system\security\permissions\principalpermission.cs (1)
441System.Reflection.AssemblyName name = null;
system\security\securityexception.cs (7)
48private AssemblyName m_assemblyName; 77internal static Exception MakeSecurityException(AssemblyName asmName, Evidence asmEvidence, PermissionSet granted, PermissionSet refused, RuntimeMethodHandleInternal rmh, SecurityAction action, Object demand, IPermission permThatFailed) 245m_assemblyName = (AssemblyName)info.GetValueNoThrow(Assembly_Name, typeof(AssemblyName)); 272public SecurityException(string message, AssemblyName assemblyName, PermissionSet grant, PermissionSet refused, MethodInfo method, SecurityAction action, Object demanded, IPermission permThatFailed, Evidence evidence) 482public AssemblyName FailedAssemblyInfo 652info.AddValue(Assembly_Name, m_assemblyName, typeof(AssemblyName));
system\security\util\xmlutil.cs (1)
112AssemblyName an = new AssemblyName(assemblyFullName);
system\type.cs (3)
112Func<AssemblyName, Assembly> assemblyResolver, 122Func<AssemblyName, Assembly> assemblyResolver, 133Func<AssemblyName, Assembly> assemblyResolver,
system\typenameparser.cs (3)
79Func<AssemblyName, Assembly> assemblyResolver, 132Func<AssemblyName, Assembly> assemblyResolver, 209private static Assembly ResolveAssembly(string asmName, Func<AssemblyName, Assembly> assemblyResolver, bool throwOnError, ref StackCrawlMark stackMark)
PresentationBuildTasks (7)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (1)
2385AssemblyName assemblyName = new AssemblyName(Assembly.GetExecutingAssembly().FullName);
Framework\System\Windows\Markup\XamlTypeMapper.cs (3)
473AssemblyName assemblyName = new AssemblyName(args.Name); 482AssemblyName cachedName = new AssemblyName(asm.FullName); 483if (!AssemblyName.ReferenceMatchesDefinition(assemblyName, cachedName))
Shared\System\Windows\Markup\ReflectionHelper.cs (3)
521AssemblyName assemblyName = new AssemblyName(assemblyGivenName); 530AssemblyName cachedName = new AssemblyName(asm.FullName); 531if (!AssemblyName.ReferenceMatchesDefinition(assemblyName, cachedName))
PresentationCore (10)
Core\CSharp\System\Windows\Navigation\BaseUriHelper.cs (3)
233AssemblyName asmName = new AssemblyName(assemblyName); 487AssemblyName currAssemblyName = new AssemblyName(assemblyInfo.FullName); 676private static bool AssemblyMatchesKeyString(AssemblyName asmName, string assemblyKey)
Shared\MS\Internal\SafeSecurityHelper.cs (7)
95AssemblyName name = new AssemblyName(assembly.FullName); 159static Dictionary<object, AssemblyName> _assemblies; // get key via GetKeyForAssembly 182internal static Assembly GetLoadedAssembly(AssemblyName assemblyName) 192AssemblyName curAsmName = GetAssemblyName(assemblies[i]); 208static AssemblyName GetAssemblyName(Assembly assembly) 213AssemblyName result; 216_assemblies = new Dictionary<object, AssemblyName>();
PresentationFramework (10)
src\Framework\MS\Internal\AppModel\ResourceContainer.cs (1)
275AssemblyName assemblyInfo = new AssemblyName(assembly.FullName);
src\Framework\MS\Internal\AppModel\XappLauncher.cs (1)
1217AssemblyName assyName = new AssemblyName(attr.Substring(attr.IndexOf(",",StringComparison.OrdinalIgnoreCase) + 1));
src\Framework\System\Windows\Markup\Baml2006\Baml2006SchemaContext.cs (3)
482AssemblyName assemblyName = new AssemblyName(bamlAssembly.Name); 506AssemblyName shortName = new AssemblyName(assemblyName.Name); 533AssemblyName localAssemblyName = new AssemblyName(_localAssembly.FullName);
src\Framework\System\Windows\Markup\Baml2006\Baml6Assembly.cs (2)
48AssemblyName assemblyName = new AssemblyName(Name); 61AssemblyName shortName = new AssemblyName(assemblyName.Name);
src\Framework\System\Windows\SystemResources.cs (1)
963AssemblyName asemblyName = new AssemblyName(assembly.FullName);
src\Shared\MS\Internal\SafeSecurityHelper.cs (2)
95AssemblyName name = new AssemblyName(assembly.FullName); 119AssemblyName name = new AssemblyName(protoAssembly.FullName);
System (11)
compmod\system\codedom\compiler\CompilerResults.cs (1)
106AssemblyName assemName = new AssemblyName();
compmod\system\componentmodel\design\ITypeResolutionService.cs (4)
23Assembly GetAssembly(AssemblyName name); 28Assembly GetAssembly(AssemblyName name, bool throwOnError); 50void ReferenceAssembly(AssemblyName name); 57string GetPathOfAssembly(AssemblyName name);
regex\system\text\regularexpressions\Regex.cs (4)
1234public static void CompileToAssembly(RegexCompilationInfo[] regexinfos, AssemblyName assemblyname) { 1245public static void CompileToAssembly(RegexCompilationInfo[] regexinfos, AssemblyName assemblyname, CustomAttributeBuilder[] attributes) { 1253public static void CompileToAssembly(RegexCompilationInfo[] regexinfos, AssemblyName assemblyname, CustomAttributeBuilder[] attributes, String resourceFile) { 1259private static void CompileToAssemblyInternal (RegexCompilationInfo[] regexinfos, AssemblyName assemblyname, CustomAttributeBuilder[] attributes, String resourceFile) {
regex\system\text\regularexpressions\RegexCompiler.cs (2)
215internal static void CompileToAssembly(RegexCompilationInfo[] regexes, AssemblyName an, CustomAttributeBuilder[] attribs, String resourceFile) { 3078internal RegexTypeCompiler(AssemblyName an, CustomAttributeBuilder[] attribs, String resourceFile) {
System.Activities (41)
Microsoft\VisualBasic\Activities\VisualBasicDesignerHelper.cs (4)
111HashSet<AssemblyName> assembliesSet = new HashSet<AssemblyName>(); 214HashSet<AssemblyName> assembliesSet = new HashSet<AssemblyName>();
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (6)
51public static AssemblyName GetFastAssemblyName(Assembly assembly) 153public VisualBasicHelper(string expressionText, HashSet<AssemblyName> refAssemNames, HashSet<string> namespaceImportsNames) 166void Initialize(HashSet<AssemblyName> refAssemNames, HashSet<string> namespaceImportsNames) 170foreach (AssemblyName assemblyName in refAssemNames) 260HashSet<AssemblyName> localReferenceAssemblies = new HashSet<AssemblyName>();
Microsoft\VisualBasic\Activities\VisualBasicImportReference.cs (3)
17AssemblyName assemblyName; 69internal AssemblyName AssemblyName 98toReturn.assemblyName = (AssemblyName) this.assemblyName.Clone();
Microsoft\VisualBasic\Activities\XamlIntegration\VisualBasicExpressionConverter.cs (2)
88AssemblyName xsCtxAssemblyName = VisualBasicHelper.GetFastAssemblyName(xsCtxReferenceAssemblies[i]); 410internal bool AssemblySatisfiesReference(AssemblyName assemblyName)
System\Activities\Debugger\StateManager.cs (1)
688AssemblyName assemblyName = new AssemblyName();
System\Activities\DynamicUpdate\ArgumentInfo.cs (1)
327AssemblyName tempAssemName = new AssemblyName(type.Assembly.FullName);
System\Activities\Expressions\AssemblyNameEqualityComparer.cs (8)
13class AssemblyNameEqualityComparer : IEqualityComparer, IEqualityComparer<AssemblyName> 25return this.Equals(xparam as AssemblyName, yparam as AssemblyName); 28public bool Equals(AssemblyName x, AssemblyName y) 89AssemblyName obj = objparam as AssemblyName; 97public int GetHashCode(AssemblyName obj)
System\Activities\Expressions\AssemblyReference.cs (12)
43private AssemblyName assemblyName; 51internal AssemblyReference(Assembly assembly, AssemblyName assemblyName) 73public AssemblyName AssemblyName 96public static implicit operator AssemblyReference(AssemblyName assemblyName) 110internal static bool AssemblySatisfiesReference(AssemblyName assemblyName, AssemblyName reference) 140internal static Assembly GetAssembly(AssemblyName assemblyName) 179AssemblyName curAsmName = GetFastAssemblyName(curAsm); 216internal static AssemblyName GetFastAssemblyName(Assembly assembly) 234AssemblyName assemblyName = assemblyToAssemblyNameCache[assembly] as AssemblyName; 254private static Assembly LoadAssembly(AssemblyName assemblyName)
System\Activities\XamlIntegration\AssemblyReferenceConverter.cs (3)
80AssemblyName assemblyName = AssemblyReference.GetFastAssemblyName(reference.Assembly); 99private static Assembly ResolveAssembly(AssemblyName assemblyReference, IEnumerable<Assembly> assemblies) 103AssemblyName assemblyName = AssemblyReference.GetFastAssemblyName(assembly);
System\Activities\XamlIntegration\TextExpressionCompiler.cs (1)
152AssemblyName currentAssemblyName = new AssemblyName(Assembly.GetExecutingAssembly().FullName);
System.Activities.Core.Presentation (2)
System\ServiceModel\Activities\Presentation\ServiceContractImporter.cs (2)
58public static Type SelectContractType(AssemblyName localAssemblyName, IList<AssemblyName> referencedAssemblies, EditingContext editingContext)
System.Activities.Presentation (17)
System.Activities.Presentation\System\Activities\Presentation\Hosting\IMultiTargetingSupportService.cs (1)
19Assembly GetReflectionAssembly(AssemblyName targetAssemblyName);
System.Activities.Presentation\System\Activities\Presentation\Hosting\MultiTargetingSupportService.cs (1)
25public abstract Assembly GetReflectionAssembly(AssemblyName targetAssemblyName);
System.Activities.Presentation\System\Activities\Presentation\NamespaceHelper.cs (1)
126AssemblyName localAssembly = null;
System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (1)
139AssemblyName currentAssemblyName = Assembly.GetExecutingAssembly().GetName();
System.Activities.Presentation\System\Activities\Presentation\View\AssemblyContextControlItem.cs (8)
25public AssemblyName LocalAssemblyName 29public IList<AssemblyName> ReferencedAssemblyNames 48foreach (AssemblyName assemblyName in GetEnvironmentAssemblyNames()) 60public IEnumerable<AssemblyName> GetEnvironmentAssemblyNames() 68List<AssemblyName> assemblyNames = new List<AssemblyName>(); 91foreach (AssemblyName assemblyName in this.ReferencedAssemblyNames) 105public static Assembly GetAssembly(AssemblyName assemblyName, IMultiTargetingSupportService multiTargetingService)
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (1)
1194public void OnReferenceUpdated(AssemblyName updatedReference, bool isAdded)
System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (1)
528internal void OnReferenceUpdated(AssemblyName updatedReference, bool isAdded)
System.Activities.Presentation\System\Activities\Presentation\View\ParserContext.cs (2)
266foreach (AssemblyName name in assemblyContext.ReferencedAssemblyNames) 273NamespaceDeclaration GetEntry(AssemblyName name)
System.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (1)
535private static string GetDisplayName(AssemblyName name)
System.AddIn (11)
System\Addin\Hosting\ActivationWorker.cs (2)
158AssemblyName name1 = new AssemblyName(assemblyName); 159AssemblyName name2 = assembly.GetName();
System\Addin\Hosting\AddInActivator.cs (1)
696AssemblyName assemblyName = assembly.GetName();
System\Addin\Hosting\AddInToken.cs (1)
210public AssemblyName AssemblyName
System\Addin\Hosting\Store\AddIn.cs (1)
108public AssemblyName AssemblyName {
System\Addin\Hosting\Utils.cs (3)
104internal static bool PublicKeyMatches(AssemblyName a1, AssemblyName a2) 110internal static bool PublicKeyMatches(System.Reflection.AssemblyName a1, byte[] publicKeyOrToken)
System\Addin\MiniReflection\MetadataReader\AssemblyInfo.cs (2)
27public AssemblyInfo(System.Reflection.AssemblyName AN) 57public static implicit operator AssemblyInfo(System.Reflection.AssemblyName AN)
System\Addin\MiniReflection\MiniAssembly.cs (1)
167System.Reflection.AssemblyName loadedAssemblyName =
System.Core (1)
Microsoft\Scripting\Compiler\AssemblyGen.cs (1)
60var name = new AssemblyName("Snippets");
System.Data (19)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Hosting\IMultiTargetingSupportService.cs (1)
19Assembly GetReflectionAssembly(AssemblyName targetAssemblyName);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Hosting\MultiTargetingSupportService.cs (1)
25public abstract Assembly GetReflectionAssembly(AssemblyName targetAssemblyName);
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\NamespaceHelper.cs (1)
126AssemblyName localAssembly = null;
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (1)
139AssemblyName currentAssemblyName = Assembly.GetExecutingAssembly().GetName();
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\AssemblyContextControlItem.cs (8)
25public AssemblyName LocalAssemblyName 29public IList<AssemblyName> ReferencedAssemblyNames 48foreach (AssemblyName assemblyName in GetEnvironmentAssemblyNames()) 60public IEnumerable<AssemblyName> GetEnvironmentAssemblyNames() 68List<AssemblyName> assemblyNames = new List<AssemblyName>(); 91foreach (AssemblyName assemblyName in this.ReferencedAssemblyNames) 105public static Assembly GetAssembly(AssemblyName assemblyName, IMultiTargetingSupportService multiTargetingService)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (1)
1194public void OnReferenceUpdated(AssemblyName updatedReference, bool isAdded)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (1)
528internal void OnReferenceUpdated(AssemblyName updatedReference, bool isAdded)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\ParserContext.cs (2)
266foreach (AssemblyName name in assemblyContext.ReferencedAssemblyNames) 273NamespaceDeclaration GetEntry(AssemblyName name)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\View\TypeBrowser.xaml.cs (1)
535private static string GetDisplayName(AssemblyName name)
fx\src\data\System\Data\ProviderBase\DbConnectionPoolCounters.cs (1)
218AssemblyName name = assembly.GetName();
fx\src\data\System\Data\SqlClient\SqlConnection.cs (1)
2204private Assembly ResolveTypeAssembly(AssemblyName asmRef, bool throwOnError) {
System.Data.Entity (28)
System\Data\Common\EntityUtil.cs (4)
1839var connectionProviderFactoryAssemblyName = new AssemblyName( 1846AssemblyName rowProviderFactoryAssemblyName = null; 1888static internal bool AssemblyNamesMatch(string infoRowProviderAssemblyName, AssemblyName targetAssemblyName) 1895AssemblyName assemblyName = null;
System\Data\Metadata\CustomAssemblyResolver.cs (3)
18private Func<AssemblyName, Assembly> _referenceResolver; 21internal CustomAssemblyResolver(Func<IEnumerable<Assembly>> wildcardAssemblyEnumerator, Func<AssemblyName, Assembly> referenceResolver) 29internal override bool TryResolveAssemblyReference(AssemblyName refernceName, out Assembly assembly)
System\Data\Metadata\DefaultAssemblyResolver.cs (9)
21internal override bool TryResolveAssemblyReference(AssemblyName refernceName, out Assembly assembly) 33internal Assembly ResolveAssembly(AssemblyName referenceName) 40if (AssemblyName.ReferenceMatchesDefinition(referenceName, new AssemblyName(current.FullName))) 62private bool TryFindWildcardAssemblyMatch(AssemblyName referenceName, out Assembly assembly) 68if (AssemblyName.ReferenceMatchesDefinition(referenceName, new AssemblyName(current.FullName))) 169AssemblyName xname = new AssemblyName(x.FullName); 170AssemblyName yname = new AssemblyName(y.FullName); 174|| (AssemblyName.ReferenceMatchesDefinition(xname, yname) 175&& AssemblyName.ReferenceMatchesDefinition(yname, xname));
System\Data\Metadata\MetadataArtifactAssemblyResolver.cs (1)
17internal abstract bool TryResolveAssemblyReference(AssemblyName refernceName, out Assembly assembly);
System\Data\Metadata\MetadataArtifactLoaderCompositeResource.cs (1)
281AssemblyName referenceName = new AssemblyName(assemblyName);
System\Data\Metadata\MetadataWorkspace.cs (4)
63Func<AssemblyName, Assembly> resolveReference = (AssemblyName referenceName)=> 67if (AssemblyName.ReferenceMatchesDefinition(referenceName, new AssemblyName(assembly.FullName))) 81private void CreateMetadataWorkspaceWithResolver(IEnumerable<string> paths, Func<IEnumerable<Assembly>> wildcardAssemblies, Func<AssemblyName, Assembly> resolveReference)
System\Data\Metadata\ObjectLayer\MetadataAssemblyHelper.cs (4)
23internal static Assembly SafeLoadReferencedAssembly(AssemblyName assemblyName) 41AssemblyName assemblyName = new AssemblyName(assembly.FullName); 51private static bool ShouldFilterAssembly(AssemblyName assemblyName) 77foreach (AssemblyName name in assembly.GetReferencedAssemblies())
System\Data\Objects\Internal\EntityProxyFactory.cs (1)
69AssemblyName assemblyName = new AssemblyName(String.Format(CultureInfo.InvariantCulture, "EntityFrameworkDynamicProxies-{0}", assembly.FullName));
System\Data\SqlClient\SqlTypesAssembly.cs (1)
102AssemblyName asmName = new AssemblyName(assemblyFullName);
System.Data.Services.Client (1)
System\Data\Services\Client\ClientConvert.cs (1)
538(System.Reflection.AssemblyName.ReferenceMatchesDefinition(
System.Data.SqlXml (5)
System\Xml\Xsl\IlGen\XmlILModule.cs (4)
43AssemblyName asmName; 106AssemblyName asmName; 337private static AssemblyName CreateAssemblyName() { 338AssemblyName name;
System\Xml\Xsl\Xslt\XsltLoader.cs (1)
1197AssemblyName asmName = new AssemblyName(name);
System.Drawing (25)
commonui\System\Drawing\BitmapSelector.cs (1)
155AssemblyName assemblyName = assembly.GetName();
commonui\System\Drawing\Design\ToolboxItem.cs (24)
93public AssemblyName AssemblyName { 95return (AssemblyName)Properties["AssemblyName"]; 107public AssemblyName[] DependentAssemblies { 109AssemblyName[] names = (AssemblyName[]) Properties["DependentAssemblies"]; 111return (AssemblyName[]) names.Clone(); 476private static bool AreAssemblyNamesEqual(AssemblyName name1, AssemblyName name2) { 521if (value != null) value = ((AssemblyName)value).Clone(); 564protected virtual Type GetType(IDesignerHost host, AssemblyName assemblyName, string typeName, bool reference) { 652private AssemblyName GetNonRetargetedAssemblyName(Type type, AssemblyName policiedAssemblyName) { 662foreach (AssemblyName name in type.Assembly.GetReferencedAssemblies()) { 668foreach (AssemblyName name in type.Assembly.GetReferencedAssemblies()) { 677foreach (AssemblyName name in type.Assembly.GetReferencedAssemblies()) { 704AssemblyName assemblyName = type.Assembly.GetName(true); 709Dictionary<string, AssemblyName> parents = new Dictionary<string, AssemblyName>(); 712AssemblyName policiedname = parentType.Assembly.GetName(true); 714AssemblyName aname = GetNonRetargetedAssemblyName(type, policiedname); 722AssemblyName[] parentAssemblies = new AssemblyName[parents.Count]; 724foreach(AssemblyName an in parents.Values) { 876ValidatePropertyType(propertyName, value, typeof(AssemblyName), true);
System.Management (5)
Instrumentation\AssemblyNameUtility.cs (3)
30 AssemblyName an = assembly.GetName(true); 36 AssemblyName an = assembly.GetName(true); 43AssemblyName an = assembly.GetName(true);
WmiGenerator.cs (2)
4936AssemblyName curAssemblyName = null; 4937AssemblyName assemblyName = null;
System.Runtime.Serialization (5)
System\Runtime\Serialization\CodeExporter.cs (1)
518AssemblyName assemblyName = Assembly.GetExecutingAssembly().GetName();
System\Runtime\Serialization\NetDataContractSerializer.cs (2)
546AssemblyName originalAssembly = new AssemblyName(originalAssemblyName); 547AssemblyName newAssembly = new AssemblyName(newAssemblyName);
System\Runtime\Serialization\XmlObjectSerializerReadContextComplex.cs (2)
387static Assembly ResolveSimpleAssemblyName(AssemblyName assemblyName) 404AssemblyName an = new AssemblyName(assemblyName);
System.ServiceModel (2)
System\ServiceModel\ComIntegration\EmitterCache.cs (1)
47AssemblyName assemblyName = new AssemblyName();
System\ServiceModel\Description\ServiceContractGenerator.cs (1)
553AssemblyName assemblyName = Assembly.GetExecutingAssembly().GetName();
System.Web (20)
Compilation\AssemblyResolver.cs (4)
222AssemblyName resolvedAssemblyName = AssemblyName.GetAssemblyName(path); 275AssemblyName aName = new AssemblyName(assemblyName); 285foreach (AssemblyName name in assembly.GetReferencedAssemblies()) {
Compilation\BuildManagerHost.cs (1)
118AssemblyName asmName = new AssemblyName(assemblyName);
Compilation\BuildResult.cs (1)
517foreach (AssemblyName aName in a.GetReferencedAssemblies()) {
Compilation\BuildResultCache.cs (1)
96foreach (AssemblyName assemblyName in a.GetReferencedAssemblies()) {
Compilation\XsdBuildProvider.cs (1)
74var aName = a.GetName();
Configuration\CompilationSection.cs (2)
702internal static Assembly LoadAndRecordAssembly(AssemblyName name) { 729AssemblyName asmName = new AssemblyName(assemblyName);
Handlers\AssemblyResourceLoader.cs (5)
151AssemblyName assemblyName = assembly.GetName(); 257AssemblyName assemblyName = new AssemblyName(assembly.FullName); 418AssemblyName assemblyName = (AssemblyName)assemblyInfo.First; 550AssemblyName realName = new AssemblyName();
UI\TemplateParser.cs (1)
2337AssemblyName asmName = new AssemblyName(assemblyName);
UI\Util.cs (2)
1339AssemblyName[] refs = a.GetReferencedAssemblies(); 1341foreach (AssemblyName aname in refs) {
Util\FactoryGenerator.cs (1)
124AssemblyName assemblyName = new AssemblyName();
Util\FastPropertyAccessor.cs (1)
90AssemblyName assemblyName = new AssemblyName();
System.Web.ApplicationServices (2)
Hosting\CustomLoaderHelper.cs (2)
93AssemblyName customLoaderAssemblyName = AssemblyName.GetAssemblyName(customLoaderPhysicalPath);
System.Web.Entity.Design (1)
parent\parent\parent\parent\InternalApis\NDP_FX\inc\BitmapSelector.cs (1)
155AssemblyName assemblyName = assembly.GetName();
System.Web.Extensions (16)
Compilation\WCFBuildProvider.cs (2)
615System.Reflection.AssemblyName assemblyToLookFor = new System.Reflection.AssemblyName(assemblyName); 619if (System.Reflection.AssemblyName.ReferenceMatchesDefinition(assemblyToLookFor, assembly.GetName()))
Handlers\ScriptResourceHandler.cs (10)
135AssemblyName realName = new AssemblyName(); 162private static Tuple<AssemblyName, String> GetAssemblyInfo(Assembly assembly) { 163Tuple<AssemblyName, String> assemblyInfo = 164(Tuple<AssemblyName, String>)_assemblyInfoCache[assembly]; 173private static Tuple<AssemblyName, String> GetAssemblyInfoInternal(Assembly assembly) { 174AssemblyName assemblyName = new AssemblyName(assembly.FullName); 176return new Tuple<AssemblyName, String>(assemblyName, hash); 684Tuple<AssemblyName, String> assemblyInfo = GetAssemblyInfo(assemblyData.Item1); 686AssemblyName assemblyName = (AssemblyName)assemblyInfo.Item1;
Script\Services\WebServiceClientProxyGenerator.cs (1)
26AssemblyName assemblyName = assembly.GetName();
UI\ScriptReference.cs (1)
307AssemblyName assemblyName = new AssemblyName(assembly.FullName);
UI\ScriptResourceAttribute.cs (1)
345AssemblyName assemblyName = assembly.GetName();
UI\WebControls\Dynamic.cs (1)
270AssemblyName name = new AssemblyName("DynamicClasses");
System.Web.Mobile (1)
UI\MobileControls\FactoryGenerator.cs (1)
138AssemblyName assemblyName = new AssemblyName();
System.Web.Services (1)
System\Web\Services\Description\WebCodeGenerator.cs (1)
49AssemblyName assemblyName = a.GetName();
System.Windows.Forms (36)
parent\parent\parent\InternalApis\NDP_FX\inc\BitmapSelector.cs (1)
155AssemblyName assemblyName = assembly.GetName();
winforms\Managed\System\Resources\IAliasResolver.cs (2)
22AssemblyName ResolveAlias(string alias); 23void PushAlias(string alias, AssemblyName name);
winforms\Managed\System\Resources\ResXDataNode.cs (12)
74private static ITypeResolutionService internalTypeResolver = new AssemblyNamesTypeResolutionService(new AssemblyName[] { new AssemblyName("System.Windows.Forms") }); 659public string GetValueTypeName(AssemblyName[] names) { 706public object GetValue(AssemblyName[] names) { 901private AssemblyName[] names; 907internal AssemblyNamesTypeResolutionService(AssemblyName[] names) { 913public Assembly GetAssembly(AssemblyName name) { 921public Assembly GetAssembly(AssemblyName name, bool throwOnError) { 968public string GetPathOfAssembly(AssemblyName name) { 1009AssemblyName assemblyName = null; 1017List<AssemblyName> assemblyList = new List<AssemblyName>(names.Length); 1072public void ReferenceAssembly(AssemblyName name) {
winforms\Managed\System\Resources\ResXResourceReader.cs (15)
53AssemblyName[] assemblyNames; 74private ResXResourceReader(AssemblyName[] assemblyNames) { 120public ResXResourceReader(Stream stream, AssemblyName[] assemblyNames) : this(stream, assemblyNames, (IAliasResolver)null){ 122internal ResXResourceReader(Stream stream, AssemblyName[] assemblyNames, IAliasResolver aliasResolver) { 131public ResXResourceReader(TextReader reader, AssemblyName[] assemblyNames) : this(reader, assemblyNames, (IAliasResolver)null){ 133internal ResXResourceReader(TextReader reader, AssemblyName[] assemblyNames, IAliasResolver aliasResolver) { 142public ResXResourceReader(string fileName, AssemblyName[] assemblyNames) : this(fileName, assemblyNames, (IAliasResolver)null){ 144internal ResXResourceReader(string fileName, AssemblyName[] assemblyNames, IAliasResolver aliasResolver) { 331public static ResXResourceReader FromFileContents(string fileContents, AssemblyName[] assemblyNames) { 572AssemblyName assemblyName = new AssemblyName(typeName); 588AssemblyName assemblyName = null; 682public AssemblyName ResolveAlias(string alias) { 684AssemblyName result = null; 686result = (AssemblyName)cachedAliases[alias]; 691public void PushAlias(string alias, AssemblyName name) {
winforms\Managed\System\Resources\ResXResourceWriter.cs (2)
382public virtual void AddAlias(string aliasName, AssemblyName assemblyName) { 617private string GetAliasFromName(AssemblyName assemblyName)
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (1)
51AssemblyName assemblyName = new AssemblyName();
winforms\Managed\System\WinForms\DataObject.cs (2)
1777AssemblyName assemblyName = new AssemblyName(typeof(Bitmap).Assembly.FullName); 1794AssemblyName nameToBind = null;
winforms\Managed\System\WinForms\ThreadExceptionDialog.cs (1)
192AssemblyName name = asm.GetName();
System.Workflow.Activities (5)
Common\CompModHelpers.cs (1)
812Assembly assembly = typeProviderCreator.GetTransientAssembly(AssemblyName.GetAssemblyName(assemblyName));
Common\TypeSystemHelpers.cs (3)
137internal static bool AssemblyNameEquals(AssemblyName thisName, AssemblyName thatName) 191internal static bool AssemblyNameEquals(AssemblyName thisName, string thatName)
Rules\RuleValidation.cs (1)
883foreach (AssemblyName a in root.GetReferencedAssemblies())
System.Workflow.ComponentModel (28)
AuthoringOM\Compiler\ReferencedAssemblyResolver.cs (3)
52AssemblyName assemblyName = new AssemblyName(name); 59AssemblyName referenceAssemblyName = AssemblyName.GetAssemblyName(assemblyPath);
AuthoringOM\Compiler\TypeSystem\AssemblyLoader.cs (6)
12private AssemblyName assemblyName = null; 22AssemblyName asmName = AssemblyName.GetAssemblyName(filePath); 36AssemblyName partialName = (AssemblyName)asmName.Clone(); 125internal AssemblyName AssemblyName
AuthoringOM\Design\ComponentSerializationService.cs (10)
141private AssemblyName[] assemblies; 152this.assemblies = (AssemblyName[])info.GetValue(AssembliesKey, typeof(AssemblyName[])); 155private AssemblyName[] AssemblyNames 351List<AssemblyName> assemblyList = new List<AssemblyName>(); 396AssemblyName[] names = this.store.AssemblyNames; 397foreach (AssemblyName n in names) 411foreach (AssemblyName n in names) 416foreach (AssemblyName dep in a.GetReferencedAssemblies())
AuthoringOM\Design\DesignerInterfaces.cs (3)
83void AddAssemblyReference(AssemblyName assemblyName); 98Assembly GetReflectionAssembly(AssemblyName assemblyName); 1160Assembly GetTransientAssembly(AssemblyName assemblyName);
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (1)
736this.localTypeProvider.AddAssembly(typeProviderCreator.GetTransientAssembly(AssemblyName.GetAssemblyName(fileDialog.FileName)));
AuthoringOM\ScheduleChanges.cs (1)
604foreach (AssemblyName assemblyName in companionType.Assembly.GetReferencedAssemblies())
Shared\CompModHelpers.cs (1)
810Assembly assembly = typeProviderCreator.GetTransientAssembly(AssemblyName.GetAssemblyName(assemblyName));
Shared\TypeSystemHelpers.cs (3)
136internal static bool AssemblyNameEquals(AssemblyName thisName, AssemblyName thatName) 190internal static bool AssemblyNameEquals(AssemblyName thisName, string thatName)
System.Workflow.Runtime (2)
System\Activities\Statements\Interop.cs (1)
1036foreach (AssemblyName assemblyName in rootType.Assembly.GetReferencedAssemblies())
WorkflowRuntime.cs (1)
1428foreach (AssemblyName assemblyName in companionType.Assembly.GetReferencedAssemblies())
System.WorkflowServices (1)
System\Workflow\Runtime\WorkflowDefinitionContext.cs (1)
70foreach (AssemblyName assemblyName in companionType.Assembly.GetReferencedAssemblies())
System.Xml (5)
System\Xml\Serialization\CodeExporter.cs (1)
106AssemblyName assemblyName = a.GetName();
System\Xml\Serialization\CodeGenerator.cs (1)
1732AssemblyName assemblyName = new AssemblyName();
System\Xml\Serialization\Compilation.cs (2)
166AssemblyName name = GetName(type.Assembly, true); 250static AssemblyName GetName(Assembly assembly, bool copyName) {
System\Xml\Serialization\Compiler.cs (1)
151internal static string GetTempAssemblyName(AssemblyName parent, string ns) {
UIAutomationClient (6)
MS\Internal\Automation\ProxyManager.cs (5)
64internal static void RegisterProxyAssembly ( AssemblyName assemblyName ) 373AssemblyName ourAssembly = Assembly.GetAssembly(typeof(ProxyManager)).GetName(); 378AssemblyName proxyAssemblyName = new AssemblyName(); 389AssemblyName assemblyName = new AssemblyName(); 390foreach ( AssemblyName name in callingAssembly.GetReferencedAssemblies() )
System\Windows\Automation\ClientSettings.cs (1)
48public static void RegisterClientSideProviderAssembly(AssemblyName assemblyName)
WindowsBase (10)
Base\System\Windows\SplashScreen.cs (1)
81AssemblyName name = new AssemblyName(resourceAssembly.FullName);
Shared\MS\Internal\SafeSecurityHelper.cs (6)
159static Dictionary<object, AssemblyName> _assemblies; // get key via GetKeyForAssembly 182internal static Assembly GetLoadedAssembly(AssemblyName assemblyName) 192AssemblyName curAsmName = GetAssemblyName(assemblies[i]); 208static AssemblyName GetAssemblyName(Assembly assembly) 213AssemblyName result; 216_assemblies = new Dictionary<object, AssemblyName>();
Shared\System\Windows\Markup\ReflectionHelper.cs (3)
380AssemblyName assemblyName = new AssemblyName(assemblyGivenName); 391AssemblyName cachedName = new AssemblyName(retassem.FullName); 392if (!AssemblyName.ReferenceMatchesDefinition(assemblyName, cachedName))
XamlBuildTask (8)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (5)
80AssemblyName assemblyName = new AssemblyName(Assembly.GetExecutingAssembly().FullName); 1220CodeExpression initAssemblyName = typeof(AssemblyName).New(assemblyNameVal); 1221CodeVariableReferenceExpression assemblyName = loadMethod.Statements.DeclareVar(typeof(AssemblyName), "assemblyName", initAssemblyName); 1253CodeVariableReferenceExpression shortName = catchClause.Statements.DeclareVar(typeof(AssemblyName), "shortName", 1254typeof(AssemblyName).New(new CodePropertyReferenceExpression(assemblyName, "Name")));
Microsoft\Build\Tasks\Xaml\CompilationPass2TaskInternal.cs (1)
155public IList<Tuple<AssemblyName, Assembly>> ReferencedAssemblies
Microsoft\Build\Tasks\Xaml\ResolveAssemblyHelper.cs (1)
51AssemblyName targetAssemblyName = new AssemblyName(args.Name);
Microsoft\Build\Tasks\Xaml\XamlBuildTaskServices.cs (1)
186AssemblyName assemblyName = asm.GetName();