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
if(foundResources.Length==0)thrownewInvalidOperationException(string.Format("Could not find resource named {0} in assembly {1}",resourceName,assembly.FullName));
77
+
if(foundResources.Length==0)
78
+
{
79
+
thrownewInvalidOperationException(string.Format("Could not find resource named {0} in assembly {1}",resourceName,assembly.FullName));
80
+
}
75
81
76
-
if(foundResources.Length>1)thrownewInvalidOperationException(string.Format(@"Could not find unique resource named {0} in assembly {1}.Possible candidates are: {2}",resourceName,assembly.FullName,string.Join(Environment.NewLine+"\t",foundResources)));
82
+
if(foundResources.Length>1)
83
+
{
84
+
thrownewInvalidOperationException(string.Format(@"Could not find unique resource named {0} in assembly {1}.Possible candidates are: {2}",resourceName,assembly.FullName,string.Join(Environment.NewLine+"\t",foundResources)));
0 commit comments