| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 11 | 2 | 1 | 0.972 | class_member_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 11 | 46 | src/NHibernate/Persister/Collection/CollectionPropertyMapping.cs |
| 2 | 11 | 36 | src/NHibernate/Persister/Collection/ElementPropertyMapping.cs |
| ||||
public bool TryToType(string propertyName, out IType type)
{
try
{
type = ToType(propertyName);
return true;
}
catch (Exception)
{
type = null;
return false;
}
}
|
| ||||
public bool TryToType(string propertyName, out IType outType)
{
try
{
outType = ToType(propertyName);
return true;
}
catch (Exception)
{
outType = null;
return false;
}
}
|
| |||
public bool TryToType(string propertyName, out IType [[#variable25938220]])
{
try
{
[[#variable25938220]]= ToType(propertyName);
return true;
}
catch (Exception)
{
[[#variable25938220]]= null;
return false;
}
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#25938220]] | outType |
| 1 | 2 | [[#25938220]] | type |