You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sources/engine/Stride.Shaders.Parser/Utility/StrideMessageCode.cs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,8 @@ static public class StrideMessageCode
10
10
publicstaticreadonlyMessageCodeWarningDeclarationCall=newMessageCode("W0201","The method invocation [{0}] calls the method [{1}] which is only declared, and not defined in class [{2}]");
11
11
publicstaticreadonlyMessageCodeWarningMissingStageKeyword=newMessageCode("W0202","The stage keyword is missing in The method declaration [{0}] in class [{1}]");
12
12
publicstaticreadonlyMessageCodeWarningUseSemanticType=newMessageCode("W0203","The generic [{0}] is not of Semantic type but was used as semantic. Change the type or change name of the generic if there is a conflict.");
13
-
13
+
publicstaticreadonlyMessageCodeWarningMissingOverrideKeyword=newMessageCode("W0204","Override keyword should be used when overriding the method declaration [{0}] in class [{1}]");
publicstaticreadonlyMessageCodeErrorFunctionRedefined=newMessageCode("E0202","There is already a function with the same signature as [{0}] in class [{1}]");
@@ -24,7 +25,6 @@ static public class StrideMessageCode
24
25
publicstaticreadonlyMessageCodeErrorExternStageVariableNotFound=newMessageCode("E0210","There is no matching instance for variable [{0}] in class [{1}]");
25
26
publicstaticreadonlyMessageCodeErrorExternStageFunctionNotFound=newMessageCode("E0211","Unable to find the virtual call [{0}] of extern class [{1}] in context [{2}]");
26
27
publicstaticreadonlyMessageCodeErrorMissingOverride=newMessageCode("E0212","There is already a method with the same signature as [{0}] in class [{1}]. Missing override keyword?");
27
-
publicstaticreadonlyMessageCodeErrorOverrideDeclaration=newMessageCode("E0213","There is no need for the override keyword when overriding the method declaration [{0}] in class [{1}]");
28
28
publicstaticreadonlyMessageCodeErrorNoMethodToOverride=newMessageCode("E0214","There is no method [{0}] to override in class [{1}]");
29
29
publicstaticreadonlyMessageCodeErrorShaderClassTypeParameter=newMessageCode("E0215","The function [{0}] has a paramater [{1}] of shader class type which is not allowed in class [{2}]");
30
30
publicstaticreadonlyMessageCodeErrorShaderClassReturnType=newMessageCode("E0216","The function [{0}] is not allowed to return a class in class [{1}]");
0 commit comments