Correct the wrong example about JSON source generator in the readme #1579
Annotations
10 warnings
build / build:
InterfaceStubGenerator.Shared/Emitter.cs#L191
Method WriteRefitMethod passes 'ReturnTypeMetadata' as the paramName argument to a ArgumentOutOfRangeException constructor. Replace this argument with one of the method's parameter names. Note that the provided parameter name should have the exact casing as declared on the method. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2208)
|
build / build:
InterfaceStubGenerator.Shared/Models/WellKnownTypes.cs#L12
In externally visible method 'INamedTypeSymbol WellKnownTypes.Get(Type type)', validate parameter 'type' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
build / build:
InterfaceStubGenerator.Shared/InterfaceStubGenerator.cs#L28
Unused field 'TypeParameterVariableName' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1823)
|
build / build:
InterfaceStubGenerator.Shared/UniqueNameBuilder.cs#L6
Missing XML comment for publicly visible type or member 'UniqueNameBuilder.UniqueNameBuilder()'
|
build / build:
InterfaceStubGenerator.Shared/UniqueNameBuilder.cs#L6
Missing XML comment for publicly visible type or member 'UniqueNameBuilder'
|
build / build:
InterfaceStubGenerator.Shared/Models/WellKnownTypes.cs#L15
Missing XML comment for publicly visible type or member 'WellKnownTypes.TryGet(string)'
|
build / build:
InterfaceStubGenerator.Shared/Models/WellKnownTypes.cs#L10
Missing XML comment for publicly visible type or member 'WellKnownTypes.Get(Type)'
|
build / build:
InterfaceStubGenerator.Shared/Models/WellKnownTypes.cs#L9
Missing XML comment for publicly visible type or member 'WellKnownTypes.Get<T>()'
|
build / build:
InterfaceStubGenerator.Shared/Models/WellKnownTypes.cs#L5
Missing XML comment for publicly visible type or member 'WellKnownTypes.WellKnownTypes(Compilation)'
|
build / build:
InterfaceStubGenerator.Shared/Models/WellKnownTypes.cs#L5
Missing XML comment for publicly visible type or member 'WellKnownTypes'
|
Artifacts
Produced during runtime
Name | Size | Digest | |
---|---|---|---|
nuget
|
671 KB |
sha256:27da9041ed00ff4f12d27b34ab342e410ee8d6466fe73f2d05be9aa1a75b19f2
|
|