Conversation
9dac4e0 to
96acfe2
Compare
96acfe2 to
b728c50
Compare
This comment was marked as resolved.
This comment was marked as resolved.
src/Compilers/CSharp/Portable/Symbols/Source/SourceMemberContainerSymbol.cs
Outdated
Show resolved
Hide resolved
src/Compilers/CSharp/Portable/Symbols/Synthesized/GeneratedNameParser.cs
Show resolved
Hide resolved
src/Compilers/CSharp/Portable/Symbols/Synthesized/GeneratedNameParser.cs
Show resolved
Hide resolved
src/Compilers/CSharp/Portable/Symbols/Source/SourceMemberContainerSymbol.cs
Show resolved
Hide resolved
src/Compilers/CSharp/Test/Symbol/Symbols/Source/FileModifierTests.cs
Outdated
Show resolved
Hide resolved
src/Compilers/CSharp/Test/Symbol/Symbols/Source/FileModifierTests.cs
Outdated
Show resolved
Hide resolved
src/ExpressionEvaluator/CSharp/Test/ExpressionCompiler/CompileExpressionsTests.cs
Outdated
Show resolved
Hide resolved
src/Compilers/CSharp/Portable/Symbols/Retargeting/RetargetingNamedTypeSymbol.cs
Outdated
Show resolved
Hide resolved
src/Compilers/CSharp/Portable/Symbols/PublicModel/NamedTypeSymbol.cs
Outdated
Show resolved
Hide resolved
src/ExpressionEvaluator/CSharp/Source/ExpressionCompiler/Binders/EEMethodBinder.cs
Show resolved
Hide resolved
|
Done with review pass (commit 26) |
davidwengier
left a comment
There was a problem hiding this comment.
I can't see anything wrong with the IDE changes :D
| // file1.cs(5,9): error CS0103: The name 'C1' does not exist in the current context | ||
| // C1.M1(); | ||
| Diagnostic(ErrorCode.ERR_NameNotInContext, "C1").WithArguments("C1").WithLocation(5, 9)); | ||
| var retargeted = comp1.GetMember<NamedTypeSymbol>("C1"); |
|
Validation insertion (internal only): https://dev.azure.com/devdiv/DevDiv/_git/VS/pullrequest/421815 (edited) |
|
CloudBuild and RPS are clean on the VS insertion so will merge. |
|
|
||
| namespace Microsoft.CodeAnalysis.CSharp; | ||
|
|
||
| internal struct FileIdentifier |
| try | ||
| { | ||
| var encodedFilePath = s_encoding.GetBytes(filePath); | ||
| using var sha256 = SHA256.Create(); |
There was a problem hiding this comment.
Need to avoid hard coding any crypto algorithms in our code base. Instead need to use one of our centralized locations. When we don't centralize it means we get hassled hard as crypto algorithms are deprecated and we have to find all the individual places it was used. Likely should centralize in SourceHashAgorithms
There was a problem hiding this comment.
I wasn't sure what the correct usage would look like here. It seems like SourceHashAlgorithms itself just has helpers for converting to/from the GUID used to denote a hash algorithm in a portable PDB.
Closes #62334
Closes #62332
There are some TODOs in here, some of which represent open questions. Any input you have on them would be appreciated.
@cston @jcouv @tmat @dibarbet for review.