minus-squarestarman@programming.devtoProgrammer Humor@programming.dev•COMEFROMlinkfedilinkEnglisharrow-up1·2 years agoLooks like C# 12 interceptors: [InterceptsLocation(@"C:\testapp\Program.cs", line: 4, column: 5)] I know it looks awful, but it’s not intended for direct use, but rather for source generators for native ahead of time compilation. https://andrewlock.net/exploring-the-dotnet-8-preview-changing-method-calls-with-interceptors/ linkfedilink
starman@programming.dev to Technology@lemmy.worldEnglish · edit-22 years agoCloudflare took down our website after trying to force us to pay $120000 within 24hplus-squarerobindev.substack.comexternal-linkmessage-square1linkfedilinkarrow-up11arrow-down11
arrow-up10arrow-down1external-linkCloudflare took down our website after trying to force us to pay $120000 within 24hplus-squarerobindev.substack.comstarman@programming.dev to Technology@lemmy.worldEnglish · edit-22 years agomessage-square1linkfedilink
starman@programming.dev to Programmer Humor@programming.devEnglish · 3 years agoHaskell researchers announce new discoveryplus-squaremessage-squaremessage-square1linkfedilinkarrow-up11arrow-down10
arrow-up11arrow-down1message-squareHaskell researchers announce new discoveryplus-squarestarman@programming.dev to Programmer Humor@programming.devEnglish · 3 years agomessage-square1linkfedilink
Looks like C# 12 interceptors:
[InterceptsLocation(@"C:\testapp\Program.cs", line: 4, column: 5)]I know it looks awful, but it’s not intended for direct use, but rather for source generators for native ahead of time compilation.
https://andrewlock.net/exploring-the-dotnet-8-preview-changing-method-calls-with-interceptors/