Implementing .NET Dapr SDK-wide nullability annotations #1410
Annotations
11 errors
|
Build:
examples/Client/ServiceInvocation/InvokeServiceHttpExample.cs#L34
Dereference of a possibly null reference.
|
Build:
examples/Client/ServiceInvocation/InvokeServiceHttpExample.cs#L45
Dereference of a possibly null reference.
|
Build:
src/Dapr.Actors/Builder/ActorCodeBuilder.cs#L31
The type 'System.Type?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'System.Type?' doesn't match 'notnull' constraint.
|
Build:
src/Dapr.Actors/Builder/ActorCodeBuilder.cs#L32
The type 'System.Type?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'System.Type?' doesn't match 'notnull' constraint.
|
Build:
src/Dapr.Actors/Builder/ActorCodeBuilder.cs#L33
The type 'System.Type?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'System.Type?' doesn't match 'notnull' constraint.
|
Build:
src/Dapr.Actors/Runtime/ActorRuntime.cs#L33
The type 'string?' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'string?' doesn't match 'notnull' constraint.
|
Build:
src/Dapr.Actors/Runtime/ActorManager.cs#L39
The type 'Dapr.Actors.ActorId?' cannot be used as type parameter 'TKey' in the generic type or method 'ConcurrentDictionary<TKey, TValue>'. Nullability of type argument 'Dapr.Actors.ActorId?' doesn't match 'notnull' constraint.
|
Build:
src/Dapr.Actors/Communication/ActorResponseMessageBody.cs#L30
Nullability of reference types in return type of 'object? ActorResponseMessageBody.Get(Type paramType)' doesn't match implicitly implemented member 'object IActorResponseMessageBody.Get(Type paramType)' (possibly because of nullability attributes).
|
Build:
src/Dapr.Actors/Communication/ActorResponseMessageHeader.cs#L36
Nullability of reference types in type of parameter 'headerValue' of 'void ActorResponseMessageHeader.AddHeader(string headerName, byte[] headerValue)' doesn't match implicitly implemented member 'void IActorResponseMessageHeader.AddHeader(string headerName, byte[]? headerValue)' (possibly because of nullability attributes).
|
Build:
src/Dapr.Actors/Builder/MethodDispatcherBuilder.cs#L84
Possible null reference argument for parameter 'type' in 'object? Activator.CreateInstance(Type type)'.
|
Loading