3 writes to _constructor
System.Composition.TypedParts (3)
System\Composition\TypedParts\Discovery\DiscoveredPart.cs (3)
97_constructor = c; 103_constructor = GetConstructorInfoFromGenericType(_partType); 106_constructor ??= _partType.DeclaredConstructors.FirstOrDefault(ci => ci.IsPublic && !(ci.IsStatic || ci.GetParameters().Length != 0));
7 references to _constructor
System.Composition.TypedParts (7)
System\Composition\TypedParts\Discovery\DiscoveredPart.cs (7)
85if (_constructor == null) 91if (_constructor != null) 101if (_constructor == null && _partType.IsGenericType) 108if (_constructor == null) 115var cps = _constructor.GetParameters(); 171var cps = _constructor.GetParameters(); 195Expression body = Expression.Convert(Expression.New(_constructor, paramActivatorCalls), typeof(object));