A Repasky

A Repasky

  • NA
  • 231
  • 182.8k

Inconsistent accessibility

Apr 9 2013 12:18 PM
I am getting this:

Error 1 Inconsistent accessibility: parameter type 'System.Collections.Generic.List<DetailReport.DetailRecord>' is less accessible than method 'DetailReport.GenExcel.CreateContentRow(int, System.Collections.Generic.List<DetailReport.DetailRecord>, System.Collections.Generic.List<int>)' C:\CLI\CS\DetailReport\GenExcel.cs 1161 25 DetailReport

On this:


public static Row CreateContentRow(int index, DetailRecord det, List<int> setNumber)

with the call:

Row

I know I have to make something public, but what?


Thanks,

arep

contentRow = GenExcel.CreateContentRow(index, det, setNumber);

Answers (1)