33 references to GetNames
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\CaseKeyBox.ViewModel.cs (1)
189this.ComboBoxItems = new ObservableCollection<string>(Enum.GetNames(this.ValueType).ToList());
System.ComponentModel.DataAnnotations (1)
DataAnnotations\DataTypeAttribute.cs (1)
114private static string[] _dataTypeStrings = Enum.GetNames(typeof(DataType));
System.Configuration (1)
System\Configuration\GenericEnumConverter.cs (1)
66foreach (string name in Enum.GetNames(_enumType)) {
System.Data (7)
fx\src\data\System\Data\Common\DbConnectionStringCommon.cs (7)
333Debug.Assert(Enum.GetNames(typeof(PoolBlockingPeriod)).Length == 3, "PoolBlockingPeriod enum has changed, update needed"); 360Debug.Assert(Enum.GetNames(typeof(PoolBlockingPeriod)).Length == 3, "PoolBlockingPeriod enum has changed, update needed"); 468Debug.Assert(Enum.GetNames(typeof(ApplicationIntent)).Length == 2, "ApplicationIntent enum has changed, update needed"); 490Debug.Assert(Enum.GetNames(typeof(ApplicationIntent)).Length == 2, "ApplicationIntent enum has changed, update needed"); 594Debug.Assert(Enum.GetNames(typeof(SqlAuthenticationMethod)).Length == 5, "SqlAuthenticationMethod enum has changed, update needed"); 660Debug.Assert(Enum.GetNames(typeof(SqlConnectionColumnEncryptionSetting)).Length == 2, "SqlConnectionColumnEncryptionSetting enum has changed, update needed"); 684Debug.Assert(Enum.GetNames(typeof(SqlAuthenticationMethod)).Length == 5, "SqlAuthenticationMethod enum has changed, update needed");
System.Data.Entity (6)
System\Data\Common\CommandTrees\Internal\ExpressionKeyGen.cs (1)
62var names = Enum.GetNames(typeof(DbExpressionKind));
System\Data\Mapping\ViewGeneration\ConfigViewGenerator.cs (1)
58int numEnums = Enum.GetNames(typeof(PerfType)).Length;
System\Data\Metadata\Converter.cs (2)
41foreach (string name in Enum.GetNames(typeof(ConcurrencyMode))) 57foreach (string name in Enum.GetNames(typeof(StoreGeneratedPattern)))
System\Data\Metadata\Edm\EnumType.cs (1)
100foreach (string name in Enum.GetNames(clrType))
System\Data\Metadata\Edm\MetadataItem_Static.cs (1)
282Enum.GetNames(typeof(PrimitiveTypeKind)));
System.Data.Linq (1)
SqlClient\SqlTypeSystemProvider.cs (1)
877if (!Enum.GetNames(typeof(SqlDbType)).Select(n => n.ToUpperInvariant()).Contains(typeName.ToUpperInvariant()))
System.Data.Services (1)
System\Data\Services\Epm\EpmHelper.cs (1)
246Debug.Assert(Enum.GetNames(typeof(SyndicationItemProperty)).Count() == 12, "Any addition to SyndicationItemPropery enum requires updating this method.");
System.Data.Services.Design (1)
parent\Server\System\Data\Services\Epm\EpmHelper.cs (1)
246Debug.Assert(Enum.GetNames(typeof(SyndicationItemProperty)).Count() == 12, "Any addition to SyndicationItemPropery enum requires updating this method.");
System.Runtime.Remoting (1)
metadata\wsdlwriter.cs (1)
1149String[] values = Enum.GetNames(type);
System.ServiceModel (2)
System\ServiceModel\Channels\HttpHeaderInfo.cs (2)
49AddKnownHeaders(Enum.GetNames(httpRequestHeaderType).Select(enumString => GetHeaderString(enumString)), true); 50AddKnownHeaders(Enum.GetNames(httpResponseHeaderType).Select(enumString => GetHeaderString(enumString)), false);
System.Web (2)
Configuration\SessionStateSection.cs (1)
473foreach (string name in Enum.GetNames(enumType)) {
UI\Util.cs (1)
972foreach (string n in Enum.GetNames(enumType)) {
System.Web.DataVisualization (2)
Common\DataManager\DataPoint.cs (2)
2907 string[] AttributesNames = CommonCustomProperties.GetNames(typeof(CommonCustomProperties)); 4682 string[] attributesNames = CommonCustomProperties.GetNames(typeof(CommonCustomProperties));
System.Web.Extensions (2)
Script\Services\WebServiceData.cs (1)
381enumData = new WebServiceEnumData(t.Name, t.Namespace, t, Enum.GetNames(t), Enum.GetValues(t), Enum.GetUnderlyingType(t) == typeof(ulong));
Script\Services\WebServiceTypeData.cs (1)
245typeData = new WebServiceEnumData(XmlConvert.DecodeName(qname.Name), XmlConvert.DecodeName(qname.Namespace), Enum.GetNames(type), Enum.GetValues(type), isUlong);
System.Windows.Forms.DataVisualization (2)
Common\DataManager\DataPoint.cs (2)
2907 string[] AttributesNames = CommonCustomProperties.GetNames(typeof(CommonCustomProperties)); 4682 string[] attributesNames = CommonCustomProperties.GetNames(typeof(CommonCustomProperties));
System.Workflow.Runtime (2)
Tracking\TrackingProfileSerializer.cs (2)
518string[] names = Enum.GetNames(typeof(ActivityExecutionStatus)); 609string[] names = Enum.GetNames(typeof(ComparisonOperator));
WindowsBase (1)
Base\MS\Internal\AssemblyHelper.cs (1)
61string[] names = Enum.GetNames(typeof(UncommonAssembly));