Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Raise the default warning level in tests#47077

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
RikkiGibson merged 43 commits intodotnet:masterfromYoussef1313:patch-19
Oct 17, 2020
Merged
Changes from1 commit
Commits
Show all changes
43 commits
Select commitHold shift + click to select a range
af25f47
Raise the default warning level in tests
Youssef1313Aug 23, 2020
7faffae
Update CompilationWithAnalyzersTests.cs
Youssef1313Aug 23, 2020
d77232d
Update MetadataMemberTests.cs
Youssef1313Aug 23, 2020
dd454c4
Update CSharpDeterministicBuildCompilationTests.cs
Youssef1313Aug 23, 2020
a80d03e
Update AssemblyAndNamespaceTests.cs
Youssef1313Aug 23, 2020
ceed1f8
Update MetadataMemberTests.cs
Youssef1313Aug 23, 2020
afc64be
Update CompilationWithAnalyzersTests.cs
Youssef1313Aug 23, 2020
f0950fc
More updates
Youssef1313Aug 24, 2020
f2114f2
Update MetadataMemberTests.cs
Youssef1313Aug 24, 2020
54b0c34
Update AssemblyAndNamespaceTests.cs
Youssef1313Aug 24, 2020
368a08f
Update AssemblyAndNamespaceTests.cs
Youssef1313Aug 24, 2020
49709b9
Update MetadataMemberTests.cs
Youssef1313Aug 24, 2020
d773bed
More work
Youssef1313Aug 24, 2020
bc9d1c0
More
Youssef1313Aug 24, 2020
39c9106
More
Youssef1313Aug 24, 2020
f5a4770
Update InterpolationTests.cs
Youssef1313Aug 24, 2020
2ce9c1e
More fixes
Youssef1313Aug 26, 2020
ef5af4b
More fixes
Youssef1313Aug 26, 2020
4a422d8
Remove field
Youssef1313Aug 26, 2020
248daa8
Fix WarningVersionTests by explicitly using DefaultWarningLevel when …
Youssef1313Aug 28, 2020
99783b0
Fix Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests + One TODO
Youssef1313Aug 28, 2020
a94ec22
TODO in NameCollisionTests.TestCollisionInsideFor2
Youssef1313Aug 28, 2020
d469c4f
Fix a few more tests
Youssef1313Sep 4, 2020
5ea9ff7
Address feedback
Youssef1313Sep 5, 2020
55141e6
Fix an unintentional mistake
Youssef1313Sep 5, 2020
8704b06
Apply suggestions from code review
Youssef1313Sep 5, 2020
df16740
Fix TestCollisionInsideFor2
Youssef1313Sep 5, 2020
a56b3e2
Add WRN_SyncAndAsyncEntryPoints to expected diagnostics
Youssef1313Sep 5, 2020
0b5bac7
Add WRN_SyncAndAsyncEntryPoints to expected diagnostics
Youssef1313Sep 5, 2020
42af28b
Update src/Compilers/CSharp/Test/Emit/PDB/CSharpDeterministicBuildCom…
Youssef1313Sep 14, 2020
073cabe
Merge branch 'master' into patch-19
Youssef1313Sep 14, 2020
90a91ea
Update CodeGenAsyncMainTests.cs
Youssef1313Sep 14, 2020
2a0d753
Update SymbolErrorTests.cs
Youssef1313Sep 17, 2020
157b655
Update CodeGenFunctionPointersTests.cs
Youssef1313Sep 17, 2020
dc816b2
Update TopLevelStatementsTests.cs
Youssef1313Sep 17, 2020
ff7d2ec
Fix more tests
Youssef1313Sep 17, 2020
80ada6c
Merge branch 'master' into patch-19
Youssef1313Sep 17, 2020
133d393
Remove ReleaseDllWithWarningLevel5 field
Youssef1313Sep 17, 2020
7815651
Update SymbolErrorTests.cs
Youssef1313Sep 18, 2020
d9f2349
Merge branch 'master' into patch-19
Youssef1313Oct 3, 2020
b487ff8
Update InterpolationTests.cs
Youssef1313Oct 5, 2020
79a7027
Update SymbolErrorTests.cs
Youssef1313Oct 5, 2020
fbbf3c7
Merge branch 'master' of github.com:dotnet/roslyn into patch-19
RikkiGibsonOct 16, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Update SymbolErrorTests.cs
  • Loading branch information
@Youssef1313
Youssef1313 authoredOct 5, 2020
commit79a70275179de2d0bc1ce4315355288e2827ceb0
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -13241,6 +13241,8 @@ struct S
}
}";
CreateCompilation(source).VerifyDiagnostics(
// (12,14): warning CS8898: 'NS.D<T>': static types cannot be used as return types
Diagnostic(ErrorCode.WRN_ReturnTypeIsStaticClass, "M").WithArguments("NS.D<T>").WithLocation(12, 14),
// (16,25): error CS0722: 'NS.C': static types cannot be used as return types
Diagnostic(ErrorCode.ERR_ReturnTypeIsStaticClass, "F").WithArguments("NS.C").WithLocation(16, 25),
// (23,29): error CS0722: 'NS.D<sbyte>': static types cannot be used as return types
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp