diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-06-21 01:59:26 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-06-21 01:59:26 +0200 |
| commit | 5dc86e504cd04a1a3764561219c2a128da922484 (patch) | |
| tree | 9441328fc84fe7148a399681ccce9c319b7c4675 /src/GraphicObjects | |
| parent | ea79505023918d26b679e523fd4c17bead567430 (diff) | |
divers
Diffstat (limited to 'src/GraphicObjects')
| -rw-r--r-- | src/GraphicObjects/GraphicObject.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GraphicObjects/GraphicObject.cs b/src/GraphicObjects/GraphicObject.cs index 75fe4b63..16371e51 100644 --- a/src/GraphicObjects/GraphicObject.cs +++ b/src/GraphicObjects/GraphicObject.cs @@ -1212,9 +1212,9 @@ namespace Crow if (!string.IsNullOrEmpty (xaa.AttributeName)) name = xaa.AttributeName; } - if (value.StartsWith("{")) { + if (value.StartsWith("{",StringComparison.Ordinal)) { //binding - if (!value.EndsWith("}")) + if (!value.EndsWith("}", StringComparison.Ordinal)) throw new Exception (string.Format("GOML:Malformed binding: {0}", value)); this.Bindings.Add (new Binding (new MemberReference(this, pi), value.Substring (1, value.Length - 2))); |