Skip to content

Commit 878709c

Browse files
committed
adding license info
1 parent ae1fa04 commit 878709c

17 files changed

Lines changed: 141 additions & 15 deletions

File tree

.gitattributes

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
*.doc diff=astextplain
2+
*.DOC diff=astextplain
3+
*.docx diff=astextplain
4+
*.DOCX diff=astextplain
5+
*.dot diff=astextplain
6+
*.DOT diff=astextplain
7+
*.pdf diff=astextplain
8+
*.PDF diff=astextplain
9+
*.rtf diff=astextplain
10+
*.RTF diff=astextplain
11+
12+
*.jpg binary
13+
*.png binary
14+
*.gif binary
15+
16+
*.cs text=auto diff=csharp
17+
*.vb text=auto
18+
*.resx text=auto
19+
*.c text=auto
20+
*.cpp text=auto
21+
*.cxx text=auto
22+
*.h text=auto
23+
*.hxx text=auto
24+
*.py text=auto
25+
*.rb text=auto
26+
*.java text=auto
27+
*.html text=auto
28+
*.htm text=auto
29+
*.css text=auto
30+
*.scss text=auto
31+
*.sass text=auto
32+
*.less text=auto
33+
*.js text=auto
34+
*.lisp text=auto
35+
*.clj text=auto
36+
*.sql text=auto
37+
*.php text=auto
38+
*.lua text=auto
39+
*.m text=auto
40+
*.asm text=auto
41+
*.erl text=auto
42+
*.fs text=auto
43+
*.fsx text=auto
44+
*.hs text=auto
45+
46+
*.csproj text=auto
47+
*.vbproj text=auto
48+
*.fsproj text=auto
49+
*.dbproj text=auto
50+
*.sln text=auto eol=crlf
51+
52+
*.sh eol=lf

CONTRIBUTING.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# How to contribute
2+
3+
One of the easiest ways to contribute is to participate in discussions and discuss issues. You can also contribute by submitting pull requests with code changes.
4+
5+
## General feedback and discussions?
6+
Please start a discussion on the [Home repo issue tracker](https://github.com/aspnet/RoslynCodeDomProvider/issues).
7+
8+
## Bugs and feature requests?
9+
For non-security related bugs please log a new issue on the [Home repo issue tracker](https://github.com/aspnet/RoslynCodeDomProvider/issues).
10+
11+
## Reporting security issues and bugs
12+
Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) [email protected]. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the [Security TechCenter](https://technet.microsoft.com/en-us/security/ff852094.aspx).
13+
14+
## Filing issues
15+
When filing issues, please use our [bug filing templates](https://github.com/aspnet/RoslynCodeDomProvider/wiki/Functional-bug-template).
16+
The best way to get your bug fixed is to be as detailed as you can be about the problem.
17+
Providing a minimal project with steps to reproduce the problem is ideal.
18+
Here are questions you can answer before you file a bug to make sure you're not missing any important information.
19+
20+
1. Did you read the [documentation](https://github.com/aspnet/RoslynCodeDomProvider/wiki)?
21+
2. Did you include the snippet of broken code in the issue?
22+
3. What are the *EXACT* steps to reproduce this problem?
23+
4. What version Powershell are you using?
24+
5. What version of VS (including update version) are you using?
25+
26+
GitHub supports [markdown](https://help.github.com/articles/github-flavored-markdown/), so when filing bugs make sure you check the formatting before clicking submit.

LICENSE.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Copyright (c) .NET Foundation. All rights reserved.
2+
3+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4+
these files except in compliance with the License. You may obtain a copy of the
5+
License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software distributed
10+
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
11+
CONDITIONS OF ANY KIND, either express or implied. See the License for the
12+
specific language governing permissions and limitations under the License.

src/Microsoft.CodeDom.Providers.DotNetCompilerPlatform/AppSettings.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) .NET Foundation. All rights reserved.
2+
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3+
14
using System;
25
using System.Collections.Generic;
36
using System.Collections.Specialized;

src/Microsoft.CodeDom.Providers.DotNetCompilerPlatform/CSharpCodeProvider.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) .NET Foundation. All rights reserved.
2+
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3+
14
using System;
25
using System.CodeDom.Compiler;
36

@@ -29,4 +32,4 @@ public override ICodeCompiler CreateCompiler() {
2932
return new CSharpCompiler(this, _compilerSettings);
3033
}
3134
}
32-
}
35+
}

src/Microsoft.CodeDom.Providers.DotNetCompilerPlatform/CSharpCompiler.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) .NET Foundation. All rights reserved.
2+
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3+
14
using System;
25
using System.CodeDom.Compiler;
36
using System.Collections.Generic;

src/Microsoft.CodeDom.Providers.DotNetCompilerPlatform/Compiler.cs

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) .NET Foundation. All rights reserved.
2+
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3+
14
using System;
25
using System.CodeDom;
36
using System.CodeDom.Compiler;
@@ -142,7 +145,7 @@ protected virtual string CompilerName {
142145

143146
protected abstract void ProcessCompilerOutputLine(CompilerResults results, string line);
144147

145-
protected abstract string CmdArgsFromParameters(CompilerParameters options);
148+
protected abstract string CmdArgsFromParameters(CompilerParameters options);
146149

147150
protected abstract string FullPathsOption {
148151
get;
@@ -181,7 +184,7 @@ private CompilerResults FromSourceBatch(CompilerParameters options, string[] sou
181184
var filenames = new string[sources.Length];
182185
CompilerResults results = null;
183186

184-
// the extra try-catch is here to mitigate exception filter injection attacks.
187+
// the extra try-catch is here to mitigate exception filter injection attacks.
185188
try {
186189
WindowsImpersonationContext impersonation = RevertImpersonation();
187190
try {
@@ -254,7 +257,7 @@ private CompilerResults FromFileBatch(CompilerParameters options, string[] fileN
254257

255258
var pdbname = "pdb";
256259

257-
// Don't delete pdbs when debug=false but they have specified pdbonly.
260+
// Don't delete pdbs when debug=false but they have specified pdbonly.
258261
if (options.CompilerOptions != null
259262
&& -1 != CultureInfo.InvariantCulture.CompareInfo.IndexOf(options.CompilerOptions, "/debug:pdbonly", CompareOptions.IgnoreCase)) {
260263
results.TempFiles.AddExtension(pdbname, true);
@@ -453,4 +456,4 @@ private static string JoinStringArray(string[] sa, string separator) {
453456
return sb.ToString();
454457
}
455458
}
456-
}
459+
}

src/Microsoft.CodeDom.Providers.DotNetCompilerPlatform/Properties/AssemblyInfo.cs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1+
// Copyright (c) .NET Foundation. All rights reserved.
2+
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3+
14
using System.Reflection;
25
using System.Runtime.CompilerServices;
36
using System.Runtime.InteropServices;
47

5-
// General Information about an assembly is controlled through the following
8+
// General Information about an assembly is controlled through the following
69
// set of attributes. Change these attribute values to modify the information
710
// associated with an assembly.
811
[assembly: AssemblyTitle("Microsoft.CodeDom.Providers.DotNetCompilerPlatform")]
@@ -14,8 +17,8 @@
1417
[assembly: AssemblyTrademark("")]
1518
[assembly: AssemblyCulture("")]
1619

17-
// Setting ComVisible to false makes the types in this assembly not visible
18-
// to COM components. If you need to access a type in this assembly from
20+
// Setting ComVisible to false makes the types in this assembly not visible
21+
// to COM components. If you need to access a type in this assembly from
1922
// COM, set the ComVisible attribute to true on that type.
2023
[assembly: ComVisible(false)]
2124

src/Microsoft.CodeDom.Providers.DotNetCompilerPlatform/Util/CompilationSettings.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) .NET Foundation. All rights reserved.
2+
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3+
14
using System;
25
using System.IO;
36

@@ -36,7 +39,7 @@ internal static class CompilationSettingsHelper {
3639
private static ICompilerSettings _vb = new CompilerSettings(CompilerFullPath(@"bin\roslyn\vbc.exe"), DefaultCompilerServerTTL);
3740

3841
public static ICompilerSettings CSC2 {
39-
get {
42+
get {
4043
return _csc;
4144
}
4245
}

src/Microsoft.CodeDom.Providers.DotNetCompilerPlatform/Util/CompilationUtil.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// Copyright (c) .NET Foundation. All rights reserved.
2+
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
3+
14
using System.CodeDom.Compiler;
25

36
namespace Microsoft.CodeDom.Providers.DotNetCompilerPlatform {

0 commit comments

Comments
 (0)