Pre-release v3.0.0-B0315 #1284
Annotations
10 warnings
Build:
src/PSRule/Commands/ExportConventionCommand.cs#L86
Dereference of a possibly null reference.
|
Build:
src/PSRule/Runtime/RunspaceContext.cs#L599
Dereference of a possibly null reference.
|
Build:
src/PSRule/Runtime/RunspaceContext.cs#L594
Possible null reference argument for parameter 'targetObject' in 'RuleRecord.RuleRecord(string runId, ResourceId ruleId, string @ref, TargetObject targetObject, string targetName, string targetType, IResourceTags tag, RuleHelpInfo info, Hashtable field, RuleProperties @default, ISourceExtent extent, RuleOutcome outcome = RuleOutcome.None, RuleOutcomeReason reason = RuleOutcomeReason.None, RuleOverride? @OverRide = null)'.
|
Build:
src/PSRule/Runtime/RunspaceContext.cs#L595
Possible null reference argument for parameter 'targetName' in 'RuleRecord.RuleRecord(string runId, ResourceId ruleId, string @ref, TargetObject targetObject, string targetName, string targetType, IResourceTags tag, RuleHelpInfo info, Hashtable field, RuleProperties @default, ISourceExtent extent, RuleOutcome outcome = RuleOutcome.None, RuleOutcomeReason reason = RuleOutcomeReason.None, RuleOverride? @OverRide = null)'.
|
Build:
src/PSRule/Runtime/RunspaceContext.cs#L596
Possible null reference argument for parameter 'targetType' in 'RuleRecord.RuleRecord(string runId, ResourceId ruleId, string @ref, TargetObject targetObject, string targetName, string targetType, IResourceTags tag, RuleHelpInfo info, Hashtable field, RuleProperties @default, ISourceExtent extent, RuleOutcome outcome = RuleOutcome.None, RuleOutcomeReason reason = RuleOutcomeReason.None, RuleOverride? @OverRide = null)'.
|
Build:
src/PSRule/Runtime/RunspaceContext.cs#L662
Dereference of a possibly null reference.
|
Build:
src/PSRule/Runtime/RunspaceContext.cs#L662
Possible null reference argument for parameter 'name' in 'object? ILanguageScope.GetService(string name)'.
|
Build:
src/PSRule/Runtime/RunspaceContext.cs#L827
Dereference of a possibly null reference.
|
Build:
src/PSRule/Rules/RuleRecord.cs#L30
Non-nullable property 'Field' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Build:
src/PSRule/Rules/RuleRecord.cs#L30
Non-nullable property 'Tag' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Module
|
2.96 MB |
|
Results-PSRule
|
7.79 KB |
|