Skip to content
This repository has been archived by the owner on Mar 20, 2019. It is now read-only.

Commit

Permalink
Fixed FxCop message.
Browse files Browse the repository at this point in the history
  • Loading branch information
AArnott committed Sep 3, 2009
1 parent 22cd5b9 commit a14f687
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DotNetOpenAuth/Configuration/TypeConfigurationElement.cs
Expand Up @@ -100,7 +100,7 @@ internal class TypeConfigurationElement<T> : ConfigurationElement {
source = HttpContext.Current.Server.MapPath(source);
}
using (Stream xamlFile = File.OpenRead(source)) {
return this.CreateInstanceFromXaml(xamlFile);
return CreateInstanceFromXaml(xamlFile);
}
} else {
return defaultValue;
Expand All @@ -119,7 +119,7 @@ internal class TypeConfigurationElement<T> : ConfigurationElement {
/// XamlSource attribute is never used, the PresentationFramework.dll never need
/// be present.
/// </remarks>
private T CreateInstanceFromXaml(Stream xaml) {
private static T CreateInstanceFromXaml(Stream xaml) {
return (T)XamlReader.Load(xaml);
}
}
Expand Down

0 comments on commit a14f687

Please sign in to comment.