ManagedCompiler.ListHasNoDuplicateItems(ITaskItem[], String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines if any duplicate items exist in the specified task parameter.
This API supports the product infrastructure and is not intended to be used directly from your code.
protected:
bool ListHasNoDuplicateItems(cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ itemList, System::String ^ parameterName);
protected bool ListHasNoDuplicateItems (Microsoft.Build.Framework.ITaskItem[] itemList, string parameterName);
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
protected bool ListHasNoDuplicateItems (Microsoft.Build.Framework.ITaskItem[] itemList, string parameterName);
member this.ListHasNoDuplicateItems : Microsoft.Build.Framework.ITaskItem[] * string -> bool
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.ListHasNoDuplicateItems : Microsoft.Build.Framework.ITaskItem[] * string -> bool
Protected Function ListHasNoDuplicateItems (itemList As ITaskItem(), parameterName As String) As Boolean
Parameters
- itemList
- ITaskItem[]
The list of items to examine for duplicates.
- parameterName
- String
The name of the parameter that contains the itemList
.
Returns
true
if the item list contains no duplicates; otherwise, false
.
- Attributes
Notes to Inheritors
This class uses the StrongNameIdentityPermissionAttribute attribute and cannot be inherited.