-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
Area-CompilersBugConcept-Diagnostic ClarityThe issues deals with the ease of understanding of errors and warnings.The issues deals with the ease of understanding of errors and warnings.help wantedThe issue is "up for grabs" - add a comment if you are interested in working on itThe issue is "up for grabs" - add a comment if you are interested in working on it
Milestone
Description
public class A
{
public byte* Ptr;
}The following code will not compile.
var x = new A ();
byte* ptr = x?.Ptr;The error itself doesnt make a lot of sense, so my guess it could be a potential bug:
Error CS0023 -- Operator '?' cannot be applied to operand of type 'byte*'
If not it is a quite handy operator to deal with pointers.
jnm2Copilot
Metadata
Metadata
Assignees
Labels
Area-CompilersBugConcept-Diagnostic ClarityThe issues deals with the ease of understanding of errors and warnings.The issues deals with the ease of understanding of errors and warnings.help wantedThe issue is "up for grabs" - add a comment if you are interested in working on itThe issue is "up for grabs" - add a comment if you are interested in working on it