Untitled
unknown
plain_text
2 years ago
6.9 kB
4
Indexable
SolutionTest.cs(192,47): error CS0311: The type 'MyProgram.SolutionTest.MockShape' cannot be used as type parameter 'T' in the generic type or method 'Room<T>'. There is no implicit reference conversion from 'MyProgram.SolutionTest.MockShape' to 'System.ICloneable'. [prog.csproj] SolutionTest.cs(207,18): error CS0311: The type 'MyProgram.SolutionTest.MockShape' cannot be used as type parameter 'T' in the generic type or method 'Room<T>'. There is no implicit reference conversion from 'MyProgram.SolutionTest.MockShape' to 'System.ICloneable'. [prog.csproj] SolutionTest.cs(207,47): error CS0311: The type 'MyProgram.SolutionTest.MockShape' cannot be used as type parameter 'T' in the generic type or method 'Room<T>'. There is no implicit reference conversion from 'MyProgram.SolutionTest.MockShape' to 'System.ICloneable'. [prog.csproj] SolutionTest.cs(208,18): error CS0311: The type 'MyProgram.SolutionTest.MockShape' cannot be used as type parameter 'T' in the generic type or method 'Room<T>'. There is no implicit reference conversion from 'MyProgram.SolutionTest.MockShape' to 'System.ICloneable'. [prog.csproj] SolutionTest.cs(208,49): error CS0311: The type 'MyProgram.SolutionTest.MockShape' cannot be used as type parameter 'T' in the generic type or method 'Room<T>'. There is no implicit reference conversion from 'MyProgram.SolutionTest.MockShape' to 'System.ICloneable'. [prog.csproj] SolutionTest.cs(232,18): error CS0311: The type 'MyProgram.IShape' cannot be used as type parameter 'T' in the generic type or method 'Room<T>'. There is no implicit reference conversion from 'MyProgram.IShape' to 'System.ICloneable'. [prog.csproj] SolutionTest.cs(232,45): error CS0311: The type 'MyProgram.IShape' cannot be used as type parameter 'T' in the generic type or method 'Room<T>'. There is no implicit reference conversion from 'MyProgram.IShape' to 'System.ICloneable'. [prog.csproj] SolutionTest.cs(233,18): error CS0311: The type 'MyProgram.IShape' cannot be used as type parameter 'T' in the generic type or method 'Room<T>'. There is no implicit reference conversion from 'MyProgram.IShape' to 'System.ICloneable'. [prog.csproj] SolutionTest.cs(233,45): error CS0311: The type 'MyProgram.IShape' cannot be used as type parameter 'T' in the generic type or method 'Room<T>'. There is no implicit reference conversion from 'MyProgram.IShape' to 'System.ICloneable'. [prog.csproj] SolutionTest.cs(277,18): error CS0311: The type 'MyProgram.IShape' cannot be used as type parameter 'T' in the generic type or method 'Room<T>'. There is no implicit reference conversion from 'MyProgram.IShape' to 'System.ICloneable'. [prog.csproj] SolutionTest.cs(277,45): error CS0311: The type 'MyProgram.IShape' cannot be used as type parameter 'T' in the generic type or method 'Room<T>'. There is no implicit reference conversion from 'MyProgram.IShape' to 'System.ICloneable'. [prog.csp ...snip... cannot be used as type parameter 'T' in the generic type or method 'RoomComparerByVolume<T>'. There is no implicit reference conversion from 'MyProgram.IShape' to 'System.ICloneable'. [prog.csproj] Build FAILED. SolutionTest.cs(192,47): error CS0311: The type 'MyProgram.SolutionTest.MockShape' cannot be used as type parameter 'T' in the generic type or method 'Room<T>'. There is no implicit reference conversion from 'MyProgram.SolutionTest.MockShape' to 'System.ICloneable'. [prog.csproj] SolutionTest.cs(207,18): error CS0311: The type 'MyProgram.SolutionTest.MockShape' cannot be used as type parameter 'T' in the generic type or method 'Room<T>'. There is no implicit reference conversion from 'MyProgram.SolutionTest.MockShape' to 'System.ICloneable'. [prog.csproj] SolutionTest.cs(207,47): error CS0311: The type 'MyProgram.SolutionTest.MockShape' cannot be used as type parameter 'T' in the generic type or method 'Room<T>'. There is no implicit reference conversion from 'MyProgram.SolutionTest.MockShape' to 'System.ICloneable'. [prog.csproj] SolutionTest.cs(208,18): error CS0311: The type 'MyProgram.SolutionTest.MockShape' cannot be used as type parameter 'T' in the generic type or method 'Room<T>'. There is no implicit reference conversion from 'MyProgram.SolutionTest.MockShape' to 'System.ICloneable'. [prog.csproj] SolutionTest.cs(208,49): error CS0311: The type 'MyProgram.SolutionTest.MockShape' cannot be used as type parameter 'T' in the generic type or method 'Room<T>'. There is no implicit reference conversion from 'MyProgram.SolutionTest.MockShape' to 'System.ICloneable'. [prog.csproj] SolutionTest.cs(232,18): error CS0311: The type 'MyProgram.IShape' cannot be used as type parameter 'T' in the generic type or method 'Room<T>'. There is no implicit reference conversion from 'MyProgram.IShape' to 'System.ICloneable'. [prog.csproj] SolutionTest.cs(232,45): error CS0311: The type 'MyProgram.IShape' cannot be used as type parameter 'T' in the generic type or method 'Room<T>'. There is no implicit reference conversion from 'MyProgram.IShape' to 'System.ICloneable'. [prog.csproj] SolutionTest.cs(233,18): error CS0311: The type 'MyProgram.IShape' cannot be used as type parameter 'T' in the generic type or method 'Room<T>'. There is no implicit reference conversion from 'MyProgram.IShape' to 'System.ICloneable'. [prog.csproj] SolutionTest.cs(233,45): error CS0311: The type 'MyProgram.IShape' cannot be used as type parameter 'T' in the generic type or method 'Room<T>'. There is no implicit reference conversion from 'MyProgram.IShape' to 'System.ICloneable'. [prog.csproj] SolutionTest.cs(277,18): error CS0311: The type 'MyProgram.IShape' cannot be used as type parameter 'T' in the generic type or method 'Room<T>'. There is no implicit reference conversion from 'MyProgram.IShape' to 'System.ICloneable'. [prog.csproj] SolutionTest.cs(277,45): error CS0311: The type 'MyProgram.IShape' cannot be used as type parameter 'T' in the generic type or method 'Room<T>'. There is no implicit reference conversion from 'MyProgram.IShape' to 'System.ICloneable'. [prog.csproj] SolutionTest.cs(278,18): error CS0311: The type 'MyProgram.IShape' cannot be used as type parameter 'T' in the generic type or method 'Room<T>'. There is no implicit reference conversion from 'MyProgram.IShape' to 'System.ICloneable'. [prog.csproj] SolutionTest.cs(278,45): error CS0311: The type 'MyProgram.IShape' cannot be used as type parameter 'T' in the generic type or method 'Room<T>'. There is no implicit reference conversion from 'MyProgram.IShape' to 'System.ICloneable'. [prog.csproj] SolutionTest.cs(281,44): error CS0311: The type 'MyProgram.IShape' cannot be used as type parameter 'T' in the generic type or method 'RoomComparerByVolume<T>'. There is no implicit reference conversion from 'MyProgram.IShape' to 'System.ICloneable'. [prog.csproj] 0 Warning(s) 14 Error(s) Time Elapsed 00:00:05.08 ***Run error*** ** Compilation failed. Testing aborted **
Editor is loading...