Commit Graph
3 Commits
Author SHA1 Message Date
Taylor Southwick b8552bda27 Create lookup table for IsDefault and TypeId
System.ComponentModel.TypeDescriptor expects certain attributes(defined
in System.ComponentModel.Primitives) to override IsDesfaultAttribute and
TypeId from System.Attribute. This is not available on .NET Core, so an
interface had been supplied for it instead. This design required the
projects to depend on each other rather than the ref assemblies, so this
removes that dependency by creating a lookup table that should cover
the majority of the cases.


Commit migrated from https://github.com/dotnet/corefx/commit/14c87f0008f3341c68c45bd0dec7ce6aa93b3bdb
2016-05-17 19:32:55 -07:00
Taylor Southwick d6a0fe94c4 Add ComponentModelAttribute and expose Attribute members
System.Attribute in .NET Framework has a few types that were not brought forward in Core, namely, IsDefaultAttribute, TypeId, and Match. This adds a layer that allows an easy way to expose those members for use in the implementation.


Commit migrated from https://github.com/dotnet/corefx/commit/52a01483b85f4be66678d35384e1d0983adce9ed
2016-04-04 07:07:43 -07:00
Charles Lowell 22e9a3dd75 Add attribute types to System.ComponentModel.Primitives
Commit migrated from https://github.com/dotnet/corefx/commit/40206cccc087219c3a0c8282270e349eb48bfbfe
2016-03-18 14:31:25 -07:00