Skip to content

Commit

Permalink
Fix minor things in comments to DllImportGenerator (#64088)
Browse files Browse the repository at this point in the history
  • Loading branch information
kant2002 authored Jan 27, 2022
1 parent 2074477 commit bd84729
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ private IEnumerable<StatementSyntax> GeneratePinningPath(TypePositionInfo info,
// of an array as long as it is non-null, matching the behavior of the built-in interop system
// for single-dimensional zero-based arrays.

// ref <elementType> <byRefIdentifier> = <managedIdentifer> == null ? ref *(<elementType*)0 : ref MemoryMarshal.GetArrayDataReference(<managedIdentifer>);
// ref <elementType> <byRefIdentifier> = ref <managedIdentifer> == null ? ref *(<elementType>*)0 : ref MemoryMarshal.GetArrayDataReference(<managedIdentifer>);
PrefixUnaryExpressionSyntax nullRef =
PrefixUnaryExpression(SyntaxKind.PointerIndirectionExpression,
CastExpression(
Expand Down

0 comments on commit bd84729

Please sign in to comment.