Delen via


PortableExecutableReference.WithAliases Method

Definition

Overloads

WithAliases(IEnumerable<String>)

Returns an instance of the reference with specified aliases.

WithAliases(ImmutableArray<String>)

Returns an instance of the reference with specified aliases.

WithAliases(IEnumerable<String>)

Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs

Returns an instance of the reference with specified aliases.

public:
 Microsoft::CodeAnalysis::PortableExecutableReference ^ WithAliases(System::Collections::Generic::IEnumerable<System::String ^> ^ aliases);
public Microsoft.CodeAnalysis.PortableExecutableReference WithAliases (System.Collections.Generic.IEnumerable<string> aliases);
override this.WithAliases : seq<string> -> Microsoft.CodeAnalysis.PortableExecutableReference
Public Function WithAliases (aliases As IEnumerable(Of String)) As PortableExecutableReference

Parameters

aliases
IEnumerable<String>

The new aliases for the reference.

Returns

Exceptions

Alias is invalid for the metadata kind.

Applies to

WithAliases(ImmutableArray<String>)

Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs
Source:
PortableExecutableReference.cs

Returns an instance of the reference with specified aliases.

public:
 Microsoft::CodeAnalysis::PortableExecutableReference ^ WithAliases(System::Collections::Immutable::ImmutableArray<System::String ^> aliases);
public Microsoft.CodeAnalysis.PortableExecutableReference WithAliases (System.Collections.Immutable.ImmutableArray<string> aliases);
override this.WithAliases : System.Collections.Immutable.ImmutableArray<string> -> Microsoft.CodeAnalysis.PortableExecutableReference
Public Function WithAliases (aliases As ImmutableArray(Of String)) As PortableExecutableReference

Parameters

aliases
ImmutableArray<String>

The new aliases for the reference.

Returns

Exceptions

Alias is invalid for the metadata kind.

Applies to