dotnet / dotnet/csharplang

[Proposal] Add ability to declare global usings for namespaces, types and aliases by using a command line switch

Open
#3,428 159 comments 103 reactions 1 assignee Claimed by @AlekseyTs View on GitHub
Feature Request Implemented Needs ECMA Spec Proposal Proposal champion
Dominant language
C#
Stars
12.7k
Forks
1.1k
Avg merge
11h 1m
Merged PRs (30d)
3

Description

Motivation - provide shared context for the program to reduce repetition of common using directives across all source files. For example, ```using System;```, etc. VB compiler supports that for many years.

Specification: https://github.com/dotnet/csharplang/blob/main/proposals/csharp-10.0/GlobalUsingDirective.md

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.