6 instantiations of AssemblyReference
System.Activities (4)
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (1)
244assemblies.Add(new AssemblyReference
System\Activities\Expressions\AssemblyReference.cs (2)
91return new AssemblyReference { Assembly = assembly }; 98return new AssemblyReference { AssemblyName = assemblyName };
System\Activities\XamlIntegration\AssemblyReferenceConverter.cs (1)
28AssemblyReference result = new AssemblyReference
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\NamespaceHelper.cs (1)
87AssemblyReference reference = new AssemblyReference
System.Activities.Presentation\System\Activities\Presentation\NamespaceListProperty.cs (1)
553this.TextExpressionReferences.Add(new AssemblyReference { AssemblyName = new AssemblyName(assembly) });
62 references to AssemblyReference
System.Activities (40)
Microsoft\VisualBasic\Activities\VisualBasicDesignerHelper.cs (2)
689IList<AssemblyReference> referencedAssemblies; 693foreach (AssemblyReference reference in referencedAssemblies)
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (9)
53return AssemblyReference.GetFastAssemblyName(assembly); 176Assembly loaded = AssemblyReference.GetAssembly(assemblyName); 184public static void GetAllImportReferences(Activity activity, bool isDesignTime, out IList<string> namespaces, out IList<AssemblyReference> assemblies) 187List<AssemblyReference> assemblyList = new List<AssemblyReference>(); 211IList<AssemblyReference> rootAssemblies; 239IList<string> namespaces, IList<AssemblyReference> assemblies) 255IList<AssemblyReference> localAssemblies; 262foreach (AssemblyReference assemblyReference in localAssemblies)
System\Activities\DynamicUpdate\DynamicUpdateServices.cs (1)
251IList<AssemblyReference> referencesForImplementation = TextExpression.GetReferencesForImplementation(activityDefinition);
System\Activities\Expressions\AssemblyReference.cs (2)
89public static implicit operator AssemblyReference(Assembly assembly) 96public static implicit operator AssemblyReference(AssemblyName assemblyName)
System\Activities\Expressions\TextExpression.cs (16)
40private static readonly ReadOnlyCollection<AssemblyReference> defaultReferences = new ReadOnlyCollection<AssemblyReference>(new AssemblyReference[] 56public static IList<AssemblyReference> DefaultReferences 123public static IList<AssemblyReference> GetReferencesInScope(Activity activity) 128IList<AssemblyReference> result = isImplementation ? GetReferencesForImplementation(root) : GetReferences(root); 140public static IList<AssemblyReference> GetReferences(object target) 142return GetCollection<AssemblyReference>(target, referencesProperty); 145public static void SetReferences(object target, IList<AssemblyReference> references) 150public static void SetReferences(object target, params AssemblyReference[] references) 157return ShouldSerializeCollection<AssemblyReference>(target, referencesProperty); 160public static IList<AssemblyReference> GetReferencesForImplementation(object target) 162return GetCollection<AssemblyReference>(target, referencesForImplementationProperty); 165public static void SetReferencesForImplementation(object target, IList<AssemblyReference> references) 170public static void SetReferencesForImplementation(object target, params AssemblyReference[] references) 179return !(target is Activity) && ShouldSerializeCollection<AssemblyReference>(target, referencesForImplementationProperty);
System\Activities\XamlIntegration\AssemblyReferenceConverter.cs (6)
28AssemblyReference result = new AssemblyReference 64AssemblyReference reference = value as AssemblyReference; 80AssemblyName assemblyName = AssemblyReference.GetFastAssemblyName(reference.Assembly); 103AssemblyName assemblyName = AssemblyReference.GetFastAssemblyName(assembly); 104if (AssemblyReference.AssemblySatisfiesReference(assemblyName, assemblyReference))
System\Activities\XamlIntegration\TextExpressionCompiler.cs (4)
2425List<AssemblyReference> assemblies = this.settings.ForImplementation ? 2426new List<AssemblyReference>(TextExpression.GetReferencesForImplementation(this.settings.Activity)) : 2427new List<AssemblyReference>(TextExpression.GetReferences(this.settings.Activity)); 2431foreach (AssemblyReference assemblyReference in assemblies)
System.Activities.Presentation (22)
Microsoft.Tools.Common\Microsoft\Activities\Presentation\Xaml\WorkflowDesignerXamlSchemaContext.cs (2)
46conversionRequiredTypes.Add(typeof(System.Activities.Expressions.AssemblyReference)); 47conversionRequiredTypes.Add(typeof(System.Collections.ObjectModel.Collection<System.Activities.Expressions.AssemblyReference>));
System.Activities.Presentation\System\Activities\Presentation\NamespaceHelper.cs (7)
23internal static IList<string> GetTextExpressionNamespaces(object root, out IList<AssemblyReference> references) 37internal static void SetTextExpressionNamespaces(object root, IList<string> namespaces, IList<AssemblyReference> references) 63internal static void ConvertToTextExpressionImports(VisualBasicSettings settings, out IList<string> importedNamespace, out IList<AssemblyReference> references) 84references = new Collection<AssemblyReference>(); 87AssemblyReference reference = new AssemblyReference 96internal static void ConvertToVBSettings(IList<string> importedNamespaces, IList<AssemblyReference> references, EditingContext context, out VisualBasicSettings settings) 106foreach (AssemblyReference reference in references)
System.Activities.Presentation\System\Activities\Presentation\NamespaceListProperty.cs (7)
68IList<AssemblyReference> references; 83IList<AssemblyReference> references; 492public TextExpressionNamespaceList(IList<string> importedNamespaces, IList<AssemblyReference> references) 511internal IList<AssemblyReference> TextExpressionReferences 525AssemblyReference toRemove = null; 526foreach (AssemblyReference reference in this.TextExpressionReferences) 543foreach (AssemblyReference reference in this.TextExpressionReferences)
System.Activities.Presentation\System\Activities\Presentation\NamespaceSettingsHandler.cs (3)
49IList<AssemblyReference> references; 96NamespaceHelper.SetTextExpressionNamespaces(root, new Collection<string>(), new Collection<AssemblyReference>()); 130IList<AssemblyReference> referencedAssemblies;
System.Activities.Presentation\System\Activities\Presentation\Validation\ValidationService.cs (1)
343IList<AssemblyReference> references;
System.Activities.Presentation\System\Activities\Presentation\View\ImportDesigner.xaml.cs (2)
683IList<AssemblyReference> references; 685foreach (AssemblyReference reference in references)