Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge main to features/required-members #61565

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
c052c70
Initial documentation for the TestAccessor Pattern
sharwell Jul 31, 2018
ee7d7a4
Add new background analysis scope for compiler diagnostics
mavasani Apr 17, 2022
f23262f
Address feedback
mavasani May 3, 2022
e0ebb1d
Add doc comment
mavasani May 3, 2022
76d40d7
Fix typo
mavasani May 3, 2022
d0ba04d
Merge remote-tracking branch 'upstream/main' into CompilerDiagnostics…
mavasani May 4, 2022
63cf5e6
Add missing node state transition
chsienki May 13, 2022
fc6eda6
Added syntax context flag
DoctorKrolic May 15, 2022
fdc131b
Keywords c#
DoctorKrolic May 15, 2022
89a06de
Symbols
DoctorKrolic May 15, 2022
43d566f
Snippets C#
DoctorKrolic May 15, 2022
b968aea
Remove set accessor of new SyntaxContext property
DoctorKrolic May 15, 2022
db1f465
PR feedback
DoctorKrolic May 16, 2022
82622f8
Simplify internal types search
DoctorKrolic May 16, 2022
b40ca42
PR feedback
DoctorKrolic May 17, 2022
3696b07
Add frozen delegate tests
DoctorKrolic May 18, 2022
5893090
Delegate keyword tests
DoctorKrolic May 18, 2022
1cf258f
Update SDK to .NET 7 Preview 4
JoeRobich May 19, 2022
6f8a095
Restrict IsGenericConstraintContext for C#
DoctorKrolic May 20, 2022
7a669c7
Do not filter snippets
DoctorKrolic May 20, 2022
eea81c4
Reverted delegate completion
DoctorKrolic May 22, 2022
5321970
Merge remote-tracking branch 'upstream/main' into CompilerDiagnostics…
mavasani May 23, 2022
d6a3ed3
Merge pull request #61422 from dotnet/dev/jorobich/update-sdk
JoeRobich May 23, 2022
8f468a1
Update status for DIM and numeric IntPtr (#61464)
jcouv May 23, 2022
36248bb
Lazily produce semantic models in source generators
CyrusNajmabadi May 23, 2022
87c2dd2
Remove unnecessary finalizer state handling from MethodToStateMachine…
tmat May 23, 2022
d15f7b9
Update src/Tools/IdeCoreBenchmarks/IncrementalSourceGeneratorBenchmar…
CyrusNajmabadi May 23, 2022
e466bc8
Update src/Tools/IdeCoreBenchmarks/IncrementalSourceGeneratorBenchmar…
CyrusNajmabadi May 23, 2022
3baab27
Update src/Tools/IdeCoreBenchmarks/IncrementalSourceGeneratorBenchmar…
CyrusNajmabadi May 23, 2022
3cdbd6a
lint
CyrusNajmabadi May 24, 2022
5a85a41
Merge remote-tracking branch 'upstream/main' into delayModel
CyrusNajmabadi May 24, 2022
c4912db
Merge pull request #61469 from CyrusNajmabadi/delayModel
CyrusNajmabadi May 24, 2022
2452cf5
Merge pull request #61335 from DoctorKrolic/better-completions-in-gen…
CyrusNajmabadi May 24, 2022
26d7000
Add tests and extra state
chsienki May 24, 2022
3c8342b
Extract checking for generic constraint context to extension method &…
DoctorKrolic May 24, 2022
a97b79c
Update test comment
chsienki May 24, 2022
71dbb54
Generate single OptProf config for compiler vsix
genlu May 24, 2022
eae2dcf
Merge pull request #61493 from genlu/FixOptProf
genlu May 24, 2022
139cb84
Reduce release/64 limit for EndToEndTests.Constraints (#61480)
jcouv May 24, 2022
4e0e256
Merge pull request #61308 from dotnet/update-runstep-table
JoeRobich May 24, 2022
220b3eb
Remove parameter nullchecking feature (#61397)
RikkiGibson May 24, 2022
f301d44
Fix null ref for JS files (#61472)
davidwengier May 24, 2022
1ecdc0b
Add file paths to interactive buffers and documents to support LSP re…
dibarbet May 24, 2022
b7838e9
Log additional information from CopyRefAssembly (#61384)
jcouv May 24, 2022
4b134a0
Require VS 17.0 in signed build.
JoeRobich May 24, 2022
5d93b7b
Merge pull request #61495 from dotnet/dev/jorobich/require-17.0
JoeRobich May 24, 2022
2f067e9
Bump LSP protocol version (#61494)
dibarbet May 24, 2022
828ca46
Disable inheritance margin for interactive documents (#61476)
dibarbet May 24, 2022
19db492
Improvements to the background compiler component
CyrusNajmabadi May 24, 2022
12b97ff
add docs
CyrusNajmabadi May 24, 2022
77f09e6
Simplify
CyrusNajmabadi May 25, 2022
0f2c2fd
docs
CyrusNajmabadi May 25, 2022
b2019ca
Check token
CyrusNajmabadi May 25, 2022
6cdec94
Simplify
CyrusNajmabadi May 25, 2022
accfa66
Simplify
CyrusNajmabadi May 25, 2022
da5dd76
Merge remote-tracking branch 'upstream/main' into CompilerDiagnostics…
mavasani May 25, 2022
5d57a4a
Rename enum field
mavasani May 25, 2022
595cada
Lifted relational operator implies operands non-null when true (#61403)
jcouv May 25, 2022
a79940d
Use ImmutableArray instead of IEnumerable parameters
mavasani May 25, 2022
9d669ef
Merge pull request #60808 from mavasani/CompilerDiagnosticsScope
mavasani May 25, 2022
c5a9251
Use assignabiilty instead of subclass test in extension loader
CyrusNajmabadi May 25, 2022
93a2b3c
Merge remote-tracking branch 'upstream/main' into backgroundCompilerWork
CyrusNajmabadi May 25, 2022
4825a5c
Fix test
CyrusNajmabadi May 25, 2022
53e4aaf
Fix test
CyrusNajmabadi May 25, 2022
c8d508b
Merge pull request #61497 from CyrusNajmabadi/backgroundCompilerWork
CyrusNajmabadi May 25, 2022
8ba416d
Merge pull request #61505 from CyrusNajmabadi/reflectionOp
CyrusNajmabadi May 25, 2022
5c7386f
Simplify rename implementation
CyrusNajmabadi May 25, 2022
55d3c68
Rename
CyrusNajmabadi May 25, 2022
9696920
Unify all end operations that rename performs
CyrusNajmabadi May 25, 2022
2173ca0
restore code
CyrusNajmabadi May 25, 2022
b1914a6
Remove unnecessary code'
CyrusNajmabadi May 25, 2022
645a140
Unify error handling in rename
CyrusNajmabadi May 25, 2022
06e9da9
Add comment
CyrusNajmabadi May 25, 2022
c8f0393
Merge pull request #61509 from CyrusNajmabadi/renameSimple
CyrusNajmabadi May 25, 2022
a3599eb
message severities
CyrusNajmabadi May 25, 2022
d8d517b
Restore
CyrusNajmabadi May 25, 2022
fcf7da2
Simplify
CyrusNajmabadi May 25, 2022
116376e
Merge remote-tracking branch 'upstream/main' into renameErrorHandling
CyrusNajmabadi May 25, 2022
00405d1
Bring main-vs-deps back (#61514)
Cosifne May 25, 2022
a2d8df7
Adjust conversion from nuint to float/double (#61345)
jcouv May 25, 2022
5b5a543
Merge remote-tracking branch 'upstream/main' into renameErrorHandling
CyrusNajmabadi May 25, 2022
8280d25
Add embedded classification for field initializers
CyrusNajmabadi May 26, 2022
edc152d
Add support for properties
CyrusNajmabadi May 26, 2022
3d0604a
Merge pull request #61512 from CyrusNajmabadi/renameSimple2
CyrusNajmabadi May 26, 2022
d6c09fb
Merge remote-tracking branch 'upstream/main' into renameErrorHandling
CyrusNajmabadi May 26, 2022
1fd3092
Update src/EditorFeatures/Core/InlineRename/InlineRenameSession.cs
CyrusNajmabadi May 26, 2022
752c9f2
Update src/EditorFeatures/Core/RenameTracking/RenameTrackingTaggerPro…
CyrusNajmabadi May 26, 2022
f0ee857
Update src/EditorFeatures/Core/RenameTracking/RenameTrackingTaggerPro…
CyrusNajmabadi May 26, 2022
254d2aa
Merge pull request #61522 from CyrusNajmabadi/regexFieldClassification
CyrusNajmabadi May 26, 2022
66db469
Fix setup authoring bug (#61508)
jaredpar May 26, 2022
0db292c
Expose VirtualChars to asp.net (through EA) to facilitate route class…
CyrusNajmabadi May 26, 2022
23fdff5
add docs
CyrusNajmabadi May 26, 2022
51aa854
Add member
CyrusNajmabadi May 26, 2022
074d650
Merge pull request #28967 from sharwell/mef-testing
sharwell May 26, 2022
12e626e
NRT
CyrusNajmabadi May 26, 2022
74b865f
Make async
CyrusNajmabadi May 26, 2022
223c9d1
Make async
CyrusNajmabadi May 26, 2022
f34c9fb
Pull token out
CyrusNajmabadi May 26, 2022
9f46d0a
Use feature attribute
CyrusNajmabadi May 26, 2022
9f4cf68
Merge pull request #61485 from DoctorKrolic/extract-check-to-extensio…
CyrusNajmabadi May 26, 2022
235ee5d
Remove Utf8StringLiteral conversion (#61481)
AlekseyTs May 26, 2022
da71c74
Fix AbstractLanguageService constructor (#61513)
tmat May 26, 2022
684d24a
Don't throw in logging when the document path contains curly braces (…
dibarbet May 26, 2022
04f2009
Update unit tests
CyrusNajmabadi May 26, 2022
9de4073
Merge pull request #61515 from CyrusNajmabadi/renameErrorHandling
CyrusNajmabadi May 26, 2022
5b45283
Merge remote-tracking branch 'upstream/main' into asyncEncapsulateField
CyrusNajmabadi May 26, 2022
7129e41
Improve normalization to match idiomatic patterns for nested usings a…
CyrusNajmabadi May 26, 2022
1db7eeb
Merge pull request #61531 from CyrusNajmabadi/asyncEncapsulateField
CyrusNajmabadi May 26, 2022
affb2c7
Merge pull request #61529 from CyrusNajmabadi/aspEmbeddedChars
CyrusNajmabadi May 26, 2022
9945a43
Prepare VB iterators for EnC support (#61488)
tmat May 26, 2022
9c4920a
Skip timing test (#61222)
chsienki May 26, 2022
91b259d
Merge remote-tracking branch 'upstream/main' into merges/main-to-feat…
333fred May 27, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions docs/Language Feature Status.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@ efforts behind them.

| Feature | Branch | State | Developer | Reviewer | LDM Champ |
| ------- | ------ | ----- | --------- | -------- | --------- |
| [DIM for Static Members](https://github.com/dotnet/csharplang/issues/4436) | [DefaultInterfaceImplementation](https://github.com/dotnet/roslyn/tree/features/DefaultInterfaceImplementation) | [Merged into 17.3p2](https://github.com/dotnet/roslyn/issues/60968) | [AlekseyTs](https://github.com/AlekseyTs) | [333fred](https://github.com/333fred), [jcouv](https://github.com/jcouv) | [MadsTorgersen](https://github.com/MadsTorgersen) |
| [Numeric IntPtr](https://github.com/dotnet/csharplang/issues/6065) | [numeric-intptr](https://github.com/dotnet/roslyn/tree/features/numeric-intptr) | [Merged into 17.3p2](https://github.com/dotnet/roslyn/issues/60578) | [jcouv](https://github.com/jcouv) | [cston](https://github.com/cston), [333fred](https://github.com/333fred) | [jcouv](https://github.com/jcouv) |
| [Unsigned Right Shift](https://github.com/dotnet/csharplang/issues/4682) | [UnsignedRightShift](https://github.com/dotnet/roslyn/tree/features/UnsignedRightShift) | [Merged into 17.3p1](https://github.com/dotnet/roslyn/issues/60433) | [AlekseyTs](https://github.com/AlekseyTs) | [333fred](https://github.com/333fred), [jcouv](https://github.com/jcouv) | [AlekseyTs](https://github.com/AlekseyTs) |
| [Utf8 String Literals](https://github.com/dotnet/csharplang/issues/184) | [Utf8StringLiterals](https://github.com/dotnet/roslyn/tree/features/Utf8StringLiterals) | [Merged into 17.3p1](https://github.com/dotnet/roslyn/issues/58848) | [AlekseyTs](https://github.com/AlekseyTs) | [cston](https://github.com/cston), [RikkiGibson](https://github.com/RikkiGibson) | [MadsTorgersen](https://github.com/MadsTorgersen) |
| [Pattern matching on `ReadOnlySpan<char>`](https://github.com/dotnet/csharplang/issues/1881) | [patterns-span-char](https://github.com/dotnet/roslyn/tree/features/patterns-span-char) | [Merged into 17.3p1](https://github.com/dotnet/roslyn/issues/59191) | [YairHalberstadt ](https://github.com/YairHalberstadt) | [cston](https://github.com/cston), [RikkiGibson](https://github.com/RikkiGibson) | [jcouv](https://github.com/jcouv) |
| [Checked Operators](https://github.com/dotnet/csharplang/issues/4665) | [CheckedUserDefinedOperators](https://github.com/dotnet/roslyn/tree/features/CheckedUserDefinedOperators) | [Merged into 17.3p1](https://github.com/dotnet/roslyn/issues/59458) | [AlekseyTs](https://github.com/AlekseyTs) | [333fred](https://github.com/333fred), [chsienki](https://github.com/chsienki) | [AlekseyTs](https://github.com/AlekseyTs) |
| [auto-default structs](https://github.com/dotnet/csharplang/issues/5737) | main | [Merged into 17.3p1](https://github.com/dotnet/roslyn/issues/60167) | [RikkiGibson](https://github.com/RikkiGibson) | [cston](https://github.com/cston), [jcouv](https://github.com/jcouv) |
| [Newlines in interpolations](https://github.com/dotnet/csharplang/issues/4935) | main | [Merged in 17.1p1](https://github.com/dotnet/roslyn/issues/57154) | [CyrusNajmabadi](https://github.com/CyrusNajmabadi) | [jcouv](https://github.com/jcouv), [chsienki](https://github.com/chsienki) | [CyrusNajmabadi](https://github.com/CyrusNajmabadi) |
Expand All @@ -28,12 +31,9 @@ efforts behind them.
| [Top Level statement attribute specifiers](https://github.com/dotnet/csharplang/issues/5045) | [main-attributes](https://github.com/dotnet/roslyn/tree/features/main-attributes) | [In Progress](https://github.com/dotnet/roslyn/issues/57047) | [chsienki](https://github.com/chsienki) | [cston](https://github.com/cston), [333fred](https://github.com/333fred) | [jaredpar](https://github.com/jaredpar) |
| [Primary Constructors](https://github.com/dotnet/csharplang/issues/2691) | [primary-constructors](https://github.com/dotnet/roslyn/tree/features/primary-constructors) | [In Progress](https://github.com/dotnet/roslyn/issues/57048) | TBD | TBD | [MadsTorgersen](https://github.com/MadsTorgersen) |
| [Params Span\<T> + Stackalloc any array type](https://github.com/dotnet/csharplang/issues/1757) | [params-span](https://github.com/dotnet/roslyn/tree/features/params-span) | [In Progress](https://github.com/dotnet/roslyn/issues/57049) | [cston](https://github.com/cston) | TBD | [jaredpar](https://github.com/jaredpar) |
| [Pattern matching on `ReadOnlySpan<char>`](https://github.com/dotnet/csharplang/issues/1881) | [patterns-span-char](https://github.com/dotnet/roslyn/tree/features/patterns-span-char) | [Merged into 17.3p1](https://github.com/dotnet/roslyn/issues/59191) | [YairHalberstadt ](https://github.com/YairHalberstadt) | [cston](https://github.com/cston), [RikkiGibson](https://github.com/RikkiGibson) | [jcouv](https://github.com/jcouv) |
| [nameof accessing instance members](https://github.com/dotnet/roslyn/issues/40229) | main | [In Progress](https://github.com/dotnet/roslyn/pull/48754) | [YairHalberstadt ](https://github.com/YairHalberstadt) | [333fred](https://github.com/333fred), [AlekseyTs](https://github.com/AlekseyTs) | [333fred](https://github.com/333fred) |
| [ref fields](https://github.com/dotnet/csharplang/blob/main/proposals/low-level-struct-improvements.md) | [ref-fields](https://github.com/dotnet/roslyn/tree/features/ref-fields) | [In Progress](https://github.com/dotnet/roslyn/issues/59194) | [cston](https://github.com/cston) | [RikkiGibson](https://github.com/RikkiGibson), [AlekseyTs](https://github.com/AlekseyTs) | [jaredpar](https://github.com/jaredpar) |
| [Numeric IntPtr](https://github.com/dotnet/csharplang/issues/6065) | [numeric-intptr](https://github.com/dotnet/roslyn/tree/features/numeric-intptr) | [In Progress](https://github.com/dotnet/roslyn/issues/60578) | [jcouv](https://github.com/jcouv) | [cston](https://github.com/cston), [333fred](https://github.com/333fred) | [jcouv](https://github.com/jcouv) |
| [File types](https://github.com/dotnet/csharplang/issues/6011) | [file-types](https://github.com/dotnet/roslyn/tree/features/file-types) | [In Progress](https://github.com/dotnet/roslyn/issues/60819) | [RikkiGibson](https://github.com/RikkiGibson) | [jcouv](https://github.com/jcouv), [cston](https://github.com/cston) | [stephentoub](https://github.com/stephentoub) |
| [DIM for Static Members](https://github.com/dotnet/csharplang/issues/4436) | [DefaultInterfaceImplementation](https://github.com/dotnet/roslyn/tree/features/DefaultInterfaceImplementation) | [In Progress](https://github.com/dotnet/roslyn/issues/60968) | [AlekseyTs](https://github.com/AlekseyTs) | [333fred](https://github.com/333fred), [jcouv](https://github.com/jcouv) | [MadsTorgersen](https://github.com/MadsTorgersen) |

# C# 10.0

Expand Down
45 changes: 45 additions & 0 deletions docs/TestAccessor Pattern.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# The `TestAccessor` Pattern

The `TestAccessor` pattern allows production code to expose internal functionality for test purposes without making the internal functionality available to other production code. The pattern has two primary components:

1. A `TestAccessor` type, which contains the functionality available only for testing
2. A `GetTestAccessor()` method, which returns an instance of `TestAccessor`

The pattern relies on enforcement of a simple rule that no production code is allowed to call a `GetTestAccessor()` method. This is enforceable either through code reviews or through an analyzer. This pattern has many advantages over alternatives:

* The pattern does not require expanded accessibility (e.g. `internal` instead of `private`) for the purpose of testing
* The pattern is self-documenting: all properties and methods within a `TestAccessor` type are intended only for use in test code
* The pattern is consistent enough to enforce through static analysis (analyzers)
* The pattern is simple enough to enforce manually (code reviews)

## The `TestAccessor` Type

The `TestAccessor` type is typically defined as a nested structure. In the following example, the `SomeProductionType.TestAccessor.PrivateStateData` property allows test code to read and write the value of the private field `SomeProductionType._privateStateData` without exposing the `_privateStateData` field to other production code.

```csharp
internal class SomeProductionType
{
private int _privateStateData;

internal readonly struct TestAccessor
{
private readonly SomeProductionType _instance;

internal TestAccessor(SomeProductionType instance)
{
_instance = instance;
}

internal ref int PrivateStateData => ref _instance._privateStateData;
}
}
```

## The `GetTestAccessor()` Method

The `GetTestAccessor()` method is always defined as follows:

```csharp
internal TestAccessor GetTestAccessor()
=> new TestAccessor(this);
```
4 changes: 2 additions & 2 deletions eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<VisualStudioEditorPackagesVersion>17.2.3194</VisualStudioEditorPackagesVersion>
<ILAsmPackageVersion>5.0.0-alpha1.19409.1</ILAsmPackageVersion>
<ILDAsmPackageVersion>5.0.0-preview.1.20112.8</ILDAsmPackageVersion>
<MicrosoftVisualStudioLanguageServerProtocolPackagesVersion>17.3.5</MicrosoftVisualStudioLanguageServerProtocolPackagesVersion>
<MicrosoftVisualStudioLanguageServerProtocolPackagesVersion>17.3.15</MicrosoftVisualStudioLanguageServerProtocolPackagesVersion>
<MicrosoftVisualStudioShellPackagesVersion>17.2.32505.113</MicrosoftVisualStudioShellPackagesVersion>
<RefOnlyMicrosoftBuildPackagesVersion>16.5.0</RefOnlyMicrosoftBuildPackagesVersion>
<!-- The version of Roslyn we build Source Generators against that are built in this
Expand Down Expand Up @@ -206,7 +206,7 @@
is expected by the NET SDK used in the Workspace.MSBuild UnitTests. In order to test against the same verion of NuGet
as our configured SDK, we must set the version to be the same.
-->
<NuGetCommonVersion>6.2.0-preview.2.80</NuGetCommonVersion>
<NuGetCommonVersion>6.3.0-preview.1.32</NuGetCommonVersion>
<NuGetConfigurationVersion>$(NuGetCommonVersion)</NuGetConfigurationVersion>
<NuGetFrameworksVersion>$(NuGetCommonVersion)</NuGetFrameworksVersion>
<NuGetPackagingVersion>$(NuGetCommonVersion)</NuGetPackagingVersion>
Expand Down
94 changes: 0 additions & 94 deletions eng/config/OptProf.json
Original file line number Diff line number Diff line change
Expand Up @@ -271,53 +271,6 @@
}
]
},
{
"name": "Microsoft.CodeAnalysis.Compilers.x86.vsix",
"tests": [
{
"container": "TeamEng",
"filteredTestCases": [
{
"filename": "/Contents/MSBuild/Current/Bin/Roslyn/Microsoft.CodeAnalysis.CSharp.dll",
"testCases":[ "TeamEng.OptProfTest.vs_debugger_start_no_build_cs_scribble" ]
},
{
"filename": "/Contents/MSBuild/Current/Bin/Roslyn/Microsoft.CodeAnalysis.dll",
"testCases":[ "TeamEng.OptProfTest.vs_debugger_start_no_build_cs_scribble" ]
},
{
"filename": "/Contents/MSBuild/Current/Bin/Roslyn/Microsoft.CodeAnalysis.VisualBasic.dll",
"testCases":[ "TeamEng.OptProfTest.vs_debugger_start_no_build_cs_scribble" ]
},
{
"filename": "/Contents/MSBuild/Current/Bin/Roslyn/VBCSCompiler.exe",
"testCases":[ "TeamEng.OptProfTest.vs_debugger_start_no_build_cs_scribble" ]
}
]
},
{
"container": "VSPE",
"filteredTestCases": [
{
"filename": "/Contents/MSBuild/Current/Bin/Roslyn/Microsoft.CodeAnalysis.CSharp.dll",
"testCases":[ "VSPE.OptProfTests.vs_perf_designtime_solution_build_vb_australiangovernment", "VSPE.OptProfTests.vs_perf_designtime_ide_searchtest", "VSPE.OptProfTests.DDRIT_RPS_ManagedLangs_Typing", "VSPE.OptProfTests.DDRIT_RPS_ManagedLangs_Debug" ]
},
{
"filename": "/Contents/MSBuild/Current/Bin/Roslyn/Microsoft.CodeAnalysis.dll",
"testCases":[ "VSPE.OptProfTests.vs_perf_designtime_solution_build_vb_australiangovernment", "VSPE.OptProfTests.vs_perf_designtime_ide_searchtest", "VSPE.OptProfTests.DDRIT_RPS_ManagedLangs_Typing", "VSPE.OptProfTests.DDRIT_RPS_ManagedLangs_Debug" ]
},
{
"filename": "/Contents/MSBuild/Current/Bin/Roslyn/Microsoft.CodeAnalysis.VisualBasic.dll",
"testCases":[ "VSPE.OptProfTests.vs_perf_designtime_solution_build_vb_australiangovernment", "VSPE.OptProfTests.vs_perf_designtime_ide_searchtest", "VSPE.OptProfTests.DDRIT_RPS_ManagedLangs_Debug" ]
},
{
"filename": "/Contents/MSBuild/Current/Bin/Roslyn/VBCSCompiler.exe",
"testCases":[ "VSPE.OptProfTests.vs_perf_designtime_solution_build_vb_australiangovernment", "VSPE.OptProfTests.vs_perf_designtime_ide_searchtest", "VSPE.OptProfTests.DDRIT_RPS_ManagedLangs_Debug" ]
}
]
}
]
},
{
"name": "Microsoft.CodeAnalysis.Compilers.x64.vsix",
"tests": [
Expand Down Expand Up @@ -364,53 +317,6 @@
]
}
]
},
{
"name": "Microsoft.CodeAnalysis.Compilers.arm64.vsix",
"tests": [
{
"container": "TeamEng",
"filteredTestCases": [
{
"filename": "/Contents/MSBuild/Current/Bin/Roslyn/Microsoft.CodeAnalysis.CSharp.dll",
"testCases":[ "TeamEng.OptProfTest.vs_debugger_start_no_build_cs_scribble" ]
},
{
"filename": "/Contents/MSBuild/Current/Bin/Roslyn/Microsoft.CodeAnalysis.dll",
"testCases":[ "TeamEng.OptProfTest.vs_debugger_start_no_build_cs_scribble" ]
},
{
"filename": "/Contents/MSBuild/Current/Bin/Roslyn/Microsoft.CodeAnalysis.VisualBasic.dll",
"testCases":[ "TeamEng.OptProfTest.vs_debugger_start_no_build_cs_scribble" ]
},
{
"filename": "/Contents/MSBuild/Current/Bin/Roslyn/VBCSCompiler.exe",
"testCases":[ "TeamEng.OptProfTest.vs_debugger_start_no_build_cs_scribble" ]
}
]
},
{
"container": "VSPE",
"filteredTestCases": [
{
"filename": "/Contents/MSBuild/Current/Bin/Roslyn/Microsoft.CodeAnalysis.CSharp.dll",
"testCases":[ "VSPE.OptProfTests.vs_perf_designtime_solution_build_vb_australiangovernment", "VSPE.OptProfTests.vs_perf_designtime_ide_searchtest", "VSPE.OptProfTests.DDRIT_RPS_ManagedLangs_Typing", "VSPE.OptProfTests.DDRIT_RPS_ManagedLangs_Debug" ]
},
{
"filename": "/Contents/MSBuild/Current/Bin/Roslyn/Microsoft.CodeAnalysis.dll",
"testCases":[ "VSPE.OptProfTests.vs_perf_designtime_solution_build_vb_australiangovernment", "VSPE.OptProfTests.vs_perf_designtime_ide_searchtest", "VSPE.OptProfTests.DDRIT_RPS_ManagedLangs_Typing", "VSPE.OptProfTests.DDRIT_RPS_ManagedLangs_Debug" ]
},
{
"filename": "/Contents/MSBuild/Current/Bin/Roslyn/Microsoft.CodeAnalysis.VisualBasic.dll",
"testCases":[ "VSPE.OptProfTests.vs_perf_designtime_solution_build_vb_australiangovernment", "VSPE.OptProfTests.vs_perf_designtime_ide_searchtest", "VSPE.OptProfTests.DDRIT_RPS_ManagedLangs_Debug" ]
},
{
"filename": "/Contents/MSBuild/Current/Bin/Roslyn/VBCSCompiler.exe",
"testCases":[ "VSPE.OptProfTests.vs_perf_designtime_solution_build_vb_australiangovernment", "VSPE.OptProfTests.vs_perf_designtime_ide_searchtest", "VSPE.OptProfTests.DDRIT_RPS_ManagedLangs_Debug" ]
}
]
}
]
}
],
"assemblies": [
Expand Down
10 changes: 10 additions & 0 deletions eng/config/PublishData.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,16 @@
"insertionTitlePrefix": "[d17.3p1]"
},
"main": {
"nugetKind": [
"Shipping",
"NonShipping"
],
"vsBranch": "main",
"vsMajorVersion": 17,
"insertionTitlePrefix": "[Validation]",
"insertionCreateDraftPR": true
},
"main-vs-deps": {
"nugetKind": [
"Shipping",
"NonShipping"
Expand Down
8 changes: 4 additions & 4 deletions global.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"sdk": {
"version": "7.0.100-preview.2.22153.17",
"version": "7.0.100-preview.4.22252.9",
"allowPrerelease": true,
"rollForward": "latestPatch"
},
"tools": {
"dotnet": "7.0.100-preview.2.22153.17",
"dotnet": "7.0.100-preview.4.22252.9",
"vs": {
"version": "16.10"
"version": "17.0"
},
"xcopy-msbuild": "16.10.0-preview2"
"xcopy-msbuild": "17.1.0"
},
"msbuild-sdks": {
"Microsoft.DotNet.Arcade.Sdk": "7.0.0-beta.22225.6",
Expand Down
1 change: 0 additions & 1 deletion src/Analyzers/CSharp/Analyzers/CSharpAnalyzers.projitems
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@
<Compile Include="$(MSBuildThisFileDirectory)UseIsNullCheck\CSharpUseNullCheckOverTypeCheckDiagnosticAnalyzer.cs" />
<Compile Include="$(MSBuildThisFileDirectory)UseIsNullCheck\CSharpUseIsNullCheckForCastAndEqualityOperatorDiagnosticAnalyzer.cs" />
<Compile Include="$(MSBuildThisFileDirectory)UseIsNullCheck\CSharpUseIsNullCheckForReferenceEqualsDiagnosticAnalyzer.cs" />
<Compile Include="$(MSBuildThisFileDirectory)UseParameterNullChecking\CSharpUseParameterNullCheckingDiagnosticAnalyzer.cs" />
<Compile Include="$(MSBuildThisFileDirectory)UseTupleSwap\CSharpUseTupleSwapDiagnosticAnalyzer.cs" />
<Compile Include="$(MSBuildThisFileDirectory)UseLocalFunction\CSharpUseLocalFunctionDiagnosticAnalyzer.cs" />
<Compile Include="$(MSBuildThisFileDirectory)UseNullPropagation\CSharpUseNullPropagationDiagnosticAnalyzer.cs" />
Expand Down
3 changes: 0 additions & 3 deletions src/Analyzers/CSharp/Analyzers/CSharpAnalyzersResources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -346,9 +346,6 @@
<data name="Use_tuple_to_swap_values" xml:space="preserve">
<value>Use tuple to swap values</value>
</data>
<data name="Use_parameter_null_checking" xml:space="preserve">
<value>Use parameter null checking</value>
</data>
<data name="Lambda_expression_can_be_removed" xml:space="preserve">
<value>Lambda expression can be removed</value>
</data>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ public CSharpAnalyzerOptionsProvider(AnalyzerConfigOptions options, AnalyzerOpti
public CodeStyleOption2<bool> VarWhenTypeIsApparent => GetOption(CSharpCodeStyleOptions.VarWhenTypeIsApparent, FallbackSimplifierOptions.VarWhenTypeIsApparent);
public CodeStyleOption2<bool> VarElsewhere => GetOption(CSharpCodeStyleOptions.VarElsewhere, FallbackSimplifierOptions.VarElsewhere);
public CodeStyleOption2<bool> PreferSimpleDefaultExpression => GetOption(CSharpCodeStyleOptions.PreferSimpleDefaultExpression, FallbackSimplifierOptions.PreferSimpleDefaultExpression);
public CodeStyleOption2<bool> PreferParameterNullChecking => GetOption(CSharpCodeStyleOptions.PreferParameterNullChecking, FallbackSimplifierOptions.PreferParameterNullChecking);
public CodeStyleOption2<bool> AllowEmbeddedStatementsOnSameLine => GetOption(CSharpCodeStyleOptions.AllowEmbeddedStatementsOnSameLine, FallbackSimplifierOptions.AllowEmbeddedStatementsOnSameLine);
public CodeStyleOption2<bool> PreferThrowExpression => GetOption(CSharpCodeStyleOptions.PreferThrowExpression, FallbackSimplifierOptions.PreferThrowExpression);
public CodeStyleOption2<PreferBracesPreference> PreferBraces => GetOption(CSharpCodeStyleOptions.PreferBraces, FallbackSimplifierOptions.PreferBraces);
Expand Down
Loading