Skip to content

Commit

Permalink
Merge pull request #56900 from dotnet/merges/release/dev17.0-to-relea…
Browse files Browse the repository at this point in the history
…se/dev17.0-vs-deps

Merge release/dev17.0 to release/dev17.0-vs-deps
  • Loading branch information
dotnet-bot authored Oct 1, 2021
2 parents cbc9c80 + 9c798fd commit 87373d4
Show file tree
Hide file tree
Showing 17 changed files with 775 additions and 673 deletions.
11 changes: 0 additions & 11 deletions src/Compilers/CSharp/Portable/Emitter/Model/PEModuleBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1532,17 +1532,6 @@ public NamedTypeSymbol SetFixedImplementationType(SourceMemberFieldSymbol field)
}
}

internal NamedTypeSymbol GetFixedImplementationType(FieldSymbol field)
{
// Note that this method is called only after ALL fixed buffer types have been placed in the map.
// At that point the map is all filled in and will not change further. Therefore it is safe to
// pull values from the map without locking.
NamedTypeSymbol result;
var found = _fixedImplementationTypes.TryGetValue(field, out result);
Debug.Assert(found);
return result;
}

protected override Cci.IMethodDefinition CreatePrivateImplementationDetailsStaticConstructor(PrivateImplementationDetails details, SyntaxNode syntaxOpt, DiagnosticBag diagnostics)
{
return new SynthesizedPrivateImplementationDetailsStaticConstructor(SourceModule, details, GetUntranslatedSpecialType(SpecialType.System_Void, syntaxOpt, diagnostics)).GetCciAdapter();
Expand Down
Loading

0 comments on commit 87373d4

Please sign in to comment.