333fred
333fred
CC#
Created by ekhidna on 7/2/2024 in #help
Confusing code with keyword ref
But maybe a different implementation initializes it?
11 replies
CC#
Created by ekhidna on 7/2/2024 in #help
Confusing code with keyword ref
It's weird that's a ref at all
11 replies
CC#
Created by ekhidna on 7/2/2024 in #help
Confusing code with keyword ref
Kinda
11 replies
CC#
Created by ekhidna on 7/2/2024 in #help
Confusing code with keyword ref
If you're confident that audit is never getting assigned by any implementation of IBaseRepository, then it could be fine to remove
11 replies
CC#
Created by ekhidna on 7/2/2024 in #help
Confusing code with keyword ref
Usually
11 replies
CC#
Created by ekhidna on 7/2/2024 in #help
Confusing code with keyword ref
Usually a ref parameter like this means that the body will actually initialize it
11 replies
CC#
Created by Win on 6/27/2024 in #help
Source generator WithAttributeMetadataName transform function not get invoke
The framework is designed to work with many different versions of roslyn, so this is a common thing that can happen
22 replies
CC#
Created by Win on 6/27/2024 in #help
Source generator WithAttributeMetadataName transform function not get invoke
Explicitly reference Microsoft.CodeAnalysis.CSharp 4.10 in your tests
22 replies
CC#
Created by Win on 6/27/2024 in #help
Source generator WithAttributeMetadataName transform function not get invoke
22 replies
CC#
Created by Win on 6/27/2024 in #help
Source generator WithAttributeMetadataName transform function not get invoke
I generally recommend using the official testing SDK
22 replies
CC#
Created by Win on 6/27/2024 in #help
Source generator WithAttributeMetadataName transform function not get invoke
If you're going to manually construct compilations like this, I would highly recommend using https://github.com/jaredpar/basic-reference-assemblies to get the references to pass to the compiler
22 replies
CC#
Created by Win on 6/27/2024 in #help
Source generator WithAttributeMetadataName transform function not get invoke
https://github.com/wingyplus/dagger-dotnet-sdk/pull/7/files#diff-4074c63e648aa9325c7fce423c19505a9b31b9af880afcbf8b972645accd8106R89 Not sure what Binder is in this case, but you're also not providing any of the basic reference assemblies for the runtime
22 replies
CC#
Created by Win on 6/27/2024 in #help
Source generator WithAttributeMetadataName transform function not get invoke
The compilation
22 replies
CC#
Created by Win on 6/27/2024 in #help
Source generator WithAttributeMetadataName transform function not get invoke
I'd be willing to bet that, if you were to call GetDiagnostics on the compilation, you'd get an error that ObjectAttribute wasn't found
22 replies
CC#
Created by Win on 6/27/2024 in #help
Source generator WithAttributeMetadataName transform function not get invoke
This is really another example of where I don't like the Verify framework: nothing is verifying that your code has no other errors in it
22 replies
CC#
Created by Win on 6/27/2024 in #help
Source generator WithAttributeMetadataName transform function not get invoke
Where are you providing that to your test though?
22 replies
CC#
Created by Win on 6/27/2024 in #help
Source generator WithAttributeMetadataName transform function not get invoke
Have you verified that the code actually compiles? For example, I don't see where you're providing the definition of Dagger.SDK.Mod.ObjectAttribute
22 replies
CC#
Created by Win on 6/27/2024 in #help
Source generator WithAttributeMetadataName transform function not get invoke
Have you written unit tests?
22 replies
CC#
Created by heywink on 6/20/2024 in #help
Internal error in the debugger.Exception = System.DllNotFoundException
It is very much not a good idea to be running it
36 replies
CC#
Created by heywink on 6/20/2024 in #help
Internal error in the debugger.Exception = System.DllNotFoundException
However, and I can't stress this enough: macOS 11 is out of support. It last received a patch 9 months ago, and won't receive any more
36 replies