diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-09-03 09:31:38 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2009-09-03 09:31:38 -0700 |
commit | a14f6879dfee6b2b6b74cd2a5b41a8e676f32c03 (patch) | |
tree | 665033014f3f9684f2ba391b337d07f340fdee34 | |
parent | 22cd5b99d428271139aa0005d5b3462979cc2720 (diff) | |
download | DotNetOpenAuth-a14f6879dfee6b2b6b74cd2a5b41a8e676f32c03.zip DotNetOpenAuth-a14f6879dfee6b2b6b74cd2a5b41a8e676f32c03.tar.gz DotNetOpenAuth-a14f6879dfee6b2b6b74cd2a5b41a8e676f32c03.tar.bz2 |
Fixed FxCop message.
-rw-r--r-- | src/DotNetOpenAuth/Configuration/TypeConfigurationElement.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DotNetOpenAuth/Configuration/TypeConfigurationElement.cs b/src/DotNetOpenAuth/Configuration/TypeConfigurationElement.cs index 0c350cb..c8cf2aa 100644 --- a/src/DotNetOpenAuth/Configuration/TypeConfigurationElement.cs +++ b/src/DotNetOpenAuth/Configuration/TypeConfigurationElement.cs @@ -100,7 +100,7 @@ namespace DotNetOpenAuth.Configuration { source = HttpContext.Current.Server.MapPath(source); } using (Stream xamlFile = File.OpenRead(source)) { - return this.CreateInstanceFromXaml(xamlFile); + return CreateInstanceFromXaml(xamlFile); } } else { return defaultValue; @@ -119,7 +119,7 @@ namespace DotNetOpenAuth.Configuration { /// 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); } } |