1 instantiation of TraitCollection
Microsoft.VisualStudio.TestPlatform.ObjectModel (1)
TestObject.cs (1)
343_traits ??= new TraitCollection(this);
24 references to TraitCollection
Microsoft.TestPlatform.CommunicationUtilities (20)
_generated\112\TestPlatformJsonContext.GetJsonTypeInfo.g.cs (1)
294if (type == typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TraitCollection))
_generated\57\TestPlatformJsonContext.TestCase.g.cs (3)
263var info10 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TraitCollection> 278AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestObject).GetProperty("Traits", InstanceMemberBindingFlags, null, typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TraitCollection), global::System.Array.Empty<global::System.Type>(), null), 281properties[10] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TraitCollection>(options, info10);
_generated\59\TestPlatformJsonContext.TestObject.g.cs (3)
74var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TraitCollection> 89AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestObject).GetProperty("Traits", InstanceMemberBindingFlags, null, typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TraitCollection), global::System.Array.Empty<global::System.Type>(), null), 92properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TraitCollection>(options, info1);
_generated\65\TestPlatformJsonContext.TestResult.g.cs (3)
318var info13 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TraitCollection> 333AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestObject).GetProperty("Traits", InstanceMemberBindingFlags, null, typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TraitCollection), global::System.Array.Empty<global::System.Type>(), null), 336properties[13] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TraitCollection>(options, info13);
_generated\68\TestPlatformJsonContext.TraitCollection.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TraitCollection>? _TraitCollection; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TraitCollection> TraitCollection 22get => _TraitCollection ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TraitCollection>)Options.GetTypeInfo(typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TraitCollection)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TraitCollection> Create_TraitCollection(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TraitCollection>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TraitCollection> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TraitCollection> 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIEnumerableInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TraitCollection, global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Trait>(options, info); 47private void TraitCollectionSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TraitCollection? value)
Microsoft.VisualStudio.TestPlatform.ObjectModel (2)
TestObject.cs (2)
337private TraitCollection? _traits; 339public TraitCollection Traits
vstest.console (1)
Processors\ListFullyQualifiedTestsArgumentProcessor.cs (1)
369private static Dictionary<string, List<string>> GetTraitsInTraitDictionary(Dictionary<string, List<string>> traitDictionary, TraitCollection traits)
vstest.console.arm64 (1)
src\vstest\src\vstest.console\Processors\ListFullyQualifiedTestsArgumentProcessor.cs (1)
369private static Dictionary<string, List<string>> GetTraitsInTraitDictionary(Dictionary<string, List<string>> traitDictionary, TraitCollection traits)