优化并行枚举算法 #67
Annotations
2 errors and 21 warnings
build-linux-and-wasm:
InfrastSim/TimeDriven/WebHelper/Enumerate/EnumerateContext.cs#L48
The name '_lock' does not exist in the current context
|
build-linux-and-wasm
Process completed with exit code 1.
|
build-linux-and-wasm
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build-linux-and-wasm:
InfrastSimSourceGenerator/ScriptSourceGenerator.cs#L11
'InfrastSimSourceGenerator.ScriptSourceGenerator': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>'
|
build-linux-and-wasm:
InfrastSimSourceGenerator/OperatorGroupsSourceGenerator.cs#L13
'InfrastSimSourceGenerator.OperatorGroupsSourceGenerator': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>'
|
build-linux-and-wasm:
InfrastSimSourceGenerator/OperatorInstancesSourceGenerator.cs#L11
'InfrastSimSourceGenerator.OperatorInstancesSourceGenerator': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>'
|
build-linux-and-wasm:
InfrastSim/Algorithms/Combination.cs#L60
Possible null reference return.
|
build-linux-and-wasm:
InfrastSim/Algorithms/Combination.cs#L61
Possible null reference return.
|
build-linux-and-wasm:
InfrastSim/TimeDriven/WebHelper/Enumerate/MoodScheduler.cs#L11
Non-nullable field 'arrangements' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
|
build-linux-and-wasm:
InfrastSim/TimeDriven/TradingStation.cs#L18
Nullability of reference types in value of type 'IEnumerable<Order?>' doesn't match target type 'IEnumerable<Order>'.
|
build-linux-and-wasm:
InfrastSim/TimeDriven/WebHelper/Helper.cs#L189
Possible null reference argument for parameter 'strategyName' in 'void Helper.SetStrategy(Simulator simu, FacilityBase? fac, string strategyName)'.
|
build-linux-and-wasm:
InfrastSim/TimeDriven/WebHelper/Helper.cs#L192
Possible null reference argument for parameter 'productName' in 'void Helper.SetProduct(Simulator simu, FacilityBase? fac, string productName)'.
|
build-linux-and-wasm:
InfrastSim/TimeDriven/WebHelper/Helper.cs#L195
Possible null reference argument for parameter 'name' in 'OperatorBase Simulator.GetOperator(string name)'.
|
build-linux-and-wasm:
InfrastSimSourceGenerator/OperatorInstancesSourceGenerator.cs#L11
'InfrastSimSourceGenerator.OperatorInstancesSourceGenerator': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>'
|
build-linux-and-wasm:
InfrastSimSourceGenerator/ScriptSourceGenerator.cs#L11
'InfrastSimSourceGenerator.ScriptSourceGenerator': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>'
|
build-linux-and-wasm:
InfrastSimSourceGenerator/OperatorGroupsSourceGenerator.cs#L13
'InfrastSimSourceGenerator.OperatorGroupsSourceGenerator': A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>'
|
build-linux-and-wasm:
InfrastSim/TimeDriven/TradingStation.cs#L18
Nullability of reference types in value of type 'IEnumerable<Order?>' doesn't match target type 'IEnumerable<Order>'.
|
build-linux-and-wasm:
InfrastSim/Order.cs#L32
Possible null reference argument for parameter 'Name' in 'Material.Material(string Name, int Count)'.
|
build-linux-and-wasm:
InfrastSim/Order.cs#L32
Possible null reference argument for parameter 'Name' in 'Material.Material(string Name, int Count)'.
|
build-linux-and-wasm:
InfrastSim/TimeDriven/WebHelper/Helper.cs#L189
Possible null reference argument for parameter 'strategyName' in 'void Helper.SetStrategy(Simulator simu, FacilityBase? fac, string strategyName)'.
|
build-linux-and-wasm:
InfrastSim/TimeDriven/WebHelper/Helper.cs#L192
Possible null reference argument for parameter 'productName' in 'void Helper.SetProduct(Simulator simu, FacilityBase? fac, string productName)'.
|
build-linux-and-wasm:
InfrastSim/TimeDriven/WebHelper/Helper.cs#L195
Possible null reference argument for parameter 'name' in 'OperatorBase Simulator.GetOperator(string name)'.
|
build-linux-and-wasm:
InfrastSim/TimeDriven/WebHelper/Helper.cs#L220
Possible null reference argument for parameter 'strategyName' in 'void Helper.SetStrategy(Simulator simu, FacilityBase? fac, string strategyName)'.
|