Sdílet prostřednictvím


CompilationReference.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:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs

Returns an instance of the reference with specified aliases.

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

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:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs
Source:
CompilationReference.cs

Returns an instance of the reference with specified aliases.

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

Parameters

aliases
ImmutableArray<String>

The new aliases for the reference.

Returns

Exceptions

Alias is invalid for the metadata kind.

Applies to