Share via


CompilationUnitSyntax.WithExterns Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::CompilationUnitSyntax ^ WithExterns(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::CSharp::Syntax::ExternAliasDirectiveSyntax ^> externs);
public Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax WithExterns (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.ExternAliasDirectiveSyntax> externs);
member this.WithExterns : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.CSharp.Syntax.ExternAliasDirectiveSyntax> -> Microsoft.CodeAnalysis.CSharp.Syntax.CompilationUnitSyntax
Public Function WithExterns (externs As SyntaxList(Of ExternAliasDirectiveSyntax)) As CompilationUnitSyntax

Parameters

Returns

Applies to