Udostępnij za pośrednictwem


Compilation.GetUnreferencedAssemblyIdentities(Diagnostic) Method

Definition

Given a Diagnostic reporting unreferenced AssemblyIdentitys, returns the actual AssemblyIdentity instances that were not referenced.

public:
 System::Collections::Immutable::ImmutableArray<Microsoft::CodeAnalysis::AssemblyIdentity ^> GetUnreferencedAssemblyIdentities(Microsoft::CodeAnalysis::Diagnostic ^ diagnostic);
public System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.AssemblyIdentity> GetUnreferencedAssemblyIdentities (Microsoft.CodeAnalysis.Diagnostic diagnostic);
member this.GetUnreferencedAssemblyIdentities : Microsoft.CodeAnalysis.Diagnostic -> System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.AssemblyIdentity>
Public Function GetUnreferencedAssemblyIdentities (diagnostic As Diagnostic) As ImmutableArray(Of AssemblyIdentity)

Parameters

diagnostic
Diagnostic

Returns

Applies to