From 1fb6c9e7030c8a4e0c775b324aa4ba0b2ee6321d Mon Sep 17 00:00:00 2001 From: Andrew Arnott Date: Thu, 21 Jan 2021 08:48:45 -0700 Subject: [PATCH 1/3] Apply copyright header update --- .../Utils.cs | 3 ++- .../VSMEF001PropertyMustHaveSetter.cs | 3 ++- .../CreateContainerFactoryBootstrapFile.cs | 3 ++- .../ExceptionHelpers.cs | 3 ++- .../TypeForwarders.cs | 3 +++ .../TypeForwarders.cs | 3 ++- .../ArrayRental`1.cs | 3 ++- .../AttributeServices.cs | 3 ++- .../ByValueEquality+AssemblyNameComparer.cs | 3 ++- .../ByValueEquality+BufferComparer.cs | 3 ++- .../ByValueEquality.cs | 3 ++- .../CollectionServices.cs | 3 ++- .../ComposableCatalog.cs | 3 ++- .../ComposablePartDefinition.cs | 3 ++- .../ComposedPart.cs | 3 ++- .../ComposedPartDiagnostic.cs | 3 ++- .../CompositionConfiguration.cs | 3 ++- .../CompositionConstants.cs | 3 ++- .../CompositionFailedException.cs | 3 ++- .../CompressedUInt.cs | 3 ++- .../Configuration/AttributedPartDiscovery.cs | 3 ++- .../Configuration/AttributedPartDiscoveryV1.cs | 3 ++- .../Configuration/CachedCatalog.cs | 3 ++- .../Configuration/CachedComposition.cs | 3 ++- .../ExportMetadataViewInterfaceEmitProxy.cs | 3 ++- .../Configuration/MetadataViewGenerator.cs | 5 ++++- .../Configuration/MetadataViewImplProxy.cs | 3 ++- .../Configuration/NetFxAdapters.cs | 3 ++- .../Configuration/SerializationContextBase.cs | 5 ++++- .../ContractNameServices.cs | 3 ++- .../CreationPolicy.cs | 3 ++- .../DelegateServices.cs | 3 ++- .../DelegatingExportProvider.cs | 3 ++- src/Microsoft.VisualStudio.Composition/Dgml.cs | 3 ++- .../DiscoveredParts.cs | 3 ++- .../DiscoveryProgress.cs | 3 ++- .../DisposableWithAction.cs | 3 ++- src/Microsoft.VisualStudio.Composition/Export.cs | 3 ++- .../ExportDefinition.cs | 3 ++- .../ExportDefinitionBinding.cs | 3 ++- .../ExportFactory.cs | 3 ++- .../ExportMetadataValueImportConstraint.cs | 3 ++- .../ExportProvider+NonSharedExport.cs | 3 ++- .../ExportProvider+NonSharedLazy`2.cs | 3 ++- .../ExportProvider.cs | 3 ++- .../ExportTypeIdentityConstraint.cs | 3 ++- .../ExportedDelegate.cs | 3 ++- .../IAssemblyLoader.cs | 7 ++----- .../ICompositionCacheManager.cs | 3 ++- .../IDescriptiveToString.cs | 3 ++- .../IExportProviderFactory.cs | 3 ++- .../IFaultReportingExportProviderFactory.cs | 3 ++- .../IImportSatisfiabilityConstraint.cs | 3 ++- .../IMetadataViewProvider.cs | 3 ++- .../IRuntimeCompositionCacheManager.cs | 3 ++- .../ImportCardinality.cs | 3 ++- .../ImportDefinition.cs | 3 ++- .../ImportDefinitionBinding.cs | 3 ++- .../ImportMetadataViewConstraint.cs | 3 ++- .../IndentingTextWriter.cs | 3 ++- .../LazyMetadataWrapper.cs | 3 ++- .../LazyServices.cs | 3 ++- .../MetadataTokenType.cs | 3 ++- .../MetadataViewClassDefaultCtorProvider.cs | 3 ++- .../MetadataViewClassProvider.cs | 3 ++- .../NullableBool.cs | 3 ++- .../PartCreationPolicyConstraint.cs | 3 ++- .../PartDiscovery.cs | 3 ++- .../PartDiscoveryException.cs | 3 ++- .../PassthroughMetadataViewProvider.cs | 3 ++- .../Properties/AssemblyInfo.cs | 3 ++- .../Reflection/FieldRef.cs | 3 ++- .../Reflection/MemberRef.cs | 3 ++- .../Reflection/MethodRef.cs | 3 ++- .../Reflection/ParameterRef.cs | 3 ++- .../Reflection/PropertyRef.cs | 3 ++- .../Reflection/ResolverExtensions.cs | 3 ++- .../Reflection/SkipClrVisibilityChecks.cs | 3 ++- .../Reflection/StrongAssemblyIdentity.cs | 5 ++++- .../Reflection/TypeRef.cs | 3 ++- .../Reflection/TypeRefFlags.cs | 3 ++- .../ReflectionHelpers.cs | 3 ++- src/Microsoft.VisualStudio.Composition/Rental`1.cs | 3 ++- src/Microsoft.VisualStudio.Composition/Resolver.cs | 3 ++- .../RuntimeComposition.cs | 3 ++- ...timeExportProviderFactory+RuntimeExportProvider.cs | 3 ++- .../RuntimeExportProviderFactory.cs | 3 ++- .../StandardAssemblyLoader.cs | 7 ++----- .../UniquePropertyNameComparer.cs | 3 ++- src/Microsoft.VisualStudio.Composition/Utilities.cs | 3 ++- src/stylecop.json | 11 ++++++++--- .../Helpers/CSharpCodeFixVerifier`2+Test.cs | 3 ++- .../Helpers/CSharpCodeFixVerifier`2.cs | 3 ++- .../Helpers/ReferencesHelper.cs | 3 ++- .../Helpers/VisualBasicCodeFixVerifier`2+Test.cs | 3 ++- .../Helpers/VisualBasicCodeFixVerifier`2.cs | 3 ++- .../VSMEF001PropertyMustHaveSetterTests.cs | 3 +++ .../ExternalExport.cs | 5 ++++- .../ExternalExportOnMember.cs | 5 ++++- .../ExternalExportWithExternalMetadataType.cs | 5 ++++- .../ExternalExportWithLazy.cs | 5 ++++- .../OpenGenericExport`1.cs | 5 ++++- .../PartThatImportsExportedMember.cs | 3 ++- ...rtThatLazyImportsExportWithMetadataOfCustomType.cs | 5 ++++- ...tLazyImportsExportWithTypeMetadataViaDictionary.cs | 5 ++++- ...atLazyImportsExportWithTypeMetadataViaTMetadata.cs | 5 ++++- .../AnExportWithMetadataTypeValue.cs | 3 ++- .../CustomMetadataAttribute.cs | 3 ++- .../ExportWithCustomMetadata.cs | 3 ++- .../ExportedMember.cs | 3 ++- .../YetAnotherExport.cs | 3 ++- .../AConditionalClass.cs | 5 ++++- .../AssemblyInfo.cs | 3 ++- .../DiscoverablePart1.cs | 3 ++- .../DiscoverablePart2.cs | 3 ++- .../IInternalMetadataView.cs | 3 ++- .../ISomeInterface.cs | 3 ++- .../NestedPart.cs | 3 ++- .../NonDiscoverablePart.cs | 3 ++- .../NonDiscoverablePartV1.cs | 3 ++- .../NonDiscoverablePartV2.cs | 3 ++- .../NonPart.cs | 3 ++- .../SomeEnum.cs | 3 ++- ...meMetadataAttributeFromAnotherAssemblyAttribute.cs | 5 ++++- .../TypeWithMissingAttribute.cs | 3 ++- .../IBlankInterface.cs | 3 ++- .../SomeOtherEnum.cs | 3 ++- .../GoodType.cs | 3 ++- .../PartInAssemblyWithBadTypes.cs | 3 ++- .../TypeWithMissingBaseType.cs | 3 ++- .../PartThatImportsLazyOfEmbeddedType.cs | 3 ++- .../NotFoundAttribute.cs | 3 ++- .../NotFoundBaseType.cs | 3 ++- .../PartThatImportsLazyOfNonEmbeddedType.cs | 3 ++- .../AssemblyInfo.cs | 3 +++ .../IVsReference.cs | 5 ++++- .../ImportedFromTypeLibAttribute.cs | 3 +++ .../AmbiguousPartNamesTests.cs | 3 ++- .../AssembliesLazyLoadedDataFileCacheTests.cs | 3 ++- .../AssembliesLazyLoadedTests.cs | 3 ++- .../AssemblyReferencingTests.cs | 3 ++- .../AttributedPartDiscoveryCombinedTests.cs | 3 ++- .../AttributedPartDiscoveryTestBase.cs | 3 ++- .../AttributedPartDiscoveryTests.cs | 3 ++- .../AttributedPartDiscoveryV1Tests.cs | 3 ++- .../BaseGenericTypeTests.cs | 3 ++- .../ByValueEqualityTests.cs | 3 ++- .../CacheAndReloadTests.cs | 3 ++- .../CacheResiliencyTests.cs | 3 ++- .../CardinalityMismatchTests.cs | 3 ++- .../CircularDependencyTests.cs | 3 ++- .../ClosedGenericExportedTypeTests.cs | 3 ++- .../ComposableCatalogTests.cs | 3 ++- .../ComposableCatalogTests2.cs | 3 ++- .../ComposablePartDefinitionTests.cs | 3 ++- .../CompositionConfigurationTests.cs | 3 ++- .../CompositionEngines.cs | 3 ++- .../CompositionFailedExceptionTests.cs | 3 ++- .../CompositionServiceTests.cs | 3 ++- .../CompressedUIntTests.cs | 3 ++- .../ContainerIsolationTests.cs | 3 ++- .../CustomMetadataAttributeTests.cs | 3 ++- .../CustomMetadataValueTests.cs | 3 ++- .../DataFileCacheAndReloadTests.cs | 3 ++- .../DelegateServicesTests.cs | 3 ++- .../DelegatingExportProviderTests.cs | 3 ++- .../DgmlProductionTests.cs | 3 ++- .../DisposablePartsTests.cs | 3 ++- .../DynamicImportTests.cs | 3 ++- .../EmbeddableTypesTests.cs | 3 ++- .../EmbeddedableTypesMixedTests.cs | 3 ++- .../ExplicitImportIdentityTypeTests.cs | 3 ++- .../ExportDefinitionTests.cs | 3 ++- ...FactoryOfNonSharedImportingSharingBoundaryTests.cs | 3 ++- .../ExportFactoryTests.cs | 3 ++- .../ExportImportViaBaseType.cs | 3 ++- .../ExportMetadataMultipleTests.cs | 3 ++- .../ExportMetadataNameCollisionTests.cs | 3 ++- .../ExportMetadataNonStringValuesTests.cs | 3 ++- .../ExportMetadataTests.cs | 3 ++- .../ExportMetadataViewNameCollisionTests.cs | 3 ++- .../ExportProviderTests.cs | 3 ++- .../ExportingMembersTests.cs | 3 ++- .../FaultyPartsTests.cs | 3 ++- .../GenericImportTests.cs | 3 ++- .../GuidMetadataTests.cs | 3 ++- .../IContainer.cs | 3 ++- .../ImportDefinitionTests.cs | 3 ++- .../ImportManyTests.cs | 3 ++- .../ImportMetadataConstraintTests.cs | 3 ++- .../ImportOfTResolvedByDerivedClassTests.cs | 3 ++- .../ImportSiteCreationPolicyTests.cs | 3 ++- .../ImportedExportProviderTests.cs | 3 ++- .../ImportingConstructorTests.cs | 3 ++- .../InheritedExportTests.cs | 3 ++- .../InheritedImportTests.cs | 3 ++- .../InvalidGraphTests.cs | 3 ++- .../LazyImportTests.cs | 3 ++- .../LazyServicesTests.cs | 3 ++- .../MefV1ExportProviderAdapterTests.cs | 3 ++- .../MetadataViewClassDefaultCtorProviderTests.cs | 3 ++- .../MetadataViewImplementationTests.cs | 3 ++- .../MixedGenericExportsTests.cs | 3 ++- .../MultipleExportsOnPartTests.cs | 3 ++- .../MultipleSharingBoundariesTests.cs | 3 ++- .../NameAndAgeAttribute.cs | 3 ++- .../NamedTypedExportTests.cs | 3 ++- .../NestedTypeTests.cs | 3 ++- .../NonPublicImportsExportsTests.cs | 3 ++- .../NonSharedPartTests.cs | 3 ++- .../ObsoleteAttributeTests.cs | 3 ++- .../OnImportsSatisfiedTests.cs | 3 ++- .../OpenGenericExportTests.cs | 3 ++- .../PartDiscoveryExceptionTests.cs | 3 ++- .../PartDiscoveryTests.cs | 3 ++- .../ProjectSystemMockTests.cs | 3 ++- .../Reflection/MethodRefTests.cs | 3 ++- .../Reflection/TypeRefTests.cs | 3 ++- .../RejectionTests.cs | 3 ++- .../ReportFaultDelegateTests.cs | 3 ++- .../RuntimeCompositionTests.cs | 5 ++++- .../SharedNoBoundaryExportsTests.cs | 3 ++- .../SharingBoundaryAcquiresSharedRootScopeExport.cs | 3 ++- .../SharingBoundaryInvalidTests.cs | 3 ++- .../SharingBoundaryMixedAttributesTests.cs | 3 ++- .../SharingBoundaryTwoPathsToPartTests.cs | 3 ++- .../SharingBoundaryWithMixedMefParts.cs | 3 ++- .../SharingBoundaryWithNestedBoundaryFactoryTests.cs | 3 ++- ...haringBoundaryWithNonNestedBoundaryFactoryTests.cs | 3 ++- .../SharingBoundaryWithNonSharedTests.cs | 3 ++- .../SharingBoundaryWithSharedTests.cs | 3 ++- .../SimpleImportExportTests.cs | 3 ++- .../StaticFactoryMethodTests.cs | 3 ++- .../StaticMemberExportsTests.cs | 3 ++- .../StrongAssemblyIdentityTests.cs | 3 ++- .../TestUtilities.cs | 3 ++- .../ThreadSafetyTests.cs | 3 ++- .../ThrowingPartsTests.cs | 3 ++- .../XunitExtensions/AssertEx.cs | 5 ++++- .../XunitExtensions/AssertFailedException.cs | 5 ++++- .../XunitExtensions/CatalogScrambler.cs | 3 ++- .../XunitExtensions/LegacyMefTestCaseRunner.cs | 3 ++- .../XunitExtensions/Mef3DiscoveryTestCaseRunner.cs | 3 ++- .../XunitExtensions/Mef3TestCaseRunner.cs | 3 ++- .../XunitExtensions/MefFactAttribute.cs | 3 ++- .../XunitExtensions/MefFactDiscoverer.cs | 3 ++- .../XunitExtensions/Traits.cs | 3 ++- 247 files changed, 538 insertions(+), 253 deletions(-) diff --git a/src/Microsoft.VisualStudio.Composition.Analyzers/Utils.cs b/src/Microsoft.VisualStudio.Composition.Analyzers/Utils.cs index f9b7b2c72..e5956dda1 100644 --- a/src/Microsoft.VisualStudio.Composition.Analyzers/Utils.cs +++ b/src/Microsoft.VisualStudio.Composition.Analyzers/Utils.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Analyzers { diff --git a/src/Microsoft.VisualStudio.Composition.Analyzers/VSMEF001PropertyMustHaveSetter.cs b/src/Microsoft.VisualStudio.Composition.Analyzers/VSMEF001PropertyMustHaveSetter.cs index cb920aca8..555e9fa53 100644 --- a/src/Microsoft.VisualStudio.Composition.Analyzers/VSMEF001PropertyMustHaveSetter.cs +++ b/src/Microsoft.VisualStudio.Composition.Analyzers/VSMEF001PropertyMustHaveSetter.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Analyzers { diff --git a/src/Microsoft.VisualStudio.Composition.AppHost/CreateContainerFactoryBootstrapFile.cs b/src/Microsoft.VisualStudio.Composition.AppHost/CreateContainerFactoryBootstrapFile.cs index 42239ff43..c99994bdd 100644 --- a/src/Microsoft.VisualStudio.Composition.AppHost/CreateContainerFactoryBootstrapFile.cs +++ b/src/Microsoft.VisualStudio.Composition.AppHost/CreateContainerFactoryBootstrapFile.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.AppHost { diff --git a/src/Microsoft.VisualStudio.Composition.AppHost/ExceptionHelpers.cs b/src/Microsoft.VisualStudio.Composition.AppHost/ExceptionHelpers.cs index 5c45681b5..ec9910919 100644 --- a/src/Microsoft.VisualStudio.Composition.AppHost/ExceptionHelpers.cs +++ b/src/Microsoft.VisualStudio.Composition.AppHost/ExceptionHelpers.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.AppHost { diff --git a/src/Microsoft.VisualStudio.Composition.Configuration/TypeForwarders.cs b/src/Microsoft.VisualStudio.Composition.Configuration/TypeForwarders.cs index 3a04d3c16..891b2c583 100644 --- a/src/Microsoft.VisualStudio.Composition.Configuration/TypeForwarders.cs +++ b/src/Microsoft.VisualStudio.Composition.Configuration/TypeForwarders.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System.Runtime.CompilerServices; using Microsoft.VisualStudio.Composition; diff --git a/src/Microsoft.VisualStudio.Composition.NetFxAttributes/TypeForwarders.cs b/src/Microsoft.VisualStudio.Composition.NetFxAttributes/TypeForwarders.cs index 42bd3f810..07c88665c 100644 --- a/src/Microsoft.VisualStudio.Composition.NetFxAttributes/TypeForwarders.cs +++ b/src/Microsoft.VisualStudio.Composition.NetFxAttributes/TypeForwarders.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.ComponentModel.Composition; using System.Runtime.CompilerServices; diff --git a/src/Microsoft.VisualStudio.Composition/ArrayRental`1.cs b/src/Microsoft.VisualStudio.Composition/ArrayRental`1.cs index 509d94912..9d2786ca4 100644 --- a/src/Microsoft.VisualStudio.Composition/ArrayRental`1.cs +++ b/src/Microsoft.VisualStudio.Composition/ArrayRental`1.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/AttributeServices.cs b/src/Microsoft.VisualStudio.Composition/AttributeServices.cs index 576a1ea3c..6a3965b1a 100644 --- a/src/Microsoft.VisualStudio.Composition/AttributeServices.cs +++ b/src/Microsoft.VisualStudio.Composition/AttributeServices.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/ByValueEquality+AssemblyNameComparer.cs b/src/Microsoft.VisualStudio.Composition/ByValueEquality+AssemblyNameComparer.cs index f72ba575a..b359ccd1b 100644 --- a/src/Microsoft.VisualStudio.Composition/ByValueEquality+AssemblyNameComparer.cs +++ b/src/Microsoft.VisualStudio.Composition/ByValueEquality+AssemblyNameComparer.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/ByValueEquality+BufferComparer.cs b/src/Microsoft.VisualStudio.Composition/ByValueEquality+BufferComparer.cs index d2a5204ef..d6cfb0381 100644 --- a/src/Microsoft.VisualStudio.Composition/ByValueEquality+BufferComparer.cs +++ b/src/Microsoft.VisualStudio.Composition/ByValueEquality+BufferComparer.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/ByValueEquality.cs b/src/Microsoft.VisualStudio.Composition/ByValueEquality.cs index a672108c4..4967c41ff 100644 --- a/src/Microsoft.VisualStudio.Composition/ByValueEquality.cs +++ b/src/Microsoft.VisualStudio.Composition/ByValueEquality.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/CollectionServices.cs b/src/Microsoft.VisualStudio.Composition/CollectionServices.cs index e843a56a7..ae50a4144 100644 --- a/src/Microsoft.VisualStudio.Composition/CollectionServices.cs +++ b/src/Microsoft.VisualStudio.Composition/CollectionServices.cs @@ -1,4 +1,5 @@ -// This file originated from System.ComponentModel.Composition.dll +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/ComposableCatalog.cs b/src/Microsoft.VisualStudio.Composition/ComposableCatalog.cs index 332997fcf..70312d0bc 100644 --- a/src/Microsoft.VisualStudio.Composition/ComposableCatalog.cs +++ b/src/Microsoft.VisualStudio.Composition/ComposableCatalog.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/ComposablePartDefinition.cs b/src/Microsoft.VisualStudio.Composition/ComposablePartDefinition.cs index ff24eccc6..ff027f87b 100644 --- a/src/Microsoft.VisualStudio.Composition/ComposablePartDefinition.cs +++ b/src/Microsoft.VisualStudio.Composition/ComposablePartDefinition.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/ComposedPart.cs b/src/Microsoft.VisualStudio.Composition/ComposedPart.cs index ad0409ee5..66f0bb223 100644 --- a/src/Microsoft.VisualStudio.Composition/ComposedPart.cs +++ b/src/Microsoft.VisualStudio.Composition/ComposedPart.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/ComposedPartDiagnostic.cs b/src/Microsoft.VisualStudio.Composition/ComposedPartDiagnostic.cs index a51f95062..df6155dce 100644 --- a/src/Microsoft.VisualStudio.Composition/ComposedPartDiagnostic.cs +++ b/src/Microsoft.VisualStudio.Composition/ComposedPartDiagnostic.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/CompositionConfiguration.cs b/src/Microsoft.VisualStudio.Composition/CompositionConfiguration.cs index 01c54a805..103b56e41 100644 --- a/src/Microsoft.VisualStudio.Composition/CompositionConfiguration.cs +++ b/src/Microsoft.VisualStudio.Composition/CompositionConfiguration.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/CompositionConstants.cs b/src/Microsoft.VisualStudio.Composition/CompositionConstants.cs index 9a31b64e4..195bcb2b9 100644 --- a/src/Microsoft.VisualStudio.Composition/CompositionConstants.cs +++ b/src/Microsoft.VisualStudio.Composition/CompositionConstants.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/CompositionFailedException.cs b/src/Microsoft.VisualStudio.Composition/CompositionFailedException.cs index 071422d15..8ced0a6d7 100644 --- a/src/Microsoft.VisualStudio.Composition/CompositionFailedException.cs +++ b/src/Microsoft.VisualStudio.Composition/CompositionFailedException.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/CompressedUInt.cs b/src/Microsoft.VisualStudio.Composition/CompressedUInt.cs index 1f87801f2..c8e0cc777 100644 --- a/src/Microsoft.VisualStudio.Composition/CompressedUInt.cs +++ b/src/Microsoft.VisualStudio.Composition/CompressedUInt.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/Configuration/AttributedPartDiscovery.cs b/src/Microsoft.VisualStudio.Composition/Configuration/AttributedPartDiscovery.cs index 4f1cab544..2f149756e 100644 --- a/src/Microsoft.VisualStudio.Composition/Configuration/AttributedPartDiscovery.cs +++ b/src/Microsoft.VisualStudio.Composition/Configuration/AttributedPartDiscovery.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/Configuration/AttributedPartDiscoveryV1.cs b/src/Microsoft.VisualStudio.Composition/Configuration/AttributedPartDiscoveryV1.cs index f6f6469bf..cabddb224 100644 --- a/src/Microsoft.VisualStudio.Composition/Configuration/AttributedPartDiscoveryV1.cs +++ b/src/Microsoft.VisualStudio.Composition/Configuration/AttributedPartDiscoveryV1.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/Configuration/CachedCatalog.cs b/src/Microsoft.VisualStudio.Composition/Configuration/CachedCatalog.cs index d9ec9c019..9de4e1512 100644 --- a/src/Microsoft.VisualStudio.Composition/Configuration/CachedCatalog.cs +++ b/src/Microsoft.VisualStudio.Composition/Configuration/CachedCatalog.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/Configuration/CachedComposition.cs b/src/Microsoft.VisualStudio.Composition/Configuration/CachedComposition.cs index 6d80070a2..4d944454c 100644 --- a/src/Microsoft.VisualStudio.Composition/Configuration/CachedComposition.cs +++ b/src/Microsoft.VisualStudio.Composition/Configuration/CachedComposition.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/Configuration/ExportMetadataViewInterfaceEmitProxy.cs b/src/Microsoft.VisualStudio.Composition/Configuration/ExportMetadataViewInterfaceEmitProxy.cs index 4c9c3dbbf..60502ad82 100644 --- a/src/Microsoft.VisualStudio.Composition/Configuration/ExportMetadataViewInterfaceEmitProxy.cs +++ b/src/Microsoft.VisualStudio.Composition/Configuration/ExportMetadataViewInterfaceEmitProxy.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/Configuration/MetadataViewGenerator.cs b/src/Microsoft.VisualStudio.Composition/Configuration/MetadataViewGenerator.cs index b7eb8831d..4fc9df151 100644 --- a/src/Microsoft.VisualStudio.Composition/Configuration/MetadataViewGenerator.cs +++ b/src/Microsoft.VisualStudio.Composition/Configuration/MetadataViewGenerator.cs @@ -1,4 +1,7 @@ -/******************************************************** +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +/******************************************************** * * * © Copyright (C) Microsoft. All rights reserved. * * * diff --git a/src/Microsoft.VisualStudio.Composition/Configuration/MetadataViewImplProxy.cs b/src/Microsoft.VisualStudio.Composition/Configuration/MetadataViewImplProxy.cs index 7d1814d85..f81694ca5 100644 --- a/src/Microsoft.VisualStudio.Composition/Configuration/MetadataViewImplProxy.cs +++ b/src/Microsoft.VisualStudio.Composition/Configuration/MetadataViewImplProxy.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/Configuration/NetFxAdapters.cs b/src/Microsoft.VisualStudio.Composition/Configuration/NetFxAdapters.cs index 64704c2b9..ce60b60db 100644 --- a/src/Microsoft.VisualStudio.Composition/Configuration/NetFxAdapters.cs +++ b/src/Microsoft.VisualStudio.Composition/Configuration/NetFxAdapters.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/Configuration/SerializationContextBase.cs b/src/Microsoft.VisualStudio.Composition/Configuration/SerializationContextBase.cs index 9ff73ce44..e2c6db51c 100644 --- a/src/Microsoft.VisualStudio.Composition/Configuration/SerializationContextBase.cs +++ b/src/Microsoft.VisualStudio.Composition/Configuration/SerializationContextBase.cs @@ -1,4 +1,7 @@ -#if DEBUG +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +#if DEBUG ////#define TRACESTATS ////#define TRACESERIALIZATION #endif diff --git a/src/Microsoft.VisualStudio.Composition/ContractNameServices.cs b/src/Microsoft.VisualStudio.Composition/ContractNameServices.cs index c9c73cb3a..2192540e9 100644 --- a/src/Microsoft.VisualStudio.Composition/ContractNameServices.cs +++ b/src/Microsoft.VisualStudio.Composition/ContractNameServices.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/CreationPolicy.cs b/src/Microsoft.VisualStudio.Composition/CreationPolicy.cs index 2f05ca326..a8eca319b 100644 --- a/src/Microsoft.VisualStudio.Composition/CreationPolicy.cs +++ b/src/Microsoft.VisualStudio.Composition/CreationPolicy.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/DelegateServices.cs b/src/Microsoft.VisualStudio.Composition/DelegateServices.cs index 31cc20bdb..f2f28a844 100644 --- a/src/Microsoft.VisualStudio.Composition/DelegateServices.cs +++ b/src/Microsoft.VisualStudio.Composition/DelegateServices.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/DelegatingExportProvider.cs b/src/Microsoft.VisualStudio.Composition/DelegatingExportProvider.cs index a1e778bfb..69ecbc1ff 100644 --- a/src/Microsoft.VisualStudio.Composition/DelegatingExportProvider.cs +++ b/src/Microsoft.VisualStudio.Composition/DelegatingExportProvider.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/Dgml.cs b/src/Microsoft.VisualStudio.Composition/Dgml.cs index 0eeb64e33..ca3473a4e 100644 --- a/src/Microsoft.VisualStudio.Composition/Dgml.cs +++ b/src/Microsoft.VisualStudio.Composition/Dgml.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/DiscoveredParts.cs b/src/Microsoft.VisualStudio.Composition/DiscoveredParts.cs index f73268d5b..76788161e 100644 --- a/src/Microsoft.VisualStudio.Composition/DiscoveredParts.cs +++ b/src/Microsoft.VisualStudio.Composition/DiscoveredParts.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/DiscoveryProgress.cs b/src/Microsoft.VisualStudio.Composition/DiscoveryProgress.cs index 9a4171bc8..24dafba3f 100644 --- a/src/Microsoft.VisualStudio.Composition/DiscoveryProgress.cs +++ b/src/Microsoft.VisualStudio.Composition/DiscoveryProgress.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/DisposableWithAction.cs b/src/Microsoft.VisualStudio.Composition/DisposableWithAction.cs index e48ec4812..2ba9491cb 100644 --- a/src/Microsoft.VisualStudio.Composition/DisposableWithAction.cs +++ b/src/Microsoft.VisualStudio.Composition/DisposableWithAction.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/Export.cs b/src/Microsoft.VisualStudio.Composition/Export.cs index 39f62d3c3..0cea89bcd 100644 --- a/src/Microsoft.VisualStudio.Composition/Export.cs +++ b/src/Microsoft.VisualStudio.Composition/Export.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/ExportDefinition.cs b/src/Microsoft.VisualStudio.Composition/ExportDefinition.cs index 390e8bd22..d99e034b1 100644 --- a/src/Microsoft.VisualStudio.Composition/ExportDefinition.cs +++ b/src/Microsoft.VisualStudio.Composition/ExportDefinition.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/ExportDefinitionBinding.cs b/src/Microsoft.VisualStudio.Composition/ExportDefinitionBinding.cs index 257d38678..7edd8f6c4 100644 --- a/src/Microsoft.VisualStudio.Composition/ExportDefinitionBinding.cs +++ b/src/Microsoft.VisualStudio.Composition/ExportDefinitionBinding.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/ExportFactory.cs b/src/Microsoft.VisualStudio.Composition/ExportFactory.cs index f1af62804..4ce212ef3 100644 --- a/src/Microsoft.VisualStudio.Composition/ExportFactory.cs +++ b/src/Microsoft.VisualStudio.Composition/ExportFactory.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/ExportMetadataValueImportConstraint.cs b/src/Microsoft.VisualStudio.Composition/ExportMetadataValueImportConstraint.cs index ad362b9c1..a54b0ef09 100644 --- a/src/Microsoft.VisualStudio.Composition/ExportMetadataValueImportConstraint.cs +++ b/src/Microsoft.VisualStudio.Composition/ExportMetadataValueImportConstraint.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/ExportProvider+NonSharedExport.cs b/src/Microsoft.VisualStudio.Composition/ExportProvider+NonSharedExport.cs index 080ac1f56..acb1acb4e 100644 --- a/src/Microsoft.VisualStudio.Composition/ExportProvider+NonSharedExport.cs +++ b/src/Microsoft.VisualStudio.Composition/ExportProvider+NonSharedExport.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/ExportProvider+NonSharedLazy`2.cs b/src/Microsoft.VisualStudio.Composition/ExportProvider+NonSharedLazy`2.cs index a3dd2e2ae..a8ad3ee7a 100644 --- a/src/Microsoft.VisualStudio.Composition/ExportProvider+NonSharedLazy`2.cs +++ b/src/Microsoft.VisualStudio.Composition/ExportProvider+NonSharedLazy`2.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/ExportProvider.cs b/src/Microsoft.VisualStudio.Composition/ExportProvider.cs index 688ebfae7..9dbb51910 100644 --- a/src/Microsoft.VisualStudio.Composition/ExportProvider.cs +++ b/src/Microsoft.VisualStudio.Composition/ExportProvider.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/ExportTypeIdentityConstraint.cs b/src/Microsoft.VisualStudio.Composition/ExportTypeIdentityConstraint.cs index 4976288a2..c2e681711 100644 --- a/src/Microsoft.VisualStudio.Composition/ExportTypeIdentityConstraint.cs +++ b/src/Microsoft.VisualStudio.Composition/ExportTypeIdentityConstraint.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/ExportedDelegate.cs b/src/Microsoft.VisualStudio.Composition/ExportedDelegate.cs index a9448aced..fb7de736d 100644 --- a/src/Microsoft.VisualStudio.Composition/ExportedDelegate.cs +++ b/src/Microsoft.VisualStudio.Composition/ExportedDelegate.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/IAssemblyLoader.cs b/src/Microsoft.VisualStudio.Composition/IAssemblyLoader.cs index b230437aa..977d8089a 100644 --- a/src/Microsoft.VisualStudio.Composition/IAssemblyLoader.cs +++ b/src/Microsoft.VisualStudio.Composition/IAssemblyLoader.cs @@ -1,8 +1,5 @@ -/******************************************************** -* * -* © Copyright (C) Microsoft. All rights reserved. * -* * -*********************************************************/ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/ICompositionCacheManager.cs b/src/Microsoft.VisualStudio.Composition/ICompositionCacheManager.cs index 6bbda2bc7..dad3dcfec 100644 --- a/src/Microsoft.VisualStudio.Composition/ICompositionCacheManager.cs +++ b/src/Microsoft.VisualStudio.Composition/ICompositionCacheManager.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/IDescriptiveToString.cs b/src/Microsoft.VisualStudio.Composition/IDescriptiveToString.cs index ae7a68add..48a2eb322 100644 --- a/src/Microsoft.VisualStudio.Composition/IDescriptiveToString.cs +++ b/src/Microsoft.VisualStudio.Composition/IDescriptiveToString.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/IExportProviderFactory.cs b/src/Microsoft.VisualStudio.Composition/IExportProviderFactory.cs index 26b3431eb..303f05dd8 100644 --- a/src/Microsoft.VisualStudio.Composition/IExportProviderFactory.cs +++ b/src/Microsoft.VisualStudio.Composition/IExportProviderFactory.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/IFaultReportingExportProviderFactory.cs b/src/Microsoft.VisualStudio.Composition/IFaultReportingExportProviderFactory.cs index 64dbb0f87..0734b203c 100644 --- a/src/Microsoft.VisualStudio.Composition/IFaultReportingExportProviderFactory.cs +++ b/src/Microsoft.VisualStudio.Composition/IFaultReportingExportProviderFactory.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/IImportSatisfiabilityConstraint.cs b/src/Microsoft.VisualStudio.Composition/IImportSatisfiabilityConstraint.cs index 3e8621c96..502473c4a 100644 --- a/src/Microsoft.VisualStudio.Composition/IImportSatisfiabilityConstraint.cs +++ b/src/Microsoft.VisualStudio.Composition/IImportSatisfiabilityConstraint.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/IMetadataViewProvider.cs b/src/Microsoft.VisualStudio.Composition/IMetadataViewProvider.cs index f998b25c0..83f86b263 100644 --- a/src/Microsoft.VisualStudio.Composition/IMetadataViewProvider.cs +++ b/src/Microsoft.VisualStudio.Composition/IMetadataViewProvider.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/IRuntimeCompositionCacheManager.cs b/src/Microsoft.VisualStudio.Composition/IRuntimeCompositionCacheManager.cs index b40d1288d..d0e6227db 100644 --- a/src/Microsoft.VisualStudio.Composition/IRuntimeCompositionCacheManager.cs +++ b/src/Microsoft.VisualStudio.Composition/IRuntimeCompositionCacheManager.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/ImportCardinality.cs b/src/Microsoft.VisualStudio.Composition/ImportCardinality.cs index fe721d8e5..399cd9529 100644 --- a/src/Microsoft.VisualStudio.Composition/ImportCardinality.cs +++ b/src/Microsoft.VisualStudio.Composition/ImportCardinality.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/ImportDefinition.cs b/src/Microsoft.VisualStudio.Composition/ImportDefinition.cs index bba20c7e3..8b92afcb4 100644 --- a/src/Microsoft.VisualStudio.Composition/ImportDefinition.cs +++ b/src/Microsoft.VisualStudio.Composition/ImportDefinition.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/ImportDefinitionBinding.cs b/src/Microsoft.VisualStudio.Composition/ImportDefinitionBinding.cs index 851881d87..f811c9d00 100644 --- a/src/Microsoft.VisualStudio.Composition/ImportDefinitionBinding.cs +++ b/src/Microsoft.VisualStudio.Composition/ImportDefinitionBinding.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/ImportMetadataViewConstraint.cs b/src/Microsoft.VisualStudio.Composition/ImportMetadataViewConstraint.cs index 957399478..b4e9e5cdd 100644 --- a/src/Microsoft.VisualStudio.Composition/ImportMetadataViewConstraint.cs +++ b/src/Microsoft.VisualStudio.Composition/ImportMetadataViewConstraint.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/IndentingTextWriter.cs b/src/Microsoft.VisualStudio.Composition/IndentingTextWriter.cs index 5c0c49bea..52233ec56 100644 --- a/src/Microsoft.VisualStudio.Composition/IndentingTextWriter.cs +++ b/src/Microsoft.VisualStudio.Composition/IndentingTextWriter.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/LazyMetadataWrapper.cs b/src/Microsoft.VisualStudio.Composition/LazyMetadataWrapper.cs index 34391848a..76e28d9d3 100644 --- a/src/Microsoft.VisualStudio.Composition/LazyMetadataWrapper.cs +++ b/src/Microsoft.VisualStudio.Composition/LazyMetadataWrapper.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/LazyServices.cs b/src/Microsoft.VisualStudio.Composition/LazyServices.cs index f4dbd6505..f1ab6687b 100644 --- a/src/Microsoft.VisualStudio.Composition/LazyServices.cs +++ b/src/Microsoft.VisualStudio.Composition/LazyServices.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/MetadataTokenType.cs b/src/Microsoft.VisualStudio.Composition/MetadataTokenType.cs index 410741511..c644cfe21 100644 --- a/src/Microsoft.VisualStudio.Composition/MetadataTokenType.cs +++ b/src/Microsoft.VisualStudio.Composition/MetadataTokenType.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/MetadataViewClassDefaultCtorProvider.cs b/src/Microsoft.VisualStudio.Composition/MetadataViewClassDefaultCtorProvider.cs index bc1981374..a80e80274 100644 --- a/src/Microsoft.VisualStudio.Composition/MetadataViewClassDefaultCtorProvider.cs +++ b/src/Microsoft.VisualStudio.Composition/MetadataViewClassDefaultCtorProvider.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/MetadataViewClassProvider.cs b/src/Microsoft.VisualStudio.Composition/MetadataViewClassProvider.cs index 8d6d256a7..5cd53f045 100644 --- a/src/Microsoft.VisualStudio.Composition/MetadataViewClassProvider.cs +++ b/src/Microsoft.VisualStudio.Composition/MetadataViewClassProvider.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/NullableBool.cs b/src/Microsoft.VisualStudio.Composition/NullableBool.cs index 5dcf803e7..f2fcf6a5d 100644 --- a/src/Microsoft.VisualStudio.Composition/NullableBool.cs +++ b/src/Microsoft.VisualStudio.Composition/NullableBool.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/PartCreationPolicyConstraint.cs b/src/Microsoft.VisualStudio.Composition/PartCreationPolicyConstraint.cs index afe884534..ce17dfe7d 100644 --- a/src/Microsoft.VisualStudio.Composition/PartCreationPolicyConstraint.cs +++ b/src/Microsoft.VisualStudio.Composition/PartCreationPolicyConstraint.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/PartDiscovery.cs b/src/Microsoft.VisualStudio.Composition/PartDiscovery.cs index 003661946..92c1375d4 100644 --- a/src/Microsoft.VisualStudio.Composition/PartDiscovery.cs +++ b/src/Microsoft.VisualStudio.Composition/PartDiscovery.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/PartDiscoveryException.cs b/src/Microsoft.VisualStudio.Composition/PartDiscoveryException.cs index 35bee6a59..314b895d8 100644 --- a/src/Microsoft.VisualStudio.Composition/PartDiscoveryException.cs +++ b/src/Microsoft.VisualStudio.Composition/PartDiscoveryException.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/PassthroughMetadataViewProvider.cs b/src/Microsoft.VisualStudio.Composition/PassthroughMetadataViewProvider.cs index ee3b21b01..6b822c26f 100644 --- a/src/Microsoft.VisualStudio.Composition/PassthroughMetadataViewProvider.cs +++ b/src/Microsoft.VisualStudio.Composition/PassthroughMetadataViewProvider.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/Properties/AssemblyInfo.cs b/src/Microsoft.VisualStudio.Composition/Properties/AssemblyInfo.cs index 101a365dd..e04f99b28 100644 --- a/src/Microsoft.VisualStudio.Composition/Properties/AssemblyInfo.cs +++ b/src/Microsoft.VisualStudio.Composition/Properties/AssemblyInfo.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Resources; diff --git a/src/Microsoft.VisualStudio.Composition/Reflection/FieldRef.cs b/src/Microsoft.VisualStudio.Composition/Reflection/FieldRef.cs index 3a3e78dd8..373edd63f 100644 --- a/src/Microsoft.VisualStudio.Composition/Reflection/FieldRef.cs +++ b/src/Microsoft.VisualStudio.Composition/Reflection/FieldRef.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Reflection { diff --git a/src/Microsoft.VisualStudio.Composition/Reflection/MemberRef.cs b/src/Microsoft.VisualStudio.Composition/Reflection/MemberRef.cs index afbb1b3a8..d9b8a90be 100644 --- a/src/Microsoft.VisualStudio.Composition/Reflection/MemberRef.cs +++ b/src/Microsoft.VisualStudio.Composition/Reflection/MemberRef.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Reflection { diff --git a/src/Microsoft.VisualStudio.Composition/Reflection/MethodRef.cs b/src/Microsoft.VisualStudio.Composition/Reflection/MethodRef.cs index 6640594c0..06c313051 100644 --- a/src/Microsoft.VisualStudio.Composition/Reflection/MethodRef.cs +++ b/src/Microsoft.VisualStudio.Composition/Reflection/MethodRef.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Reflection { diff --git a/src/Microsoft.VisualStudio.Composition/Reflection/ParameterRef.cs b/src/Microsoft.VisualStudio.Composition/Reflection/ParameterRef.cs index ea3a31f14..fd75631fb 100644 --- a/src/Microsoft.VisualStudio.Composition/Reflection/ParameterRef.cs +++ b/src/Microsoft.VisualStudio.Composition/Reflection/ParameterRef.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Reflection { diff --git a/src/Microsoft.VisualStudio.Composition/Reflection/PropertyRef.cs b/src/Microsoft.VisualStudio.Composition/Reflection/PropertyRef.cs index 8ebffc0f3..2e6999c6a 100644 --- a/src/Microsoft.VisualStudio.Composition/Reflection/PropertyRef.cs +++ b/src/Microsoft.VisualStudio.Composition/Reflection/PropertyRef.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Reflection { diff --git a/src/Microsoft.VisualStudio.Composition/Reflection/ResolverExtensions.cs b/src/Microsoft.VisualStudio.Composition/Reflection/ResolverExtensions.cs index 2d3cded96..c5c9661bf 100644 --- a/src/Microsoft.VisualStudio.Composition/Reflection/ResolverExtensions.cs +++ b/src/Microsoft.VisualStudio.Composition/Reflection/ResolverExtensions.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Reflection { diff --git a/src/Microsoft.VisualStudio.Composition/Reflection/SkipClrVisibilityChecks.cs b/src/Microsoft.VisualStudio.Composition/Reflection/SkipClrVisibilityChecks.cs index 807b75e04..c835adf4c 100644 --- a/src/Microsoft.VisualStudio.Composition/Reflection/SkipClrVisibilityChecks.cs +++ b/src/Microsoft.VisualStudio.Composition/Reflection/SkipClrVisibilityChecks.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Reflection { diff --git a/src/Microsoft.VisualStudio.Composition/Reflection/StrongAssemblyIdentity.cs b/src/Microsoft.VisualStudio.Composition/Reflection/StrongAssemblyIdentity.cs index a9ec54ee3..5d3e51018 100644 --- a/src/Microsoft.VisualStudio.Composition/Reflection/StrongAssemblyIdentity.cs +++ b/src/Microsoft.VisualStudio.Composition/Reflection/StrongAssemblyIdentity.cs @@ -1,4 +1,7 @@ -namespace Microsoft.VisualStudio.Composition +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +namespace Microsoft.VisualStudio.Composition { using System; using System.Diagnostics; diff --git a/src/Microsoft.VisualStudio.Composition/Reflection/TypeRef.cs b/src/Microsoft.VisualStudio.Composition/Reflection/TypeRef.cs index 269d2c98b..43104c685 100644 --- a/src/Microsoft.VisualStudio.Composition/Reflection/TypeRef.cs +++ b/src/Microsoft.VisualStudio.Composition/Reflection/TypeRef.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Reflection { diff --git a/src/Microsoft.VisualStudio.Composition/Reflection/TypeRefFlags.cs b/src/Microsoft.VisualStudio.Composition/Reflection/TypeRefFlags.cs index 93bc710c2..a5bf5a287 100644 --- a/src/Microsoft.VisualStudio.Composition/Reflection/TypeRefFlags.cs +++ b/src/Microsoft.VisualStudio.Composition/Reflection/TypeRefFlags.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Reflection { diff --git a/src/Microsoft.VisualStudio.Composition/ReflectionHelpers.cs b/src/Microsoft.VisualStudio.Composition/ReflectionHelpers.cs index 3cbebcfc1..fc7e248ea 100644 --- a/src/Microsoft.VisualStudio.Composition/ReflectionHelpers.cs +++ b/src/Microsoft.VisualStudio.Composition/ReflectionHelpers.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/Rental`1.cs b/src/Microsoft.VisualStudio.Composition/Rental`1.cs index c20abe107..dc265197e 100644 --- a/src/Microsoft.VisualStudio.Composition/Rental`1.cs +++ b/src/Microsoft.VisualStudio.Composition/Rental`1.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/Resolver.cs b/src/Microsoft.VisualStudio.Composition/Resolver.cs index 860cf5c2a..89e52d330 100644 --- a/src/Microsoft.VisualStudio.Composition/Resolver.cs +++ b/src/Microsoft.VisualStudio.Composition/Resolver.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/RuntimeComposition.cs b/src/Microsoft.VisualStudio.Composition/RuntimeComposition.cs index cab679f69..fc051b94f 100644 --- a/src/Microsoft.VisualStudio.Composition/RuntimeComposition.cs +++ b/src/Microsoft.VisualStudio.Composition/RuntimeComposition.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/RuntimeExportProviderFactory+RuntimeExportProvider.cs b/src/Microsoft.VisualStudio.Composition/RuntimeExportProviderFactory+RuntimeExportProvider.cs index bb53a6862..f6c1a38fb 100644 --- a/src/Microsoft.VisualStudio.Composition/RuntimeExportProviderFactory+RuntimeExportProvider.cs +++ b/src/Microsoft.VisualStudio.Composition/RuntimeExportProviderFactory+RuntimeExportProvider.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/RuntimeExportProviderFactory.cs b/src/Microsoft.VisualStudio.Composition/RuntimeExportProviderFactory.cs index 2b420d11e..d868f9325 100644 --- a/src/Microsoft.VisualStudio.Composition/RuntimeExportProviderFactory.cs +++ b/src/Microsoft.VisualStudio.Composition/RuntimeExportProviderFactory.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/StandardAssemblyLoader.cs b/src/Microsoft.VisualStudio.Composition/StandardAssemblyLoader.cs index 89be0c3e9..406d93345 100644 --- a/src/Microsoft.VisualStudio.Composition/StandardAssemblyLoader.cs +++ b/src/Microsoft.VisualStudio.Composition/StandardAssemblyLoader.cs @@ -1,8 +1,5 @@ -/******************************************************** -* * -* © Copyright (C) Microsoft. All rights reserved. * -* * -*********************************************************/ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/UniquePropertyNameComparer.cs b/src/Microsoft.VisualStudio.Composition/UniquePropertyNameComparer.cs index fd22c655b..bbda960be 100644 --- a/src/Microsoft.VisualStudio.Composition/UniquePropertyNameComparer.cs +++ b/src/Microsoft.VisualStudio.Composition/UniquePropertyNameComparer.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/Microsoft.VisualStudio.Composition/Utilities.cs b/src/Microsoft.VisualStudio.Composition/Utilities.cs index aff90018b..97bf6fa66 100644 --- a/src/Microsoft.VisualStudio.Composition/Utilities.cs +++ b/src/Microsoft.VisualStudio.Composition/Utilities.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition { diff --git a/src/stylecop.json b/src/stylecop.json index ed436f91d..2453d57c0 100644 --- a/src/stylecop.json +++ b/src/stylecop.json @@ -2,9 +2,14 @@ "$schema": "https://raw.githubusercontent.com/DotNetAnalyzers/StyleCopAnalyzers/master/StyleCop.Analyzers/StyleCop.Analyzers/Settings/stylecop.schema.json", "settings": { "documentationRules": { - "companyName": "Microsoft", - "xmlHeader": false, - "fileNamingConvention": "metadata" + "companyName": "Microsoft Corporation", + "copyrightText": "Copyright (c) {companyName}. All rights reserved.\nLicensed under the {licenseName} license. See {licenseFile} file in the project root for full license information.", + "variables": { + "licenseName": "MIT", + "licenseFile": "LICENSE" + }, + "fileNamingConvention": "metadata", + "xmlHeader": false } } } diff --git a/src/tests/Microsoft.VisualStudio.Composition.Analyzers.Tests/Helpers/CSharpCodeFixVerifier`2+Test.cs b/src/tests/Microsoft.VisualStudio.Composition.Analyzers.Tests/Helpers/CSharpCodeFixVerifier`2+Test.cs index 46b765af6..739795c2a 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Analyzers.Tests/Helpers/CSharpCodeFixVerifier`2+Test.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Analyzers.Tests/Helpers/CSharpCodeFixVerifier`2+Test.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Immutable; diff --git a/src/tests/Microsoft.VisualStudio.Composition.Analyzers.Tests/Helpers/CSharpCodeFixVerifier`2.cs b/src/tests/Microsoft.VisualStudio.Composition.Analyzers.Tests/Helpers/CSharpCodeFixVerifier`2.cs index fc45dec12..b3fea96a0 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Analyzers.Tests/Helpers/CSharpCodeFixVerifier`2.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Analyzers.Tests/Helpers/CSharpCodeFixVerifier`2.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Threading.Tasks; using Microsoft.CodeAnalysis; diff --git a/src/tests/Microsoft.VisualStudio.Composition.Analyzers.Tests/Helpers/ReferencesHelper.cs b/src/tests/Microsoft.VisualStudio.Composition.Analyzers.Tests/Helpers/ReferencesHelper.cs index 616e1eccf..8261719a2 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Analyzers.Tests/Helpers/ReferencesHelper.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Analyzers.Tests/Helpers/ReferencesHelper.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Collections.Immutable; using Microsoft.CodeAnalysis.Testing; diff --git a/src/tests/Microsoft.VisualStudio.Composition.Analyzers.Tests/Helpers/VisualBasicCodeFixVerifier`2+Test.cs b/src/tests/Microsoft.VisualStudio.Composition.Analyzers.Tests/Helpers/VisualBasicCodeFixVerifier`2+Test.cs index 6ad02dc62..6d2f70361 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Analyzers.Tests/Helpers/VisualBasicCodeFixVerifier`2+Test.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Analyzers.Tests/Helpers/VisualBasicCodeFixVerifier`2+Test.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. using System; using System.Collections.Immutable; diff --git a/src/tests/Microsoft.VisualStudio.Composition.Analyzers.Tests/Helpers/VisualBasicCodeFixVerifier`2.cs b/src/tests/Microsoft.VisualStudio.Composition.Analyzers.Tests/Helpers/VisualBasicCodeFixVerifier`2.cs index 44159ed0b..6480e90e9 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Analyzers.Tests/Helpers/VisualBasicCodeFixVerifier`2.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Analyzers.Tests/Helpers/VisualBasicCodeFixVerifier`2.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Threading.Tasks; using Microsoft.CodeAnalysis; diff --git a/src/tests/Microsoft.VisualStudio.Composition.Analyzers.Tests/VSMEF001PropertyMustHaveSetterTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Analyzers.Tests/VSMEF001PropertyMustHaveSetterTests.cs index 0bba04de5..4d42d574a 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Analyzers.Tests/VSMEF001PropertyMustHaveSetterTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Analyzers.Tests/VSMEF001PropertyMustHaveSetterTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System; using System.Threading.Tasks; using Xunit; diff --git a/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests/ExternalExport.cs b/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests/ExternalExport.cs index d716d042a..9a0e1f7c3 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests/ExternalExport.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests/ExternalExport.cs @@ -1,4 +1,7 @@ -namespace Microsoft.VisualStudio.Composition.AppDomainTests +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +namespace Microsoft.VisualStudio.Composition.AppDomainTests { using System; using System.Collections.Generic; diff --git a/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests/ExternalExportOnMember.cs b/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests/ExternalExportOnMember.cs index 0dc90348e..5360a268c 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests/ExternalExportOnMember.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests/ExternalExportOnMember.cs @@ -1,4 +1,7 @@ -namespace Microsoft.VisualStudio.Composition.AppDomainTests +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +namespace Microsoft.VisualStudio.Composition.AppDomainTests { using System.Composition; diff --git a/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests/ExternalExportWithExternalMetadataType.cs b/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests/ExternalExportWithExternalMetadataType.cs index fc314eb8b..ec23b3a2f 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests/ExternalExportWithExternalMetadataType.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests/ExternalExportWithExternalMetadataType.cs @@ -1,4 +1,7 @@ -namespace Microsoft.VisualStudio.Composition.AppDomainTests +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +namespace Microsoft.VisualStudio.Composition.AppDomainTests { using System; using System.Collections.Generic; diff --git a/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests/ExternalExportWithLazy.cs b/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests/ExternalExportWithLazy.cs index d445b6919..211e68788 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests/ExternalExportWithLazy.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests/ExternalExportWithLazy.cs @@ -1,4 +1,7 @@ -namespace Microsoft.VisualStudio.Composition.AppDomainTests +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +namespace Microsoft.VisualStudio.Composition.AppDomainTests { using System; using System.Collections.Generic; diff --git a/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests/OpenGenericExport`1.cs b/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests/OpenGenericExport`1.cs index 8e5c7e7a8..64a7f41a3 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests/OpenGenericExport`1.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests/OpenGenericExport`1.cs @@ -1,4 +1,7 @@ -namespace Microsoft.VisualStudio.Composition.AppDomainTests +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +namespace Microsoft.VisualStudio.Composition.AppDomainTests { using System; using System.Collections.Generic; diff --git a/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests/PartThatImportsExportedMember.cs b/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests/PartThatImportsExportedMember.cs index a2379be05..b0fd6865c 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests/PartThatImportsExportedMember.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests/PartThatImportsExportedMember.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.AppDomainTests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests/PartThatLazyImportsExportWithMetadataOfCustomType.cs b/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests/PartThatLazyImportsExportWithMetadataOfCustomType.cs index 6e4134603..b9cde33ca 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests/PartThatLazyImportsExportWithMetadataOfCustomType.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests/PartThatLazyImportsExportWithMetadataOfCustomType.cs @@ -1,4 +1,7 @@ -namespace Microsoft.VisualStudio.Composition.AppDomainTests +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +namespace Microsoft.VisualStudio.Composition.AppDomainTests { using System; using System.Collections.Generic; diff --git a/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests/PartThatLazyImportsExportWithTypeMetadataViaDictionary.cs b/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests/PartThatLazyImportsExportWithTypeMetadataViaDictionary.cs index 6662ea5ff..f0e9473d1 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests/PartThatLazyImportsExportWithTypeMetadataViaDictionary.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests/PartThatLazyImportsExportWithTypeMetadataViaDictionary.cs @@ -1,4 +1,7 @@ -namespace Microsoft.VisualStudio.Composition.AppDomainTests +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +namespace Microsoft.VisualStudio.Composition.AppDomainTests { using System; using System.Collections.Generic; diff --git a/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests/PartThatLazyImportsExportWithTypeMetadataViaTMetadata.cs b/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests/PartThatLazyImportsExportWithTypeMetadataViaTMetadata.cs index 314551b2e..61b0a09b4 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests/PartThatLazyImportsExportWithTypeMetadataViaTMetadata.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests/PartThatLazyImportsExportWithTypeMetadataViaTMetadata.cs @@ -1,4 +1,7 @@ -namespace Microsoft.VisualStudio.Composition.AppDomainTests +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +namespace Microsoft.VisualStudio.Composition.AppDomainTests { using System; using System.Collections.Generic; diff --git a/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests2/AnExportWithMetadataTypeValue.cs b/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests2/AnExportWithMetadataTypeValue.cs index 11c6dc5cf..25ff92738 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests2/AnExportWithMetadataTypeValue.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests2/AnExportWithMetadataTypeValue.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.AppDomainTests2 { diff --git a/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests2/CustomMetadataAttribute.cs b/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests2/CustomMetadataAttribute.cs index 124ed6cdb..3a7a2ca25 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests2/CustomMetadataAttribute.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests2/CustomMetadataAttribute.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.AppDomainTests2 { diff --git a/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests2/ExportWithCustomMetadata.cs b/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests2/ExportWithCustomMetadata.cs index 081e70392..88382570e 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests2/ExportWithCustomMetadata.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests2/ExportWithCustomMetadata.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.AppDomainTests2 { diff --git a/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests2/ExportedMember.cs b/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests2/ExportedMember.cs index d2aa6055d..a0cba6923 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests2/ExportedMember.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests2/ExportedMember.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.AppDomainTests2 { diff --git a/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests2/YetAnotherExport.cs b/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests2/YetAnotherExport.cs index da0981a24..84e81b8f3 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests2/YetAnotherExport.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.AppDomainTests2/YetAnotherExport.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.AppDomainTests2 { diff --git a/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/AConditionalClass.cs b/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/AConditionalClass.cs index bc4e74378..baec44a30 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/AConditionalClass.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/AConditionalClass.cs @@ -1,4 +1,7 @@ -#if NETFRAMEWORK // See comments below +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +#if NETFRAMEWORK // See comments below namespace Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/AssemblyInfo.cs b/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/AssemblyInfo.cs index 63114892a..1a018759c 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/AssemblyInfo.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/AssemblyInfo.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.Runtime.CompilerServices; diff --git a/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/DiscoverablePart1.cs b/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/DiscoverablePart1.cs index 534a13469..c51f7a450 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/DiscoverablePart1.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/DiscoverablePart1.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/DiscoverablePart2.cs b/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/DiscoverablePart2.cs index e6fa13133..9128b6d22 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/DiscoverablePart2.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/DiscoverablePart2.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/IInternalMetadataView.cs b/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/IInternalMetadataView.cs index 94ec610f3..9f9596637 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/IInternalMetadataView.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/IInternalMetadataView.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/ISomeInterface.cs b/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/ISomeInterface.cs index 66b101c65..c3e8310f9 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/ISomeInterface.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/ISomeInterface.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/NestedPart.cs b/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/NestedPart.cs index 3b35c00c3..e6dcb2a37 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/NestedPart.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/NestedPart.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/NonDiscoverablePart.cs b/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/NonDiscoverablePart.cs index 17d87e970..a31495ffc 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/NonDiscoverablePart.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/NonDiscoverablePart.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/NonDiscoverablePartV1.cs b/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/NonDiscoverablePartV1.cs index 2da00c37e..69eb251bc 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/NonDiscoverablePartV1.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/NonDiscoverablePartV1.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/NonDiscoverablePartV2.cs b/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/NonDiscoverablePartV2.cs index 470720012..a5c63a9f9 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/NonDiscoverablePartV2.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/NonDiscoverablePartV2.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/NonPart.cs b/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/NonPart.cs index f3cc59ab9..c079bad72 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/NonPart.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/NonPart.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/SomeEnum.cs b/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/SomeEnum.cs index 66e0a95bd..68fca90d5 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/SomeEnum.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/SomeEnum.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/SomeMetadataAttributeFromAnotherAssemblyAttribute.cs b/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/SomeMetadataAttributeFromAnotherAssemblyAttribute.cs index 3ad88d59f..1c42d5faa 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/SomeMetadataAttributeFromAnotherAssemblyAttribute.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/SomeMetadataAttributeFromAnotherAssemblyAttribute.cs @@ -1,4 +1,7 @@ -namespace Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +namespace Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests { using System; using System.Composition; diff --git a/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/TypeWithMissingAttribute.cs b/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/TypeWithMissingAttribute.cs index 160b2ca1c..3c4bf8b51 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/TypeWithMissingAttribute.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/TypeWithMissingAttribute.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests2/IBlankInterface.cs b/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests2/IBlankInterface.cs index 40cc53856..2743347b5 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests2/IBlankInterface.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests2/IBlankInterface.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests2 { diff --git a/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests2/SomeOtherEnum.cs b/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests2/SomeOtherEnum.cs index 9bccfb7e5..44814ce6d 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests2/SomeOtherEnum.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests2/SomeOtherEnum.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests2 { diff --git a/src/tests/Microsoft.VisualStudio.Composition.BrokenAssemblyTests/GoodType.cs b/src/tests/Microsoft.VisualStudio.Composition.BrokenAssemblyTests/GoodType.cs index ba3f9cf12..edad063bf 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.BrokenAssemblyTests/GoodType.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.BrokenAssemblyTests/GoodType.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.BrokenAssemblyTests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.BrokenAssemblyTests/PartInAssemblyWithBadTypes.cs b/src/tests/Microsoft.VisualStudio.Composition.BrokenAssemblyTests/PartInAssemblyWithBadTypes.cs index 0f1e00f66..a60991bec 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.BrokenAssemblyTests/PartInAssemblyWithBadTypes.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.BrokenAssemblyTests/PartInAssemblyWithBadTypes.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.BrokenAssemblyTests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.BrokenAssemblyTests/TypeWithMissingBaseType.cs b/src/tests/Microsoft.VisualStudio.Composition.BrokenAssemblyTests/TypeWithMissingBaseType.cs index 292f70093..0ccf3bdd9 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.BrokenAssemblyTests/TypeWithMissingBaseType.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.BrokenAssemblyTests/TypeWithMissingBaseType.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.BrokenAssemblyTests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.EmbeddedTypeReceiver/PartThatImportsLazyOfEmbeddedType.cs b/src/tests/Microsoft.VisualStudio.Composition.EmbeddedTypeReceiver/PartThatImportsLazyOfEmbeddedType.cs index d3c4eed01..371e5b7dd 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.EmbeddedTypeReceiver/PartThatImportsLazyOfEmbeddedType.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.EmbeddedTypeReceiver/PartThatImportsLazyOfEmbeddedType.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.EmbeddedTypeReceiver { diff --git a/src/tests/Microsoft.VisualStudio.Composition.MissingAssemblyTests/NotFoundAttribute.cs b/src/tests/Microsoft.VisualStudio.Composition.MissingAssemblyTests/NotFoundAttribute.cs index c52592c82..ea51266b1 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.MissingAssemblyTests/NotFoundAttribute.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.MissingAssemblyTests/NotFoundAttribute.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.MissingAssemblyTests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.MissingAssemblyTests/NotFoundBaseType.cs b/src/tests/Microsoft.VisualStudio.Composition.MissingAssemblyTests/NotFoundBaseType.cs index 1966bd7e5..bffb4f78a 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.MissingAssemblyTests/NotFoundBaseType.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.MissingAssemblyTests/NotFoundBaseType.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.MissingAssemblyTests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.NonEmbeddingTypeReceiver/PartThatImportsLazyOfNonEmbeddedType.cs b/src/tests/Microsoft.VisualStudio.Composition.NonEmbeddingTypeReceiver/PartThatImportsLazyOfNonEmbeddedType.cs index 29ec2306a..673851c65 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.NonEmbeddingTypeReceiver/PartThatImportsLazyOfNonEmbeddedType.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.NonEmbeddingTypeReceiver/PartThatImportsLazyOfNonEmbeddedType.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.NonEmbeddingTypeReceiver { diff --git a/src/tests/Microsoft.VisualStudio.Composition.TestEmbeddableTypes/AssemblyInfo.cs b/src/tests/Microsoft.VisualStudio.Composition.TestEmbeddableTypes/AssemblyInfo.cs index b40651f2f..6a01370c8 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.TestEmbeddableTypes/AssemblyInfo.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.TestEmbeddableTypes/AssemblyInfo.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/src/tests/Microsoft.VisualStudio.Composition.TestEmbeddableTypes/IVsReference.cs b/src/tests/Microsoft.VisualStudio.Composition.TestEmbeddableTypes/IVsReference.cs index 72b20985c..d01699bfa 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.TestEmbeddableTypes/IVsReference.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.TestEmbeddableTypes/IVsReference.cs @@ -1,4 +1,7 @@ -namespace Microsoft.VisualStudio.Shell.Interop +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +namespace Microsoft.VisualStudio.Shell.Interop { using System.Runtime.InteropServices; diff --git a/src/tests/Microsoft.VisualStudio.Composition.TestEmbeddableTypes/ImportedFromTypeLibAttribute.cs b/src/tests/Microsoft.VisualStudio.Composition.TestEmbeddableTypes/ImportedFromTypeLibAttribute.cs index 2735dfbcc..8782a82b6 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.TestEmbeddableTypes/ImportedFromTypeLibAttribute.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.TestEmbeddableTypes/ImportedFromTypeLibAttribute.cs @@ -1,3 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + namespace System.Runtime.InteropServices { internal sealed class ImportedFromTypeLibAttribute : Attribute diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/AmbiguousPartNamesTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/AmbiguousPartNamesTests.cs index 6c4d48e06..226782942 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/AmbiguousPartNamesTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/AmbiguousPartNamesTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/AssembliesLazyLoadedDataFileCacheTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/AssembliesLazyLoadedDataFileCacheTests.cs index 2f56feb04..2079a46c0 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/AssembliesLazyLoadedDataFileCacheTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/AssembliesLazyLoadedDataFileCacheTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. #if NETFRAMEWORK diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/AssembliesLazyLoadedTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/AssembliesLazyLoadedTests.cs index dba5ff88c..49f55521c 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/AssembliesLazyLoadedTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/AssembliesLazyLoadedTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. #if NETFRAMEWORK diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/AssemblyReferencingTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/AssemblyReferencingTests.cs index dbac6e9aa..f5b5119bc 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/AssemblyReferencingTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/AssemblyReferencingTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/AttributedPartDiscoveryCombinedTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/AttributedPartDiscoveryCombinedTests.cs index a5f401518..9e1c7a6cd 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/AttributedPartDiscoveryCombinedTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/AttributedPartDiscoveryCombinedTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/AttributedPartDiscoveryTestBase.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/AttributedPartDiscoveryTestBase.cs index e0e095c55..b457501f8 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/AttributedPartDiscoveryTestBase.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/AttributedPartDiscoveryTestBase.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/AttributedPartDiscoveryTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/AttributedPartDiscoveryTests.cs index 59edcd228..7762e73d6 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/AttributedPartDiscoveryTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/AttributedPartDiscoveryTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/AttributedPartDiscoveryV1Tests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/AttributedPartDiscoveryV1Tests.cs index 90d0634ee..aaba7f3d0 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/AttributedPartDiscoveryV1Tests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/AttributedPartDiscoveryV1Tests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/BaseGenericTypeTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/BaseGenericTypeTests.cs index 7d93ab834..49adefd3e 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/BaseGenericTypeTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/BaseGenericTypeTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/ByValueEqualityTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/ByValueEqualityTests.cs index 64a8ce537..9d528be8a 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/ByValueEqualityTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/ByValueEqualityTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/CacheAndReloadTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/CacheAndReloadTests.cs index a016fd918..82a2aed9a 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/CacheAndReloadTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/CacheAndReloadTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/CacheResiliencyTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/CacheResiliencyTests.cs index 372ab7b22..1eaa4e7eb 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/CacheResiliencyTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/CacheResiliencyTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. #if NETFRAMEWORK diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/CardinalityMismatchTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/CardinalityMismatchTests.cs index 372bc864d..079e8d2b1 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/CardinalityMismatchTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/CardinalityMismatchTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/CircularDependencyTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/CircularDependencyTests.cs index c64e90e87..23479ddab 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/CircularDependencyTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/CircularDependencyTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/ClosedGenericExportedTypeTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/ClosedGenericExportedTypeTests.cs index cba6a42c8..e4d1a3f65 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/ClosedGenericExportedTypeTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/ClosedGenericExportedTypeTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/ComposableCatalogTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/ComposableCatalogTests.cs index c36692eed..25158073d 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/ComposableCatalogTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/ComposableCatalogTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/ComposableCatalogTests2.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/ComposableCatalogTests2.cs index 5ae7024ae..3c620c2ed 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/ComposableCatalogTests2.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/ComposableCatalogTests2.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/ComposablePartDefinitionTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/ComposablePartDefinitionTests.cs index 477fd0c5c..128328fc2 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/ComposablePartDefinitionTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/ComposablePartDefinitionTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/CompositionConfigurationTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/CompositionConfigurationTests.cs index abee511d6..be677b7b3 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/CompositionConfigurationTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/CompositionConfigurationTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/CompositionEngines.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/CompositionEngines.cs index bf46150d0..4ce294858 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/CompositionEngines.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/CompositionEngines.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/CompositionFailedExceptionTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/CompositionFailedExceptionTests.cs index eec23bce5..18f6636e5 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/CompositionFailedExceptionTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/CompositionFailedExceptionTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/CompositionServiceTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/CompositionServiceTests.cs index 93c019ec4..bdb1ef222 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/CompositionServiceTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/CompositionServiceTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/CompressedUIntTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/CompressedUIntTests.cs index c585f52ae..64ddf0027 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/CompressedUIntTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/CompressedUIntTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/ContainerIsolationTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/ContainerIsolationTests.cs index 3a104719d..fbadfc4b9 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/ContainerIsolationTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/ContainerIsolationTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/CustomMetadataAttributeTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/CustomMetadataAttributeTests.cs index 28fadb82e..80dcdb6b2 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/CustomMetadataAttributeTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/CustomMetadataAttributeTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/CustomMetadataValueTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/CustomMetadataValueTests.cs index 8e8dc6704..7ef3d9075 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/CustomMetadataValueTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/CustomMetadataValueTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/DataFileCacheAndReloadTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/DataFileCacheAndReloadTests.cs index 2ad673eaa..161214fa6 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/DataFileCacheAndReloadTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/DataFileCacheAndReloadTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/DelegateServicesTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/DelegateServicesTests.cs index e401a1895..efb5ed22e 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/DelegateServicesTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/DelegateServicesTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/DelegatingExportProviderTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/DelegatingExportProviderTests.cs index 924058f02..f42f58b03 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/DelegatingExportProviderTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/DelegatingExportProviderTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/DgmlProductionTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/DgmlProductionTests.cs index b3a0dbcb4..c43a81368 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/DgmlProductionTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/DgmlProductionTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/DisposablePartsTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/DisposablePartsTests.cs index c6df5afcf..0574038d9 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/DisposablePartsTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/DisposablePartsTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/DynamicImportTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/DynamicImportTests.cs index 9f71fa490..025b2118f 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/DynamicImportTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/DynamicImportTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/EmbeddableTypesTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/EmbeddableTypesTests.cs index 79a72d924..e0854828c 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/EmbeddableTypesTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/EmbeddableTypesTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/EmbeddedableTypesMixedTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/EmbeddedableTypesMixedTests.cs index 28bb9cf2b..5d84afc0f 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/EmbeddedableTypesMixedTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/EmbeddedableTypesMixedTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/ExplicitImportIdentityTypeTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/ExplicitImportIdentityTypeTests.cs index 2a9f9979d..5bcac02b4 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/ExplicitImportIdentityTypeTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/ExplicitImportIdentityTypeTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportDefinitionTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportDefinitionTests.cs index 58842b800..0b0549b58 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportDefinitionTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportDefinitionTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportFactoryOfNonSharedImportingSharingBoundaryTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportFactoryOfNonSharedImportingSharingBoundaryTests.cs index 1767dfc4d..4caab9f12 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportFactoryOfNonSharedImportingSharingBoundaryTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportFactoryOfNonSharedImportingSharingBoundaryTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportFactoryTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportFactoryTests.cs index dc47ecb81..fc985e1ab 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportFactoryTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportFactoryTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportImportViaBaseType.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportImportViaBaseType.cs index 101d6e58c..dc76e5319 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportImportViaBaseType.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportImportViaBaseType.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportMetadataMultipleTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportMetadataMultipleTests.cs index be0b9bc7c..48d089f76 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportMetadataMultipleTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportMetadataMultipleTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportMetadataNameCollisionTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportMetadataNameCollisionTests.cs index f7dd99d48..288ab3f81 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportMetadataNameCollisionTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportMetadataNameCollisionTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportMetadataNonStringValuesTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportMetadataNonStringValuesTests.cs index 9f837ae55..347d196f6 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportMetadataNonStringValuesTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportMetadataNonStringValuesTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportMetadataTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportMetadataTests.cs index 3ed119375..f19fba090 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportMetadataTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportMetadataTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportMetadataViewNameCollisionTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportMetadataViewNameCollisionTests.cs index 724700549..fbd135a33 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportMetadataViewNameCollisionTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportMetadataViewNameCollisionTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportProviderTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportProviderTests.cs index bf999ee1f..27f9d29fb 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportProviderTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportProviderTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportingMembersTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportingMembersTests.cs index 294b9496a..e59272da1 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportingMembersTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/ExportingMembersTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/FaultyPartsTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/FaultyPartsTests.cs index 6a8d9e9b2..fbf14527f 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/FaultyPartsTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/FaultyPartsTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/GenericImportTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/GenericImportTests.cs index 034743e68..c08c7c004 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/GenericImportTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/GenericImportTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/GuidMetadataTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/GuidMetadataTests.cs index fc0280330..14f45cdfa 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/GuidMetadataTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/GuidMetadataTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/IContainer.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/IContainer.cs index a746647c5..33fe4d818 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/IContainer.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/IContainer.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/ImportDefinitionTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/ImportDefinitionTests.cs index a0f03dfd8..98757ea52 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/ImportDefinitionTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/ImportDefinitionTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/ImportManyTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/ImportManyTests.cs index 6b7c2780b..f68418d84 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/ImportManyTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/ImportManyTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/ImportMetadataConstraintTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/ImportMetadataConstraintTests.cs index 3cbfb18bc..da092d041 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/ImportMetadataConstraintTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/ImportMetadataConstraintTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/ImportOfTResolvedByDerivedClassTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/ImportOfTResolvedByDerivedClassTests.cs index ac59535f6..ccaaa2fa0 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/ImportOfTResolvedByDerivedClassTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/ImportOfTResolvedByDerivedClassTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/ImportSiteCreationPolicyTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/ImportSiteCreationPolicyTests.cs index 9170fd1d3..68ef52e33 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/ImportSiteCreationPolicyTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/ImportSiteCreationPolicyTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/ImportedExportProviderTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/ImportedExportProviderTests.cs index 6efbb047f..2e5f51302 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/ImportedExportProviderTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/ImportedExportProviderTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/ImportingConstructorTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/ImportingConstructorTests.cs index 322d48347..4264d751d 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/ImportingConstructorTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/ImportingConstructorTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/InheritedExportTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/InheritedExportTests.cs index 0afd2631c..fb9b34a04 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/InheritedExportTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/InheritedExportTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/InheritedImportTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/InheritedImportTests.cs index 836895101..e3ac8a4b9 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/InheritedImportTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/InheritedImportTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/InvalidGraphTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/InvalidGraphTests.cs index 1ef13899a..c123768f8 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/InvalidGraphTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/InvalidGraphTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/LazyImportTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/LazyImportTests.cs index 3f9712cdf..7b089abed 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/LazyImportTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/LazyImportTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/LazyServicesTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/LazyServicesTests.cs index d7830dc68..9e961ef29 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/LazyServicesTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/LazyServicesTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/MefV1ExportProviderAdapterTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/MefV1ExportProviderAdapterTests.cs index 338f1823c..df6949e39 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/MefV1ExportProviderAdapterTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/MefV1ExportProviderAdapterTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/MetadataViewClassDefaultCtorProviderTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/MetadataViewClassDefaultCtorProviderTests.cs index e73493274..e8672f631 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/MetadataViewClassDefaultCtorProviderTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/MetadataViewClassDefaultCtorProviderTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/MetadataViewImplementationTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/MetadataViewImplementationTests.cs index e57ce5949..747ac1e45 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/MetadataViewImplementationTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/MetadataViewImplementationTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/MixedGenericExportsTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/MixedGenericExportsTests.cs index da44452cf..cf49c26f8 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/MixedGenericExportsTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/MixedGenericExportsTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/MultipleExportsOnPartTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/MultipleExportsOnPartTests.cs index df23c8d22..e0d1dc129 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/MultipleExportsOnPartTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/MultipleExportsOnPartTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/MultipleSharingBoundariesTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/MultipleSharingBoundariesTests.cs index 2ff82710d..b015ea6b3 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/MultipleSharingBoundariesTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/MultipleSharingBoundariesTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/NameAndAgeAttribute.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/NameAndAgeAttribute.cs index ba8652485..e877bbdd9 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/NameAndAgeAttribute.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/NameAndAgeAttribute.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/NamedTypedExportTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/NamedTypedExportTests.cs index 6d2e91e52..787e00dfe 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/NamedTypedExportTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/NamedTypedExportTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/NestedTypeTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/NestedTypeTests.cs index 6451856f1..498322450 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/NestedTypeTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/NestedTypeTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/NonPublicImportsExportsTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/NonPublicImportsExportsTests.cs index 56d461da6..9fe350ebe 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/NonPublicImportsExportsTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/NonPublicImportsExportsTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/NonSharedPartTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/NonSharedPartTests.cs index 450d85a99..e1c55db57 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/NonSharedPartTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/NonSharedPartTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/ObsoleteAttributeTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/ObsoleteAttributeTests.cs index 60912a2b2..14b1f396d 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/ObsoleteAttributeTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/ObsoleteAttributeTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/OnImportsSatisfiedTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/OnImportsSatisfiedTests.cs index bfacc6249..2faea23b0 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/OnImportsSatisfiedTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/OnImportsSatisfiedTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/OpenGenericExportTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/OpenGenericExportTests.cs index b173dfe06..0c04d1fc0 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/OpenGenericExportTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/OpenGenericExportTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/PartDiscoveryExceptionTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/PartDiscoveryExceptionTests.cs index 77e19fd3a..ae8afe919 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/PartDiscoveryExceptionTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/PartDiscoveryExceptionTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/PartDiscoveryTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/PartDiscoveryTests.cs index 946b6231b..ec705a993 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/PartDiscoveryTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/PartDiscoveryTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/ProjectSystemMockTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/ProjectSystemMockTests.cs index 9371e36e1..ef911ede8 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/ProjectSystemMockTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/ProjectSystemMockTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/Reflection/MethodRefTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/Reflection/MethodRefTests.cs index 27453c94c..2311d3d49 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/Reflection/MethodRefTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/Reflection/MethodRefTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests.Reflection { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/Reflection/TypeRefTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/Reflection/TypeRefTests.cs index 1c7f32804..5ada10247 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/Reflection/TypeRefTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/Reflection/TypeRefTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests.Reflection { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/RejectionTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/RejectionTests.cs index 417d04d90..4e95c3a53 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/RejectionTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/RejectionTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/ReportFaultDelegateTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/ReportFaultDelegateTests.cs index 2c895d2a0..a4c514e61 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/ReportFaultDelegateTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/ReportFaultDelegateTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/RuntimeCompositionTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/RuntimeCompositionTests.cs index 9ca313b32..e1fb74e85 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/RuntimeCompositionTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/RuntimeCompositionTests.cs @@ -1,4 +1,7 @@ -namespace Microsoft.VisualStudio.Composition.Tests +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +namespace Microsoft.VisualStudio.Composition.Tests { using System; using System.Collections.Immutable; diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/SharedNoBoundaryExportsTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/SharedNoBoundaryExportsTests.cs index 081e82c9f..b9f6cd009 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/SharedNoBoundaryExportsTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/SharedNoBoundaryExportsTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/SharingBoundaryAcquiresSharedRootScopeExport.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/SharingBoundaryAcquiresSharedRootScopeExport.cs index 6ce6857dd..3ef4bca30 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/SharingBoundaryAcquiresSharedRootScopeExport.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/SharingBoundaryAcquiresSharedRootScopeExport.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/SharingBoundaryInvalidTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/SharingBoundaryInvalidTests.cs index 048caa8af..98136fe34 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/SharingBoundaryInvalidTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/SharingBoundaryInvalidTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/SharingBoundaryMixedAttributesTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/SharingBoundaryMixedAttributesTests.cs index b2cd57739..b2196e4a3 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/SharingBoundaryMixedAttributesTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/SharingBoundaryMixedAttributesTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/SharingBoundaryTwoPathsToPartTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/SharingBoundaryTwoPathsToPartTests.cs index c0307ea60..8672b9e1d 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/SharingBoundaryTwoPathsToPartTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/SharingBoundaryTwoPathsToPartTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/SharingBoundaryWithMixedMefParts.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/SharingBoundaryWithMixedMefParts.cs index cc8431e40..417d3802a 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/SharingBoundaryWithMixedMefParts.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/SharingBoundaryWithMixedMefParts.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/SharingBoundaryWithNestedBoundaryFactoryTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/SharingBoundaryWithNestedBoundaryFactoryTests.cs index 273e91c4d..8acce46b1 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/SharingBoundaryWithNestedBoundaryFactoryTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/SharingBoundaryWithNestedBoundaryFactoryTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/SharingBoundaryWithNonNestedBoundaryFactoryTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/SharingBoundaryWithNonNestedBoundaryFactoryTests.cs index 1f115dd14..6625dc97d 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/SharingBoundaryWithNonNestedBoundaryFactoryTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/SharingBoundaryWithNonNestedBoundaryFactoryTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/SharingBoundaryWithNonSharedTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/SharingBoundaryWithNonSharedTests.cs index 5ab3c60ad..ac98b3352 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/SharingBoundaryWithNonSharedTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/SharingBoundaryWithNonSharedTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/SharingBoundaryWithSharedTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/SharingBoundaryWithSharedTests.cs index 90ebaf290..8746799ac 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/SharingBoundaryWithSharedTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/SharingBoundaryWithSharedTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/SimpleImportExportTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/SimpleImportExportTests.cs index f78900686..569720626 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/SimpleImportExportTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/SimpleImportExportTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/StaticFactoryMethodTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/StaticFactoryMethodTests.cs index 8e9b9adce..c63020e74 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/StaticFactoryMethodTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/StaticFactoryMethodTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/StaticMemberExportsTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/StaticMemberExportsTests.cs index ff1010562..e3ef1cb04 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/StaticMemberExportsTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/StaticMemberExportsTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/StrongAssemblyIdentityTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/StrongAssemblyIdentityTests.cs index b5e06bd0a..3f8366de2 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/StrongAssemblyIdentityTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/StrongAssemblyIdentityTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/TestUtilities.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/TestUtilities.cs index 4cdd46227..10feb8947 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/TestUtilities.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/TestUtilities.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/ThreadSafetyTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/ThreadSafetyTests.cs index 454476f99..d06d7d1c2 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/ThreadSafetyTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/ThreadSafetyTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/ThrowingPartsTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/ThrowingPartsTests.cs index 665a91d50..ceaafbecb 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/ThrowingPartsTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/ThrowingPartsTests.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/AssertEx.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/AssertEx.cs index 4a6edc973..5bcb33f01 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/AssertEx.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/AssertEx.cs @@ -1,4 +1,7 @@ -namespace Microsoft.VisualStudio.Composition.Tests +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +namespace Microsoft.VisualStudio.Composition.Tests { using System; using System.Collections.Generic; diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/AssertFailedException.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/AssertFailedException.cs index dc2e115a1..3672d2f23 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/AssertFailedException.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/AssertFailedException.cs @@ -1,4 +1,7 @@ -namespace Microsoft.VisualStudio.Composition.Tests +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +namespace Microsoft.VisualStudio.Composition.Tests { using System; using System.Runtime.Serialization; diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/CatalogScrambler.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/CatalogScrambler.cs index 4a25027e4..2c3a841e1 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/CatalogScrambler.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/CatalogScrambler.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/LegacyMefTestCaseRunner.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/LegacyMefTestCaseRunner.cs index 4dbf0d71f..6720643e5 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/LegacyMefTestCaseRunner.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/LegacyMefTestCaseRunner.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/Mef3DiscoveryTestCaseRunner.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/Mef3DiscoveryTestCaseRunner.cs index 96c7e9919..f2bbed80e 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/Mef3DiscoveryTestCaseRunner.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/Mef3DiscoveryTestCaseRunner.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/Mef3TestCaseRunner.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/Mef3TestCaseRunner.cs index 6e2975f7d..1e2325b43 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/Mef3TestCaseRunner.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/Mef3TestCaseRunner.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/MefFactAttribute.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/MefFactAttribute.cs index 82855bcf7..57d776c0c 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/MefFactAttribute.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/MefFactAttribute.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/MefFactDiscoverer.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/MefFactDiscoverer.cs index 011e5d26c..8eadb9ab5 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/MefFactDiscoverer.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/MefFactDiscoverer.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/Traits.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/Traits.cs index 1fb05ea95..a26e5e980 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/Traits.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/Traits.cs @@ -1,4 +1,5 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. namespace Microsoft.VisualStudio.Composition.Tests { From 0a9cc25fb2676713010ba3e1ef4b4e5ebc274b96 Mon Sep 17 00:00:00 2001 From: Andrew Arnott Date: Thu, 21 Jan 2021 08:52:57 -0700 Subject: [PATCH 2/3] Address several other static analyzer issues before we activate the analyzers --- .../AssemblyInfo.cs | 6 ++++++ .../CreateComposition.cs | 12 ++++++++---- .../ComposedPart.cs | 7 ++++--- .../Configuration/NetFxAdapters.cs | 2 ++ .../ExportProvider.cs | 4 +++- .../LazyMetadataWrapper.cs | 3 ++- .../PartDiscovery.cs | 2 ++ .../Reflection/TypeRef.cs | 2 ++ .../NestedPart.cs | 2 ++ .../PartInAssemblyWithBadTypes.cs | 2 ++ .../PartThatImportsLazyOfNonEmbeddedType.cs | 2 ++ .../ImportedFromTypeLibAttribute.cs | 1 + .../AssembliesLazyLoadedTests.cs | 2 ++ .../CompressedUIntTests.cs | 2 +- .../ImportingConstructorTests.cs | 4 ++-- .../MefV1ExportProviderAdapterTests.cs | 4 ++-- .../XunitExtensions/LegacyMefTestCaseRunner.cs | 2 +- .../XunitExtensions/MefFactDiscoverer.cs | 2 +- 18 files changed, 45 insertions(+), 16 deletions(-) create mode 100644 src/Microsoft.VisualStudio.Composition.Analyzers/AssemblyInfo.cs diff --git a/src/Microsoft.VisualStudio.Composition.Analyzers/AssemblyInfo.cs b/src/Microsoft.VisualStudio.Composition.Analyzers/AssemblyInfo.cs new file mode 100644 index 000000000..ce5333a4e --- /dev/null +++ b/src/Microsoft.VisualStudio.Composition.Analyzers/AssemblyInfo.cs @@ -0,0 +1,6 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System.Resources; + +[assembly: NeutralResourcesLanguage("en-US")] diff --git a/src/Microsoft.VisualStudio.Composition.AppHost/CreateComposition.cs b/src/Microsoft.VisualStudio.Composition.AppHost/CreateComposition.cs index 6f1713c42..c4751f20d 100644 --- a/src/Microsoft.VisualStudio.Composition.AppHost/CreateComposition.cs +++ b/src/Microsoft.VisualStudio.Composition.AppHost/CreateComposition.cs @@ -1,10 +1,14 @@ -// Copyright (c) Microsoft. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. // Elements of this file taken from: // https://github.com/dotnet/buildtools/blob/647d79ca86350646be4b87b889221d9a1de9b710/src/common/AssemblyResolver.cs#L31-L107 // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file https://github.com/dotnet/buildtools/blob/master/LICENSE for more information. +#pragma warning disable CA1819 // Properties should not return arrays +#pragma warning disable CA1001 // Types that own disposable fields should be disposable + namespace Microsoft.VisualStudio.Composition.AppHost { using System; @@ -62,17 +66,17 @@ public CreateComposition() /// Gets a token that is canceled when MSBuild is requesting that we abort. public CancellationToken CancellationToken => this.cts.Token; - public ITaskItem[] CatalogAssemblies { get; set; } = new ITaskItem[0]; + public ITaskItem[] CatalogAssemblies { get; set; } = Array.Empty(); /// /// Gets or sets the paths to assemblies that may be loaded as part of MEF discovery (because they are referenced by an assembly in the .) /// - public ITaskItem[] ReferenceAssemblies { get; set; } = new ITaskItem[0]; + public ITaskItem[] ReferenceAssemblies { get; set; } = Array.Empty(); /// /// Gets or sets a list of paths to directories to search for MEF catalog assemblies. /// - public ITaskItem[] CatalogAssemblySearchPath { get; set; } = new ITaskItem[0]; + public ITaskItem[] CatalogAssemblySearchPath { get; set; } = Array.Empty(); /// /// Gets or sets a list of codes to suppress warnings for. diff --git a/src/Microsoft.VisualStudio.Composition/ComposedPart.cs b/src/Microsoft.VisualStudio.Composition/ComposedPart.cs index 66f0bb223..934785ee7 100644 --- a/src/Microsoft.VisualStudio.Composition/ComposedPart.cs +++ b/src/Microsoft.VisualStudio.Composition/ComposedPart.cs @@ -182,13 +182,14 @@ private static string GetDiagnosticLocation(ImportDefinitionBinding import) { Requires.NotNull(import, nameof(import)); + var memberName = import.ImportingParameter is object ? ("ctor(" + import.ImportingParameter.Name + ")") : + import.ImportingMemberRef is object ? import.ImportingMemberRef.Name : + "(unknown)"; return string.Format( CultureInfo.CurrentCulture, "{0}.{1}", import.ComposablePartType.FullName, - import.ImportingParameter is object ? ("ctor(" + import.ImportingParameter.Name + ")") : - import.ImportingMemberRef is object ? import.ImportingMemberRef.Name : - "(unknown)"); + memberName); } private static string? GetDiagnosticLocation(ExportDefinitionBinding export) diff --git a/src/Microsoft.VisualStudio.Composition/Configuration/NetFxAdapters.cs b/src/Microsoft.VisualStudio.Composition/Configuration/NetFxAdapters.cs index ce60b60db..c5f7b7df1 100644 --- a/src/Microsoft.VisualStudio.Composition/Configuration/NetFxAdapters.cs +++ b/src/Microsoft.VisualStudio.Composition/Configuration/NetFxAdapters.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. +#pragma warning disable CA2208 // Instantiate argument exceptions correctly + namespace Microsoft.VisualStudio.Composition { using System; diff --git a/src/Microsoft.VisualStudio.Composition/ExportProvider.cs b/src/Microsoft.VisualStudio.Composition/ExportProvider.cs index 9dbb51910..20992fa36 100644 --- a/src/Microsoft.VisualStudio.Composition/ExportProvider.cs +++ b/src/Microsoft.VisualStudio.Composition/ExportProvider.cs @@ -38,7 +38,7 @@ public abstract partial class ExportProvider : IDisposableObservable protected static readonly Lazy NotInstantiablePartLazy = new Lazy(() => CannotInstantiatePartWithNoImportingConstructor()); - protected static readonly Type[] EmptyTypeArray = new Type[0]; + protected static readonly Type[] EmptyTypeArray = Array.Empty(); protected static readonly object[] EmptyObjectArray = EmptyTypeArray; // Covariance allows us to reuse the derived type empty array. @@ -1705,7 +1705,9 @@ internal ExportProviderAsExport(ExportProvider inner) { } +#pragma warning disable CA2215 // Dispose methods should call base class dispose protected override void Dispose(bool disposing) +#pragma warning restore CA2215 // Dispose methods should call base class dispose { throw new InvalidOperationException(Strings.CannotDirectlyDisposeAnImport); } diff --git a/src/Microsoft.VisualStudio.Composition/LazyMetadataWrapper.cs b/src/Microsoft.VisualStudio.Composition/LazyMetadataWrapper.cs index 76e28d9d3..d3bb47c85 100644 --- a/src/Microsoft.VisualStudio.Composition/LazyMetadataWrapper.cs +++ b/src/Microsoft.VisualStudio.Composition/LazyMetadataWrapper.cs @@ -15,7 +15,8 @@ namespace Microsoft.VisualStudio.Composition internal class LazyMetadataWrapper : ExportProvider.IMetadataDictionary { - private static readonly HashSet AlwaysLoadedAssemblies = new HashSet(new[] { + private static readonly HashSet AlwaysLoadedAssemblies = new HashSet(new[] + { typeof(CreationPolicy).GetTypeInfo().Assembly, typeof(string).GetTypeInfo().Assembly, }); diff --git a/src/Microsoft.VisualStudio.Composition/PartDiscovery.cs b/src/Microsoft.VisualStudio.Composition/PartDiscovery.cs index 92c1375d4..536a2c0ea 100644 --- a/src/Microsoft.VisualStudio.Composition/PartDiscovery.cs +++ b/src/Microsoft.VisualStudio.Composition/PartDiscovery.cs @@ -614,7 +614,9 @@ public void Report(DiscoveryProgress value) value = new DiscoveryProgress(value.CompletedSteps, this.totalTypes, value.Status); bool update = false; +#pragma warning disable CA2002 // Do not lock on objects with weak identity lock (this) +#pragma warning restore CA2002 // Do not lock on objects with weak identity { // Only report progress if completion or status has changed significantly. if (Math.Abs(value.Completion - this.lastReportedProgress.Completion) > .01 || value.Status != this.lastReportedProgress.Status) diff --git a/src/Microsoft.VisualStudio.Composition/Reflection/TypeRef.cs b/src/Microsoft.VisualStudio.Composition/Reflection/TypeRef.cs index 43104c685..6be718934 100644 --- a/src/Microsoft.VisualStudio.Composition/Reflection/TypeRef.cs +++ b/src/Microsoft.VisualStudio.Composition/Reflection/TypeRef.cs @@ -419,7 +419,9 @@ private static Type[] GetGenericTypeArguments(MemberInfo member) } else { +#pragma warning disable CA2208 // Instantiate argument exceptions correctly throw new ArgumentException(); +#pragma warning restore CA2208 // Instantiate argument exceptions correctly } } diff --git a/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/NestedPart.cs b/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/NestedPart.cs index e6dcb2a37..0e046d651 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/NestedPart.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests/NestedPart.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. +#pragma warning disable SA1649 // File name should match first type name + namespace Microsoft.VisualStudio.Composition.AssemblyDiscoveryTests { using System; diff --git a/src/tests/Microsoft.VisualStudio.Composition.BrokenAssemblyTests/PartInAssemblyWithBadTypes.cs b/src/tests/Microsoft.VisualStudio.Composition.BrokenAssemblyTests/PartInAssemblyWithBadTypes.cs index a60991bec..a821dc31f 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.BrokenAssemblyTests/PartInAssemblyWithBadTypes.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.BrokenAssemblyTests/PartInAssemblyWithBadTypes.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. +#pragma warning disable SA1649 // File name should match first type name + namespace Microsoft.VisualStudio.Composition.BrokenAssemblyTests { using System.Composition; diff --git a/src/tests/Microsoft.VisualStudio.Composition.NonEmbeddingTypeReceiver/PartThatImportsLazyOfNonEmbeddedType.cs b/src/tests/Microsoft.VisualStudio.Composition.NonEmbeddingTypeReceiver/PartThatImportsLazyOfNonEmbeddedType.cs index 673851c65..f1f9fd04e 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.NonEmbeddingTypeReceiver/PartThatImportsLazyOfNonEmbeddedType.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.NonEmbeddingTypeReceiver/PartThatImportsLazyOfNonEmbeddedType.cs @@ -1,6 +1,8 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. +#pragma warning disable SA1649 // File name should match first type name + namespace Microsoft.VisualStudio.Composition.NonEmbeddingTypeReceiver { using System; diff --git a/src/tests/Microsoft.VisualStudio.Composition.TestEmbeddableTypes/ImportedFromTypeLibAttribute.cs b/src/tests/Microsoft.VisualStudio.Composition.TestEmbeddableTypes/ImportedFromTypeLibAttribute.cs index 8782a82b6..d625abe4e 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.TestEmbeddableTypes/ImportedFromTypeLibAttribute.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.TestEmbeddableTypes/ImportedFromTypeLibAttribute.cs @@ -3,6 +3,7 @@ namespace System.Runtime.InteropServices { + [AttributeUsage(AttributeTargets.Assembly)] internal sealed class ImportedFromTypeLibAttribute : Attribute { public ImportedFromTypeLibAttribute(string tlbFile) diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/AssembliesLazyLoadedTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/AssembliesLazyLoadedTests.cs index 49f55521c..c727389b1 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/AssembliesLazyLoadedTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/AssembliesLazyLoadedTests.cs @@ -25,7 +25,9 @@ public abstract class AssembliesLazyLoadedTests : IDisposable { private ICompositionCacheManager cacheManager; +#pragma warning disable CA2213 // Disposable fields should be disposed private TempFileCollection tfc; +#pragma warning restore CA2213 // Disposable fields should be disposed protected AssembliesLazyLoadedTests(ICompositionCacheManager cacheManager) { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/CompressedUIntTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/CompressedUIntTests.cs index 64ddf0027..fb47f2c14 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/CompressedUIntTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/CompressedUIntTests.cs @@ -31,7 +31,7 @@ public void CompressedUIntReadWrite() { for (uint i = 0; i < uint.MaxValue; i = checked((i * 5) + 1)) { - //this.output.WriteLine("0x{0:x8} {0,7}", i); + ////this.output.WriteLine("0x{0:x8} {0,7}", i); Test(i, writer, reader); } } diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/ImportingConstructorTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/ImportingConstructorTests.cs index 4264d751d..89f88e14f 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/ImportingConstructorTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/ImportingConstructorTests.cs @@ -260,7 +260,7 @@ internal class ImportManyArrayLazyWithMetadataConstructorPart public ImportManyArrayLazyWithMetadataConstructorPart([MefV1.ImportMany] Lazy[] exports) { Assert.NotNull(exports); - Assert.Equal(1, exports.Count()); + Assert.Equal(1, exports.Length); Assert.Equal("1", exports.First().Metadata.SomeMetadata); Assert.IsType(exports.First().Value); } @@ -279,7 +279,7 @@ internal class ImportManyCollectionLazyWithMetadataConstructorPart public ImportManyCollectionLazyWithMetadataConstructorPart([MefV1.ImportMany] Collection> exports) { Assert.NotNull(exports); - Assert.Equal(1, exports.Count()); + Assert.Equal(1, exports.Count); Assert.Equal("1", exports.First().Metadata.SomeMetadata); Assert.IsType(exports.First().Value); } diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/MefV1ExportProviderAdapterTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/MefV1ExportProviderAdapterTests.cs index df6949e39..0870495cf 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/MefV1ExportProviderAdapterTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/MefV1ExportProviderAdapterTests.cs @@ -120,7 +120,7 @@ public void GetExportsImportDefinitionForDelegateReturningProperty(IContainer co var importDefinition = new MefV1.Primitives.ContractBasedImportDefinition( MefV1.AttributedModelServices.GetTypeIdentity(typeof(SomeDelegate)), MefV1.AttributedModelServices.GetTypeIdentity(typeof(SomeDelegate)), - new KeyValuePair[0], + Array.Empty>(), MefV1.Primitives.ImportCardinality.ZeroOrMore, false, true, @@ -173,7 +173,7 @@ public void GetExportsImportDefinitionForDelegateExportWithMismatchingSignature( var importDefinition = new MefV1.Primitives.ContractBasedImportDefinition( MefV1.AttributedModelServices.GetTypeIdentity(typeof(SomeDelegate)), MefV1.AttributedModelServices.GetTypeIdentity(typeof(SomeDelegate)), - new KeyValuePair[0], + Array.Empty>(), MefV1.Primitives.ImportCardinality.ZeroOrMore, false, true, diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/LegacyMefTestCaseRunner.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/LegacyMefTestCaseRunner.cs index 6720643e5..7d337c716 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/LegacyMefTestCaseRunner.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/LegacyMefTestCaseRunner.cs @@ -58,7 +58,7 @@ private async Task RunMultiEngineTestAsync(CompositionEngines attrib { try { - parts = parts ?? new Type[0]; + parts = parts ?? Array.Empty(); var loadedAssemblies = assemblies != null ? assemblies.Select(an => Assembly.Load(new AssemblyName(an))).ToImmutableList() : ImmutableList.Empty; if (attributesVersion.HasFlag(CompositionEngines.V1)) diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/MefFactDiscoverer.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/MefFactDiscoverer.cs index 8eadb9ab5..59f88e13b 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/MefFactDiscoverer.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/XunitExtensions/MefFactDiscoverer.cs @@ -132,7 +132,7 @@ public override async Task RunAsync(IMessageSink diagnosticMessageSi } else { - var v3DiscoveryTest = new Mef3DiscoveryTestCaseRunner(this, "V3 composition", null, constructorArguments, messageBus, aggregator, cancellationTokenSource, this.compositionVersions, this.parts ?? new Type[0], this.assemblies ?? ImmutableList.Empty, this.invalidConfiguration); + var v3DiscoveryTest = new Mef3DiscoveryTestCaseRunner(this, "V3 composition", null, constructorArguments, messageBus, aggregator, cancellationTokenSource, this.compositionVersions, this.parts ?? Array.Empty(), this.assemblies ?? ImmutableList.Empty, this.invalidConfiguration); runSummary.Aggregate(await v3DiscoveryTest.RunAsync()); if (v3DiscoveryTest.Passed && (!this.invalidConfiguration || this.compositionVersions.HasFlag(CompositionEngines.V3AllowConfigurationWithErrors))) From 735b83f58675a6ac5ad6c22b32315bf57280fa61 Mon Sep 17 00:00:00 2001 From: Andrew Arnott Date: Thu, 21 Jan 2021 08:58:59 -0700 Subject: [PATCH 3/3] Accommodate mono runtime differences --- src/Microsoft.VisualStudio.Composition/ReflectionHelpers.cs | 4 ++++ .../AssembliesLazyLoadedTests.cs | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Microsoft.VisualStudio.Composition/ReflectionHelpers.cs b/src/Microsoft.VisualStudio.Composition/ReflectionHelpers.cs index fc7e248ea..9db492935 100644 --- a/src/Microsoft.VisualStudio.Composition/ReflectionHelpers.cs +++ b/src/Microsoft.VisualStudio.Composition/ReflectionHelpers.cs @@ -110,6 +110,10 @@ internal static Assignability IsAssignableTo(ImportDefinitionBinding import, Exp { return Assignability.DefinitelyNot; } + catch (TargetParameterCountException) + { + return Assignability.DefinitelyNot; + } } else { diff --git a/src/tests/Microsoft.VisualStudio.Composition.Tests/AssembliesLazyLoadedTests.cs b/src/tests/Microsoft.VisualStudio.Composition.Tests/AssembliesLazyLoadedTests.cs index c727389b1..7b7b1f49a 100644 --- a/src/tests/Microsoft.VisualStudio.Composition.Tests/AssembliesLazyLoadedTests.cs +++ b/src/tests/Microsoft.VisualStudio.Composition.Tests/AssembliesLazyLoadedTests.cs @@ -82,9 +82,10 @@ public async Task ComposableAssembliesLazyLoadedWhenQueried() } } - [Fact] + [SkippableFact] public async Task CatalogGetInputAssembliesDoesNotLoadLazyExports() { + SkipOnMono(); var catalog = TestUtilities.EmptyCatalog.AddParts( await TestUtilities.V2Discovery.CreatePartsAsync(typeof(ExternalExportWithExternalMetadataType), typeof(ExternalExportWithExternalMetadataTypeArray), typeof(ExternalExportWithExternalMetadataEnum32))); var catalogCache = await this.SaveCatalogAsync(catalog);