viewing CIL of a .net file

dotnet tool install -g dotnet-ildasm
dotnet ildasm Whatever.Service.dll -i ClassName
dotnet ildasm Whatever.Service.dll -i ::MethodName
dotnet ildasm Whatever.Service.dll -i ClassName::MethodName

Generates Common Intermediate Language code; ie

.class public auto ansi beforefieldinit Payments.Service.Dtos.Response.LaneFeesResponseDto extends [Shared.Services]Shared.Services.JsonApi.JsonApiResult
{
  .custom instance void class System.Runtime.CompilerServices.NullableContextAttribute::.ctor(byte) = ( 01 00 01 00 00 ) // .....
  .custom instance void class System.Runtime.CompilerServices.NullableAttribute::.ctor(byte) = ( 01 00 00 00 00 ) // .....

  .field private class [System.Collections]System.Collections.Generic.List`1<Payments.Service.Dtos.Response.LaneFeeDto> '<Data>k__BackingField'
  .custom instance void class [System.Runtime]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) // ....
  .custom instance void class [System.Diagnostics.Debug]System.Diagnostics.DebuggerBrowsableAttribute::.ctor(valuetype [System.Diagnostics.Debug]System.Diagnostics.DebuggerBrowsableState) = ( 01 00 00 00 00 00 00 00 ) // ........

  .method public hidebysig specialname instance default [System.Collections]System.Collections.Generic.List`1<Payments.Service.Dtos.Response.LaneFeeDto> get_Data() cil managed
  {
    .custom instance void class [System.Runtime]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) // ....
    // Method begins at Relative Virtual Address (RVA) 0x28AB
    // Code size 7 (0x7)
    .maxstack 8
    IL_0000: ldarg.0
    IL_0001: ldfld class [System.Collections]System.Collections.Generic.List`1<Payments.Service.Dtos.Response.LaneFeeDto> Payments.Service.Dtos.Response.LaneFeesResponseDto::'<Data>k__BackingField'
    IL_0006: ret
  } // End of method System.Collections.Generic.List`1<Payments.Service.Dtos.Response.LaneFeeDto> Payments.Service.Dtos.Response.LaneFeesResponseDto::get_Data()

  .method public hidebysig specialname instance default void set_Data(class [System.Collections]System.Collections.Generic.List`1<Payments.Service.Dtos.Response.LaneFeeDto> 'value') cil managed
  {
    .custom instance void class [System.Runtime]System.Runtime.CompilerServices.CompilerGeneratedAttribute::.ctor() = ( 01 00 00 00 ) // ....
    // Method begins at Relative Virtual Address (RVA) 0x28B3
    // Code size 8 (0x8)
    .maxstack 8
    IL_0000: ldarg.0
    IL_0001: ldarg.1
    IL_0002: stfld class [System.Collections]System.Collections.Generic.List`1<Payments.Service.Dtos.Response.LaneFeeDto> Payments.Service.Dtos.Response.LaneFeesResponseDto::'<Data>k__BackingField'
    IL_0007: ret
  } // End of method System.Void Payments.Service.Dtos.Response.LaneFeesResponseDto::set_Data(System.Collections.Generic.List`1<Payments.Service.Dtos.Response.LaneFeeDto>)
  // etc